mirror of
https://github.com/NovaOSS/nova-web.git
synced 2024-11-29 14:33:57 +01:00
120 lines
2 KiB
CSS
120 lines
2 KiB
CSS
code[class*=language-], pre[class*=language-] * {
|
|
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
}
|
|
|
|
code[class*=language-], pre[class*=language-] {
|
|
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
|
color: #f8f8f2;
|
|
background: 0 0;
|
|
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
|
|
font-size: 1em;
|
|
text-align: left;
|
|
word-spacing: normal;
|
|
word-break: normal;
|
|
word-wrap: normal;
|
|
line-height: 1.5;
|
|
white-space: pre;
|
|
-moz-tab-size: 4;
|
|
-o-tab-size: 4;
|
|
tab-size: 4;
|
|
-webkit-hyphens: none;
|
|
hyphens: none;
|
|
border-radius: 5px !important;
|
|
}
|
|
|
|
pre[class*=language-] {
|
|
width: 100%;
|
|
padding: 1rem;
|
|
margin: 0 0;
|
|
overflow: auto;
|
|
border-radius: 5px;
|
|
border-top-left-radius: 0;
|
|
}
|
|
|
|
:not(pre) > code[class*=language-],
|
|
pre[class*=language-] {
|
|
background: #252a38b1;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
:not(pre) > code[class*=language-] {
|
|
padding: 0.1em;
|
|
border-radius: 5px;
|
|
white-space: normal;
|
|
}
|
|
|
|
.token.cdata,
|
|
.token.comment,
|
|
.token.doctype,
|
|
.token.prolog {
|
|
color: #8292a2;
|
|
}
|
|
|
|
.token.punctuation {
|
|
color: #f8f8f2;
|
|
}
|
|
|
|
.token.namespace {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.token.constant,
|
|
.token.deleted,
|
|
.token.property,
|
|
.token.symbol,
|
|
.token.tag {
|
|
color: #f92672;
|
|
}
|
|
|
|
.token.boolean,
|
|
.token.number {
|
|
color: #81ffcb;
|
|
}
|
|
|
|
.token.attr-name,
|
|
.token.builtin,
|
|
.token.char,
|
|
.token.inserted,
|
|
.token.selector,
|
|
.token.string {
|
|
color: #74bbfa;
|
|
}
|
|
|
|
.language-css .token.string,
|
|
.style .token.string,
|
|
.token.entity,
|
|
.token.operator,
|
|
.token.url,
|
|
.token.variable {
|
|
color: #f8f8f2;
|
|
}
|
|
|
|
.token.atrule,
|
|
.token.attr-value,
|
|
.token.class-name,
|
|
.token.function {
|
|
color: #e6db74;
|
|
}
|
|
|
|
.token.keyword {
|
|
color: #ef66a8;
|
|
}
|
|
|
|
.token.important,
|
|
.token.regex {
|
|
color: #fd971f;
|
|
}
|
|
|
|
.token.bold,
|
|
.token.important {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.token.italic {
|
|
/* font-style: normal !important */
|
|
}
|
|
|
|
.token.entity {
|
|
cursor: help;
|
|
}
|
|
|