2019-10-08 09:57:05 +08:00
|
|
|
/**
|
|
|
|
* Dracula Theme originally by Zeno Rocha [@zenorocha]
|
|
|
|
* https://draculatheme.com/
|
|
|
|
*
|
|
|
|
* Ported for PrismJS by Albert Vallverdu [@byverdu]
|
|
|
|
*/
|
|
|
|
|
|
|
|
code[class*="language-"],
|
|
|
|
pre[class*="language-"] {
|
|
|
|
color: #f8f8f2;
|
|
|
|
background: none;
|
|
|
|
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
|
|
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
|
|
|
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;
|
2020-05-22 21:03:08 +08:00
|
|
|
hyphens: none;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
/* Code blocks */
|
|
|
|
pre[class*="language-"] {
|
|
|
|
padding: 1em;
|
|
|
|
margin: .5em 0;
|
|
|
|
overflow: auto;
|
2020-05-22 21:03:08 +08:00
|
|
|
border-radius: 0.3em;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
:not(pre) > code[class*="language-"],
|
|
|
|
pre[class*="language-"] {
|
2020-05-22 21:03:08 +08:00
|
|
|
background: #282a36;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
/* Inline code */
|
|
|
|
:not(pre) > code[class*="language-"] {
|
|
|
|
padding: .1em;
|
|
|
|
border-radius: .3em;
|
2020-05-22 21:03:08 +08:00
|
|
|
white-space: normal;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.comment,
|
|
|
|
.token.prolog,
|
|
|
|
.token.doctype,
|
|
|
|
.token.cdata {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #6272a4;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.punctuation {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #f8f8f2;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.namespace {
|
2020-05-22 21:03:08 +08:00
|
|
|
opacity: .7;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.property,
|
|
|
|
.token.tag,
|
|
|
|
.token.constant,
|
|
|
|
.token.symbol,
|
|
|
|
.token.deleted {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #ff79c6;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.boolean,
|
|
|
|
.token.number {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #bd93f9;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.selector,
|
|
|
|
.token.attr-name,
|
|
|
|
.token.string,
|
|
|
|
.token.char,
|
|
|
|
.token.builtin,
|
|
|
|
.token.inserted {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #50fa7b;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.operator,
|
|
|
|
.token.entity,
|
|
|
|
.token.url,
|
|
|
|
.language-css .token.string,
|
|
|
|
.style .token.string,
|
|
|
|
.token.variable {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #f8f8f2;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.atrule,
|
|
|
|
.token.attr-value,
|
|
|
|
.token.function,
|
|
|
|
.token.class-name {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #f1fa8c;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.keyword {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #8be9fd;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.regex,
|
|
|
|
.token.important {
|
2020-05-22 21:03:08 +08:00
|
|
|
color: #ffb86c;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.important,
|
|
|
|
.token.bold {
|
2020-05-22 21:03:08 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.italic {
|
2020-05-22 21:03:08 +08:00
|
|
|
font-style: italic;
|
|
|
|
}
|
2019-10-08 09:57:05 +08:00
|
|
|
|
|
|
|
.token.entity {
|
2020-05-22 21:03:08 +08:00
|
|
|
cursor: help;
|
|
|
|
}
|