crimsontome.com/css/prism-base16-monokai.dark.css

105 lines
1.6 KiB
CSS
Raw Normal View History

2022-09-17 03:03:22 +01:00
code[class*="language-"],
pre[class*="language-"] {
font-size: 14px;
line-height: 1.375;
direction: ltr;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
-moz-tab-size: 2;
-o-tab-size: 2;
tab-size: 2;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
background: #272822;
color: #f8f8f2;
2022-09-04 13:55:16 +01:00
}
pre[class*="language-"] {
2022-09-17 03:03:22 +01:00
padding: 1.5em 1.5em;
margin: 0.5em 0;
2022-09-04 13:55:16 +01:00
}
:not(pre) > code[class*="language-"] {
2022-09-17 03:03:22 +01:00
padding: 0.1em;
border-radius: 0.3em;
2022-09-04 13:55:16 +01:00
}
2022-09-17 03:03:22 +01:00
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #75715e;
2022-09-04 13:55:16 +01:00
}
.token.punctuation {
2022-09-17 03:03:22 +01:00
color: #f8f8f2;
2022-09-04 13:55:16 +01:00
}
.token.namespace {
2022-09-17 03:03:22 +01:00
opacity: 0.7;
2022-09-04 13:55:16 +01:00
}
2022-09-17 03:03:22 +01:00
.token.operator,
.token.boolean,
.token.number {
color: #fd971f;
2022-09-04 13:55:16 +01:00
}
.token.property {
2022-09-17 03:03:22 +01:00
color: #f4bf75;
2022-09-04 13:55:16 +01:00
}
.token.tag {
2022-09-17 03:03:22 +01:00
color: #66d9ef;
2022-09-04 13:55:16 +01:00
}
.token.string {
2022-09-17 03:03:22 +01:00
color: #a1efe4;
2022-09-04 13:55:16 +01:00
}
.token.selector {
2022-09-17 03:03:22 +01:00
color: #ae81ff;
2022-09-04 13:55:16 +01:00
}
.token.attr-name {
2022-09-17 03:03:22 +01:00
color: #fd971f;
}
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #a1efe4;
}
.token.attr-value,
.token.keyword,
.token.control,
.token.directive,
.token.unit {
color: #a6e22e;
}
.token.statement,
.token.regex,
.token.atrule {
color: #a1efe4;
}
.token.placeholder,
.token.variable {
color: #66d9ef;
2022-09-04 13:55:16 +01:00
}
.token.deleted {
2022-09-17 03:03:22 +01:00
text-decoration: line-through;
2022-09-04 13:55:16 +01:00
}
.token.inserted {
2022-09-17 03:03:22 +01:00
text-decoration: none;
2022-09-04 13:55:16 +01:00
}
.token.italic {
2022-09-17 03:03:22 +01:00
font-style: italic;
2022-09-04 13:55:16 +01:00
}
2022-09-17 03:03:22 +01:00
.token.important,
.token.bold {
font-weight: bold;
2022-09-04 13:55:16 +01:00
}
.token.important {
2022-09-17 03:03:22 +01:00
color: #f92672;
2022-09-04 13:55:16 +01:00
}
.token.entity {
2022-09-17 03:03:22 +01:00
cursor: help;
2022-09-04 13:55:16 +01:00
}
pre > code.highlight {
2022-09-17 03:03:22 +01:00
outline: 0.4em solid #f92672;
outline-offset: 0.4em;
2022-09-04 13:55:16 +01:00
}