166 lines
2.9 KiB
CSS
Vendored
166 lines
2.9 KiB
CSS
Vendored
/**
|
|
* base16-prism (https://github.com/h404bi/base16-prism)
|
|
* @license MIT
|
|
*
|
|
* prism.js Material Darker theme for JavaScript, CSS and HTML
|
|
* @author Nate Peterson
|
|
*/
|
|
|
|
code[class*="language-"],
|
|
pre[class*="language-"] {
|
|
color: #EEFFFF; /* base05 */
|
|
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;
|
|
-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 {
|
|
color: inherit;
|
|
text-shadow: none;
|
|
background: #353535; /* base02 */
|
|
}
|
|
|
|
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
|
|
code[class*="language-"]::selection, code[class*="language-"] ::selection {
|
|
color: inherit;
|
|
text-shadow: none;
|
|
background: #353535; /* base02 */
|
|
}
|
|
|
|
@media print {
|
|
code[class*="language-"],
|
|
pre[class*="language-"] {
|
|
text-shadow: none;
|
|
}
|
|
}
|
|
|
|
/* Code blocks */
|
|
pre[class*="language-"] {
|
|
padding: 1em;
|
|
margin: .5em 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
:not(pre) > code[class*="language-"],
|
|
pre[class*="language-"] {
|
|
background: #212121; /* base00 */
|
|
}
|
|
|
|
/* Inline code */
|
|
:not(pre) > code[class*="language-"] {
|
|
padding: .1em;
|
|
border-radius: .3em;
|
|
white-space: normal;
|
|
}
|
|
|
|
.token.comment,
|
|
.token.prolog,
|
|
.token.cdata {
|
|
color: #4A4A4A; /* base03 */
|
|
}
|
|
|
|
.token.entity,
|
|
.language-css .token.string,
|
|
.style .token.string {
|
|
color: #B2CCD6; /* base04 */
|
|
background: #303030; /* base01 */
|
|
}
|
|
|
|
.token.punctuation {
|
|
color: #EEFFFF; /* base05 */
|
|
}
|
|
|
|
.token.variable,
|
|
.token.tag,
|
|
.token.operator,
|
|
.token.deleted {
|
|
color: #F07178; /* base08 */
|
|
}
|
|
|
|
.token.property,
|
|
.token.number,
|
|
.token.boolean,
|
|
.token.constant,
|
|
.token.url {
|
|
color: #F78C6C; /* base09 */
|
|
}
|
|
|
|
.token.class-name,
|
|
.token.bold {
|
|
color: #FFCB6B; /* base0A */
|
|
}
|
|
|
|
.token.string,
|
|
.token.symbol,
|
|
.token.attr-value,
|
|
.token.inserted,
|
|
.token.atrule {
|
|
color:#C3E88D; /* base0B */
|
|
}
|
|
|
|
.token.regex,
|
|
.token.important {
|
|
color: #89DDFF; /* base0C */
|
|
}
|
|
|
|
.token.function,
|
|
.token.attr-name {
|
|
color: #82AAFF; /* base0D */
|
|
}
|
|
|
|
.token.keyword,
|
|
.token.selector,
|
|
.token.italic,
|
|
.token.char,
|
|
.token.builtin {
|
|
color: #C792EA; /* base0E */
|
|
}
|
|
|
|
.token.doctype {
|
|
color: #FF5370; /* base0F */
|
|
}
|
|
|
|
.token.important,
|
|
.token.bold {
|
|
font-weight: bold;
|
|
}
|
|
.token.italic {
|
|
font-style: italic;
|
|
}
|
|
|
|
.token.entity {
|
|
cursor: help;
|
|
}
|
|
|
|
.namespace {
|
|
opacity: .7;
|
|
}
|
|
pre[class*=language-] {
|
|
border-radius: 5px;
|
|
border: none;
|
|
}
|
|
|
|
code[class*=language-],
|
|
pre[class*=language-] {
|
|
font-family: monospace;
|
|
font-size: 1.1em;
|
|
line-height: 1.2em;
|
|
}
|
|
|