96 lines
1.5 KiB
CSS
96 lines
1.5 KiB
CSS
@charset "UTF-8";
|
|
/**
|
|
* prism.js Dark theme for JavaScript, CSS and HTML
|
|
* Based on the slides of the talk “/Reg(exp){2}lained/”
|
|
* @author Lea Verou
|
|
* Copied from https://github.com/PrismJS/prism/blob/master/themes/prism-dark.css
|
|
*/
|
|
:root {
|
|
--code-c-text: #fff;
|
|
--code-c-bg: #4d4033;
|
|
--code-c-highlight-bg: #5b4a38;
|
|
--code-c-line-number: rgba(255, 255, 255, 0.67);
|
|
}
|
|
|
|
div[class*=language-] pre {
|
|
text-shadow: 0 -0.1em 0.2em #000;
|
|
}
|
|
@media print {
|
|
div[class*=language-] pre {
|
|
text-shadow: none;
|
|
}
|
|
}
|
|
div[class*=language-] pre ::selection {
|
|
background: rgba(29, 59, 83, 0.99);
|
|
text-shadow: none;
|
|
}
|
|
|
|
.token.comment,
|
|
.token.prolog,
|
|
.token.doctype,
|
|
.token.cdata {
|
|
color: hsl(30, 20%, 50%);
|
|
}
|
|
|
|
.token.punctuation {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.token.namespace {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.token.property,
|
|
.token.tag,
|
|
.token.boolean,
|
|
.token.number,
|
|
.token.constant,
|
|
.token.symbol {
|
|
color: hsl(350, 40%, 70%);
|
|
}
|
|
|
|
.token.selector,
|
|
.token.attr-name,
|
|
.token.string,
|
|
.token.char,
|
|
.token.builtin,
|
|
.token.inserted {
|
|
color: hsl(75, 70%, 60%);
|
|
}
|
|
|
|
.token.operator,
|
|
.token.entity,
|
|
.token.url,
|
|
.language-css .token.string,
|
|
.style .token.string,
|
|
.token.variable {
|
|
color: hsl(40, 90%, 60%);
|
|
}
|
|
|
|
.token.atrule,
|
|
.token.attr-value,
|
|
.token.keyword {
|
|
color: hsl(350, 40%, 70%);
|
|
}
|
|
|
|
.token.regex,
|
|
.token.important {
|
|
color: #e90;
|
|
}
|
|
|
|
.token.important,
|
|
.token.bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.token.italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
.token.entity {
|
|
cursor: help;
|
|
}
|
|
|
|
.token.deleted {
|
|
color: #f00;
|
|
} |