2023-12-12 01:58:47 +08:00
|
|
|
/* originally based on github.com style (c) Vasily Polovnyov <vast@whiteants.net> */
|
2014-03-26 01:13:38 +08:00
|
|
|
|
2023-12-12 01:58:47 +08:00
|
|
|
p > code,
|
|
|
|
li > code,
|
|
|
|
pre > code {
|
|
|
|
color: var(--primary-very-high);
|
|
|
|
background: var(--hljs-bg);
|
|
|
|
}
|
2014-03-26 01:13:38 +08:00
|
|
|
|
|
|
|
.hljs {
|
|
|
|
display: block;
|
|
|
|
padding: 0.5em;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-very-high);
|
2014-03-26 01:13:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-comment,
|
2023-10-19 07:07:39 +08:00
|
|
|
.hljs-doctag,
|
2023-12-12 01:57:56 +08:00
|
|
|
.hljs-code,
|
|
|
|
.hljs-meta {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--hljs-comment);
|
2014-03-26 01:13:38 +08:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-keyword,
|
|
|
|
.hljs-subst,
|
|
|
|
.hljs-request,
|
|
|
|
.hljs-status {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-very-high);
|
2014-03-26 01:13:38 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2023-12-12 01:58:47 +08:00
|
|
|
.hljs-number {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--hljs-number);
|
2014-03-26 01:13:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-string,
|
2016-03-08 07:29:11 +08:00
|
|
|
.hljs-tag .hljs-string,
|
2023-10-19 07:07:39 +08:00
|
|
|
.hljs-template-tag,
|
2023-12-12 01:57:56 +08:00
|
|
|
.hljs-template-variable,
|
|
|
|
.hljs-type {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--hljs-string);
|
2014-03-26 01:13:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-title,
|
2016-03-08 07:29:11 +08:00
|
|
|
.hljs-name,
|
2023-10-19 07:07:39 +08:00
|
|
|
.hljs-quote,
|
|
|
|
.hljs-operator,
|
|
|
|
.hljs-selector-pseudo,
|
2023-12-12 01:57:56 +08:00
|
|
|
.hljs-selector-tag,
|
|
|
|
.hljs-link {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--hljs-string);
|
2014-03-26 01:13:38 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-subst {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2023-12-12 01:57:56 +08:00
|
|
|
.hljs-literal,
|
2023-12-12 01:58:47 +08:00
|
|
|
.hljs-class .hljs-title {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--hljs-literal);
|
2014-03-26 01:13:38 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-tag,
|
2023-12-12 01:58:47 +08:00
|
|
|
.hljs-punctuation,
|
|
|
|
.hljs-tag .hljs-title {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--hljs-tag);
|
2014-03-26 01:13:38 +08:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2023-12-12 01:57:56 +08:00
|
|
|
.hljs-tag .hljs-attr,
|
|
|
|
.hljs-tag .hljs-name {
|
|
|
|
color: var(--hljs-attribute);
|
|
|
|
}
|
|
|
|
|
2014-03-26 01:13:38 +08:00
|
|
|
.hljs-attribute,
|
2023-10-19 07:07:39 +08:00
|
|
|
.hljs-selector-attr,
|
|
|
|
.hljs-selector-class,
|
|
|
|
.hljs-selector-id,
|
2023-12-12 01:58:47 +08:00
|
|
|
.hljs-variable {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--hljs-attribute);
|
2014-03-26 01:13:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-regexp {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--success);
|
2014-03-26 01:13:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-symbol,
|
|
|
|
.hljs-prompt {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--hljs-symbol);
|
2014-03-26 01:13:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-built_in,
|
2016-03-08 07:29:11 +08:00
|
|
|
.hljs-builtin-name {
|
2022-05-18 21:55:40 +08:00
|
|
|
color: var(--hljs-builtin-name);
|
2014-03-26 01:13:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-deletion {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--danger-low);
|
2014-03-26 01:13:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-addition {
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--success-low);
|
2014-03-26 01:13:38 +08:00
|
|
|
}
|
|
|
|
|
2023-10-19 07:07:39 +08:00
|
|
|
.hljs-section {
|
|
|
|
color: var(--hljs-builtin-name);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-bullet {
|
|
|
|
color: var(--hljs-attribute);
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-emphasis {
|
|
|
|
color: var(--hljs-comment);
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-strong {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|