2020-05-22 21:03:08 +08:00
|
|
|
pre[class*="language-"],
|
|
|
|
code[class*="language-"] {
|
|
|
|
color: #d4d4d4;
|
|
|
|
font-size: 13px;
|
|
|
|
text-shadow: none;
|
2021-04-13 00:30:00 +08:00
|
|
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
2020-05-22 21:03:08 +08:00
|
|
|
direction: ltr;
|
|
|
|
text-align: left;
|
|
|
|
white-space: pre;
|
|
|
|
word-spacing: normal;
|
|
|
|
word-break: 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*="language-"]::selection,
|
2021-04-13 00:30:00 +08:00
|
|
|
code[class*="language-"]::selection {
|
2020-05-22 21:03:08 +08:00
|
|
|
text-shadow: none;
|
2021-04-13 00:30:00 +08:00
|
|
|
background: #b3d4fc;
|
2020-05-22 21:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
|
|
|
pre[class*="language-"],
|
|
|
|
code[class*="language-"] {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*="language-"] {
|
|
|
|
padding: 1em;
|
|
|
|
margin: .5em 0;
|
|
|
|
overflow: auto;
|
|
|
|
background: #1e1e1e;
|
|
|
|
}
|
|
|
|
|
|
|
|
:not(pre) > code[class*="language-"] {
|
|
|
|
padding: .1em .3em;
|
|
|
|
border-radius: .3em;
|
|
|
|
color: #db4c69;
|
|
|
|
background: #f9f2f4;
|
|
|
|
}
|
|
|
|
/*********************************************************
|
|
|
|
* Tokens
|
|
|
|
*/
|
|
|
|
.namespace {
|
|
|
|
opacity: .7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.comment,
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.prolog,
|
|
|
|
.token.doctype,
|
|
|
|
.token.cdata {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #6a9955;
|
|
|
|
}
|
|
|
|
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.punctuation {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #d4d4d4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.property,
|
|
|
|
.token.tag,
|
|
|
|
.token.boolean,
|
|
|
|
.token.number,
|
|
|
|
.token.constant,
|
|
|
|
.token.symbol,
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.deleted {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #b5cea8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.selector,
|
|
|
|
.token.attr-name,
|
|
|
|
.token.string,
|
|
|
|
.token.char,
|
|
|
|
.token.builtin,
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.inserted {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #ce9178;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.operator,
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.entity,
|
|
|
|
.token.url,
|
|
|
|
.language-css .token.string,
|
|
|
|
.style .token.string {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #d4d4d4;
|
2021-04-13 00:30:00 +08:00
|
|
|
background: #1e1e1e;
|
2020-05-22 21:03:08 +08:00
|
|
|
}
|
|
|
|
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.atrule,
|
|
|
|
.token.attr-value,
|
2020-05-22 21:03:08 +08:00
|
|
|
.token.keyword {
|
|
|
|
color: #c586c0;
|
|
|
|
}
|
|
|
|
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.function {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #dcdcaa;
|
|
|
|
}
|
|
|
|
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.regex,
|
|
|
|
.token.important,
|
|
|
|
.token.variable {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #d16969;
|
|
|
|
}
|
|
|
|
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.important,
|
|
|
|
.token.bold {
|
|
|
|
font-weight: bold;
|
2020-05-22 21:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.constant {
|
2021-04-13 00:30:00 +08:00
|
|
|
color: #9CDCFE;
|
2020-05-22 21:03:08 +08:00
|
|
|
}
|
|
|
|
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.class-name {
|
|
|
|
color: #4EC9B0;
|
2020-05-22 21:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.parameter {
|
2021-04-13 00:30:00 +08:00
|
|
|
color: #9CDCFE;
|
2020-05-22 21:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.interpolation {
|
2021-04-13 00:30:00 +08:00
|
|
|
color: #9CDCFE;
|
2020-05-22 21:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.punctuation.interpolation-punctuation {
|
|
|
|
color: #569cd6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.boolean {
|
|
|
|
color: #569cd6;
|
|
|
|
}
|
|
|
|
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.property {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #9cdcfe;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.selector {
|
|
|
|
color: #d7ba7d;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.tag {
|
|
|
|
color: #569cd6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.attr-name {
|
|
|
|
color: #9cdcfe;
|
|
|
|
}
|
|
|
|
|
2021-04-13 00:30:00 +08:00
|
|
|
.token.attr-value {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #ce9178;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.entity {
|
2021-04-13 00:30:00 +08:00
|
|
|
color: #4ec9b0;
|
|
|
|
cursor: unset;
|
2020-05-22 21:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.namespace {
|
|
|
|
color: #4ec9b0;
|
|
|
|
}
|
|
|
|
/*********************************************************
|
|
|
|
* Language Specific
|
|
|
|
*/
|
|
|
|
pre[class*="language-javascript"],
|
2021-04-13 00:30:00 +08:00
|
|
|
code[class*="language-javascript"] {
|
|
|
|
color: #4ec9b0;
|
2020-05-22 21:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*="language-css"],
|
|
|
|
code[class*="language-css"] {
|
2021-04-13 00:30:00 +08:00
|
|
|
color: #CE9178;
|
2020-05-22 21:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*="language-html"],
|
|
|
|
code[class*="language-html"] {
|
|
|
|
color: #d4d4d4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.language-html .token.punctuation {
|
|
|
|
color: #808080;
|
|
|
|
}
|
|
|
|
/*********************************************************
|
|
|
|
* Line highlighting
|
|
|
|
*/
|
|
|
|
pre[data-line] {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*="language-"] > code[class*="language-"] {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.line-highlight {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: inherit 0;
|
|
|
|
margin-top: 1em;
|
|
|
|
background: #f7ebc6;
|
|
|
|
box-shadow: inset 5px 0 0 #f7d87c;
|
|
|
|
z-index: 0;
|
|
|
|
pointer-events: none;
|
|
|
|
line-height: inherit;
|
|
|
|
white-space: pre;
|
|
|
|
}
|