2021-05-05 20:31:52 +02:00
|
|
|
/* PrismJS 1.23.0
|
|
|
|
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+diff+rust+typescript+yaml&plugins=autolinker+diff-highlight */
|
2019-12-28 21:40:38 +01:00
|
|
|
/**
|
|
|
|
* prism.js default theme for JavaScript, CSS and HTML
|
|
|
|
* Based on dabblet (http://dabblet.com)
|
|
|
|
* @author Lea Verou
|
|
|
|
*/
|
|
|
|
|
2021-05-05 20:31:52 +02:00
|
|
|
code[class*="language-"],
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
|
|
|
|
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
|
|
|
|
text-shadow: none;
|
|
|
|
background: #b3d4fc;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
2021-05-05 20:31:52 +02:00
|
|
|
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
|
|
|
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
|
|
|
text-shadow: none;
|
|
|
|
background: #b3d4fc;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media print {
|
2021-05-05 20:31:52 +02:00
|
|
|
code[class*="language-"],
|
|
|
|
pre[class*="language-"] {
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Code blocks */
|
2021-05-05 20:31:52 +02:00
|
|
|
pre[class*="language-"] {
|
|
|
|
padding: 1em;
|
|
|
|
margin: .5em 0;
|
|
|
|
overflow: auto;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
2021-05-05 20:31:52 +02:00
|
|
|
:not(pre) > code[class*="language-"],
|
|
|
|
pre[class*="language-"] {
|
|
|
|
background: #f5f2f0;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Inline code */
|
2021-05-05 20:31:52 +02:00
|
|
|
:not(pre) > code[class*="language-"] {
|
|
|
|
padding: .1em;
|
|
|
|
border-radius: .3em;
|
|
|
|
white-space: normal;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.comment,
|
|
|
|
.token.prolog,
|
|
|
|
.token.doctype,
|
|
|
|
.token.cdata {
|
2021-05-05 20:31:52 +02:00
|
|
|
color: slategray;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.punctuation {
|
2021-05-05 20:31:52 +02:00
|
|
|
color: #999;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
2021-05-05 20:31:52 +02:00
|
|
|
.token.namespace {
|
|
|
|
opacity: .7;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.property,
|
|
|
|
.token.tag,
|
|
|
|
.token.boolean,
|
|
|
|
.token.number,
|
|
|
|
.token.constant,
|
|
|
|
.token.symbol,
|
|
|
|
.token.deleted {
|
2021-05-05 20:31:52 +02:00
|
|
|
color: #905;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.selector,
|
|
|
|
.token.attr-name,
|
|
|
|
.token.string,
|
|
|
|
.token.char,
|
|
|
|
.token.builtin,
|
|
|
|
.token.inserted {
|
2021-05-05 20:31:52 +02:00
|
|
|
color: #690;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.operator,
|
|
|
|
.token.entity,
|
|
|
|
.token.url,
|
|
|
|
.language-css .token.string,
|
|
|
|
.style .token.string {
|
2021-05-05 20:31:52 +02:00
|
|
|
color: #9a6e3a;
|
|
|
|
/* This background color was intended by the author of this theme. */
|
|
|
|
background: hsla(0, 0%, 100%, .5);
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.atrule,
|
|
|
|
.token.attr-value,
|
|
|
|
.token.keyword {
|
2021-05-05 20:31:52 +02:00
|
|
|
color: #07a;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.function,
|
|
|
|
.token.class-name {
|
2021-05-05 20:31:52 +02:00
|
|
|
color: #DD4A68;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.regex,
|
|
|
|
.token.important,
|
|
|
|
.token.variable {
|
2021-05-05 20:31:52 +02:00
|
|
|
color: #e90;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.important,
|
|
|
|
.token.bold {
|
2021-05-05 20:31:52 +02:00
|
|
|
font-weight: bold;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
.token.italic {
|
2021-05-05 20:31:52 +02:00
|
|
|
font-style: italic;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.entity {
|
2021-05-05 20:31:52 +02:00
|
|
|
cursor: help;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.token a {
|
2021-05-05 20:31:52 +02:00
|
|
|
color: inherit;
|
2019-12-28 21:40:38 +01:00
|
|
|
}
|
2021-05-05 20:31:52 +02:00
|
|
|
pre.diff-highlight > code .token.deleted:not(.prefix),
|
|
|
|
pre > code.diff-highlight .token.deleted:not(.prefix) {
|
|
|
|
background-color: rgba(255, 0, 0, .1);
|
|
|
|
color: inherit;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.diff-highlight > code .token.inserted:not(.prefix),
|
|
|
|
pre > code.diff-highlight .token.inserted:not(.prefix) {
|
|
|
|
background-color: rgba(0, 255, 128, .1);
|
|
|
|
color: inherit;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|