.light code[class*="language-"],
.light pre[class*="language-"] {
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  color: #eee;
  background: #2f2f2f;
  /* font-family: Roboto Mono, monospace; */
  font-size: 1.4rem;
  line-height: 2rem;

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

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

.light code[class*="language-"]::-moz-selection,
.light pre[class*="language-"]::-moz-selection,
.light code[class*="language-"] ::-moz-selection,
.light pre[class*="language-"] ::-moz-selection {
  background: #b2b2b2;
}

.light code[class*="language-"]::selection,
.light pre[class*="language-"]::selection,
.light code[class*="language-"] ::selection,
.light pre[class*="language-"] ::selection {
  background: #b2b2b2;
}

.light :not(pre)>code[class*="language-"] {
  white-space: normal;
  border-radius: 0.2em;
  padding: 0.1em;
}

.light pre[class*="language-"] {
  overflow: auto;
  position: relative;
  margin: 0.5em 0;
  padding: 0.5em 1em;
}

.light .language-css>code,
.light .language-sass>code,
.light .language-scss>code {
  color: #fd9170;
}

.light [class*="language-"] .namespace {
  opacity: 0.7;
}

.light .token.atrule {
  color: #c792ea;
}

.light .token.attr-name {
  color: #ffcb6b;
}

.light .token.attr-value {
  color: #a5e844;
}

.light .token.attribute {
  color: #a5e844;
}

.light .token.boolean {
  color: #c792ea;
}

.light .token.builtin {
  color: #ffcb6b;
}

.light .token.cdata {
  color: #80cbc4;
}

.light .token.char {
  color: #80cbc4;
}

.light .token.class {
  color: #ffcb6b;
}

.light .token.class-name {
  color: #f2ff00;
}

.light .token.comment {
  color: #959da5;
}

.light .token.constant {
  color: #c792ea;
}

.light .token.deleted {
  color: #ff6666;
}

.light .token.doctype {
  color: #616161;
}

.light .token.entity {
  color: #ff6666;
}

.light .token.function {
  color: #c792ea;
}

.light .token.hexcode {
  color: #f2ff00;
}

.light .token.id {
  color: #c792ea;
  font-weight: bold;
}

.light .token.important {
  color: #c792ea;
  font-weight: bold;
}

.light .token.inserted {
  color: #80cbc4;
}

.light .token.keyword {
  color: #c792ea;
}

.light .token.number {
  color: #fd9170;
}

.light .token.operator {
  color: #89ddff;
}

.light .token.prolog {
  color: #616161;
}

.light .token.property {
  color: #80cbc4;
}

.light .token.pseudo-class {
  color: #a5e844;
}

.light .token.pseudo-element {
  color: #a5e844;
}

.light .token.punctuation {
  color: #89ddff;
}

.light .token.regex {
  color: #f2ff00;
}

.light .token.selector {
  color: #ff6666;
}

.light .token.string {
  color: #a5e844;
}

.light .token.symbol {
  color: #c792ea;
}

.light .token.tag {
  color: #ff6666;
}

.light .token.unit {
  color: #fd9170;
}

.light .token.url {
  color: #ff6666;
}

.light .token.variable {
  color: #ff6666;
}


/* 修复行号 */
.light pre[class*=language-].line-numbers {
  position: relative;
  padding-left: 2.8em;
  counter-reset: linenumber
}

.light pre[class*=language-].line-numbers>code {
  position: relative;
  white-space: inherit
}

.light .line-numbers .line-numbers-rows {
  position: absolute;
  pointer-events: none;
  top: -0.2em;
  font-size: 100%;
  left: -2.8em;
  width: 2em;
  letter-spacing: -1px;
  border-right: 1px solid #999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none
}

.light .line-numbers-rows>span {
  pointer-events: none;
  display: block;
  counter-increment: linenumber
}

.light .line-numbers-rows>span:before {
  content: counter(linenumber);
  color: #999;
  display: block;
  padding-right: .8em;
  text-align: right
}

