This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
home.scss 3.77 KiB
Newer Older
Lukas Kaltenbrunner's avatar
Lukas Kaltenbrunner committed
/* ==========================================================================
Main page styles
========================================================================== */
.hipster {
  display: inline-block;
  width: 347px;
  height: 497px;
  background: url('../../content/images/jhipster_family_member_2.svg') no-repeat center top;
  background-size: contain;
}

/* wait autoprefixer update to allow simple generation of high pixel density media query */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (-moz-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {
  .hipster {
    background: url('../../content/images/jhipster_family_member_2.svg') no-repeat center top;
    background-size: contain;
  }
}

div.solid {
  border-style: solid;
  border-width: 1pt;
  padding: 10px;
  border-color: rgb(223, 226, 230);
}

span.info {
  font-size: 13px;
Lukas Kaltenbrunner's avatar
Lukas Kaltenbrunner committed
  color: #7f7f7f;
}

div.filter {
  margin-bottom: 20px;
  margin-top: 20px;
}


::ng-deep code[class*="language-"],
::ng-deep pre[class*="language-"] {
  color: black;
  background: none;
  text-shadow: 0 1px white;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 1em;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;

  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;

  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

::ng-deep pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
::ng-deep code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
  text-shadow: none;
  background: #b3d4fc;
}

::ng-deep pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
::ng-deep code[class*="language-"]::selection, code[class*="language-"] ::selection {
  text-shadow: none;
  background: #b3d4fc;
}

@media print {
  ::ng-deep code[class*="language-"],
  ::ng-deep pre[class*="language-"] {
    text-shadow: none;
  }
}

/* Code blocks */
::ng-deep pre[class*="language-"] {
  padding: 1em;
  margin: .5em 0;
  overflow: auto;
}

::ng-deep :not(pre) > code[class*="language-"],
::ng-deep pre[class*="language-"] {
  background: #f5f2f0;
}

/* Inline code */
::ng-deep :not(pre) > code[class*="language-"] {
  padding: .1em;
  border-radius: .3em;
  white-space: normal;
}

::ng-deep .token.comment,
::ng-deep .token.prolog,
::ng-deep .token.doctype,
::ng-deep .token.cdata {
  color: slategray;
}

::ng-deep .token.punctuation {
  color: #999;
}

::ng-deep .token.namespace {
  opacity: .7;
}

::ng-deep .token.property,
::ng-deep .token.tag,
::ng-deep .token.boolean,
::ng-deep .token.number,
::ng-deep .token.constant,
::ng-deep .token.symbol,
::ng-deep .token.deleted {
  color: #905;
}

::ng-deep .token.selector,
::ng-deep .token.attr-name,
::ng-deep .token.string,
::ng-deep .token.char,
::ng-deep .token.builtin,
::ng-deep .token.inserted {
  color: #690;
}

::ng-deep .token.operator,
::ng-deep .token.entity,
::ng-deep .token.url,
::ng-deep .language-css .token.string,
::ng-deep .style .token.string {
  color: #9a6e3a;
  /* This background color was intended by the author of this theme. */
  background: hsla(0, 0%, 100%, .5);
}

::ng-deep .token.atrule,
::ng-deep .token.attr-value,
::ng-deep .token.keyword {
  color: #07a;
}

::ng-deep .token.function,
::ng-deep .token.class-name {
  color: #DD4A68;
}

::ng-deep .token.regex,
::ng-deep .token.important,
::ng-deep .token.variable {
  color: #e90;
}

::ng-deep .token.important,
::ng-deep .token.bold {
  font-weight: bold;
}

::ng-deep .token.italic {
  font-style: italic;
}

::ng-deep .token.entity {
  cursor: help;
}

::ng-deep .strong {
  font-weight: 600 !important;
}