mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
29884d1d5c
PR-URL: https://github.com/nodejs/node/pull/52911 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Claudio Wunder <cwunder@gnome.org>
190 lines
2.6 KiB
CSS
190 lines
2.6 KiB
CSS
:not(.dark-mode) {
|
|
pre code.hljs {
|
|
display: block;
|
|
overflow-x: auto;
|
|
padding: 1em;
|
|
}
|
|
code.hljs {
|
|
padding: 3px 5px;
|
|
}
|
|
/*
|
|
|
|
Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
|
|
|
|
*/
|
|
.hljs {
|
|
background: white;
|
|
color: black;
|
|
}
|
|
.hljs-comment,
|
|
.hljs-quote,
|
|
.hljs-variable {
|
|
color: #008000;
|
|
}
|
|
.hljs-keyword,
|
|
.hljs-selector-tag,
|
|
.hljs-built_in,
|
|
.hljs-name,
|
|
.hljs-tag {
|
|
color: #00f;
|
|
}
|
|
.hljs-string,
|
|
.hljs-title,
|
|
.hljs-section,
|
|
.hljs-attribute,
|
|
.hljs-literal,
|
|
.hljs-template-tag,
|
|
.hljs-template-variable,
|
|
.hljs-type,
|
|
.hljs-addition {
|
|
color: #a31515;
|
|
}
|
|
.hljs-deletion,
|
|
.hljs-selector-attr,
|
|
.hljs-selector-pseudo,
|
|
.hljs-meta {
|
|
color: #2b91af;
|
|
}
|
|
.hljs-doctag {
|
|
color: #808080;
|
|
}
|
|
.hljs-attr {
|
|
color: #f00;
|
|
}
|
|
.hljs-symbol,
|
|
.hljs-bullet,
|
|
.hljs-link {
|
|
color: #00b0e8;
|
|
}
|
|
.hljs-emphasis {
|
|
font-style: italic;
|
|
}
|
|
.hljs-strong {
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
.dark-mode {
|
|
|
|
pre code.hljs {
|
|
display: block;
|
|
overflow-x: auto;
|
|
padding: 1em;
|
|
}
|
|
|
|
code.hljs {
|
|
padding: 3px 5px;
|
|
}
|
|
|
|
/*
|
|
* Visual Studio 2015 dark style
|
|
* Author: Nicolas LLOBERA <nllobera@gmail.com>
|
|
*/
|
|
.hljs {
|
|
background: #1E1E1E;
|
|
color: #DCDCDC;
|
|
}
|
|
|
|
.hljs-keyword,
|
|
.hljs-literal,
|
|
.hljs-symbol,
|
|
.hljs-name {
|
|
color: #569CD6;
|
|
}
|
|
|
|
.hljs-link {
|
|
color: #569CD6;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.hljs-built_in,
|
|
.hljs-type {
|
|
color: #4EC9B0;
|
|
}
|
|
|
|
.hljs-number,
|
|
.hljs-class {
|
|
color: #B8D7A3;
|
|
}
|
|
|
|
.hljs-string,
|
|
.hljs-meta .hljs-string {
|
|
color: #D69D85;
|
|
}
|
|
|
|
.hljs-regexp,
|
|
.hljs-template-tag {
|
|
color: #9A5334;
|
|
}
|
|
|
|
.hljs-subst,
|
|
.hljs-function,
|
|
.hljs-title,
|
|
.hljs-params,
|
|
.hljs-formula {
|
|
color: #DCDCDC;
|
|
}
|
|
|
|
.hljs-comment,
|
|
.hljs-quote {
|
|
color: #57A64A;
|
|
font-style: italic;
|
|
}
|
|
|
|
.hljs-doctag {
|
|
color: #608B4E;
|
|
}
|
|
|
|
.hljs-meta,
|
|
.hljs-meta .hljs-keyword,
|
|
.hljs-tag {
|
|
color: #9B9B9B;
|
|
}
|
|
|
|
.hljs-variable,
|
|
.hljs-template-variable {
|
|
color: #BD63C5;
|
|
}
|
|
|
|
.hljs-attr,
|
|
.hljs-attribute {
|
|
color: #9CDCFE;
|
|
}
|
|
|
|
.hljs-section {
|
|
color: gold;
|
|
}
|
|
|
|
.hljs-emphasis {
|
|
font-style: italic;
|
|
}
|
|
|
|
.hljs-strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
/*.hljs-code {
|
|
font-family:'Monospace';
|
|
}*/
|
|
.hljs-bullet,
|
|
.hljs-selector-tag,
|
|
.hljs-selector-id,
|
|
.hljs-selector-class,
|
|
.hljs-selector-attr,
|
|
.hljs-selector-pseudo {
|
|
color: #D7BA7D;
|
|
}
|
|
|
|
.hljs-addition {
|
|
background-color: #144212;
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
|
|
.hljs-deletion {
|
|
background-color: #600;
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
}
|