$codeBg: $colorBlack; $codeSelection: #363636; $codeText: #eee; $codeGrey: #616161; $codeRed: #ff6666; $codeOrange: #fd9170; $colorDarkYellow: #ffcb6b; $codeYellow: #f2ff00; $codeGreen: #a5e844; $codeBlue: #89ddff; $codeTeal: #80cbc4; $codePurple: #c792ea; code[class*="language-"], pre[class*="language-"] { text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; hyphens: none; color: inherit; text-shadow: none; font-family: 'Fira Code', monospace; font-size: 1em; line-height: 1.8; tab-size: 2; } code[class*="language-"]::-moz-selection, pre[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection, pre[class*="language-"] ::-moz-selection { text-shadow: none; opacity: 1; color: $codeText; background: $codeSelection; } code[class*="language-"]::selection, pre[class*="language-"]::selection, code[class*="language-"] ::selection, pre[class*="language-"] ::selection { text-shadow: none; opacity: 1; color: $codeText; background: $codeSelection; } @media print { code[class*="language-"], pre[class*="language-"] { text-shadow: none !important; } } :not(pre) > code[class*="language-"] { white-space: normal; color: $codeText; background: $codeBg; border-radius: 0.2em; padding: 0.1em; } pre > code[class*="language-"] { background: none; } pre[class*="language-"] { overflow: auto; position: relative; color: $codeText; background: $codeBg; border-radius: 0; margin: 0.5em 0; padding: 1.25em 1em; border-radius: 12px; } pre[class*="language-"].language-css > code, pre[class*="language-"].language-sass > code, pre[class*="language-"].language-scss > code { color: $codeOrange; } [class*="language-"] .namespace { opacity: 0.7; } .token.atrule { color: $codePurple; } .token.attr-name { color: $colorDarkYellow; } .token.attr-value { color: $codeGreen; } .token.attribute { color: $codeGreen; } .token.boolean { color: $codePurple; } .token.builtin { color: $colorDarkYellow; } .token.cdata { color: $codeTeal; } .token.char { color: $codeTeal; } .token.class { color: $colorDarkYellow; } .token.class-name { color: $codeYellow; } .token.comment { color: $codeGrey; } .token.constant { color: $codePurple; } .token.deleted { color: $codeRed; } .token.doctype { color: $codeGrey; } .token.entity { color: $codeRed; } .token.function { color: $codePurple; } .token.hexcode { color: $codeYellow; } .token.id { color: $codePurple; font-weight: bold; } .token.important { color: $codePurple; font-weight: bold; } .token.inserted { color: $codeTeal; } .token.keyword { color: $codePurple; } .token.number { color: $codeOrange; } .token.operator { color: $codeBlue; } .token.prolog { color: $codeGrey; } .token.property { color: $codeTeal; } .token.pseudo-class { color: $codeGreen; } .token.pseudo-element { color: $codeGreen; } .token.punctuation { color: $codeBlue; } .token.regex { color: $codeYellow; } .token.selector { color: $codeRed; } .token.string { color: $codeGreen; } .token.symbol { color: $codePurple; } .token.tag { color: $codeRed; } .token.unit { color: $codeOrange; } .token.url { color: $codeRed; } .token.variable { color: $codeRed; }