2014-03-26 01:13:38 +08:00
|
|
|
/*
|
|
|
|
|
|
|
|
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
.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,
|
2016-03-08 07:29:11 +08:00
|
|
|
.hljs-doctag {
|
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,
|
|
|
|
.javascript .hljs-title,
|
|
|
|
.nginx .hljs-title,
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-number,
|
|
|
|
.ruby .hljs-constant {
|
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,
|
2014-03-26 01:13:38 +08:00
|
|
|
.tex .hljs-formula {
|
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,
|
2014-03-26 01:13:38 +08:00
|
|
|
.coffeescript .hljs-params,
|
2016-03-08 07:29:11 +08:00
|
|
|
.scss .hljs-meta {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--hljs-string);
|
2014-03-26 01:13:38 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.javascript .hljs-title,
|
|
|
|
.lisp .hljs-title,
|
|
|
|
.clojure .hljs-title,
|
|
|
|
.hljs-subst {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-class .hljs-title,
|
|
|
|
.haskell .hljs-type,
|
|
|
|
.vhdl .hljs-literal,
|
|
|
|
.tex .hljs-command {
|
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,
|
|
|
|
.hljs-tag .hljs-title,
|
|
|
|
.django .hljs-tag .hljs-keyword {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--hljs-tag);
|
2014-03-26 01:13:38 +08:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-attribute,
|
2016-03-08 07:29:11 +08:00
|
|
|
.css .hljs-keyword,
|
2014-03-26 01:13:38 +08:00
|
|
|
.hljs-variable,
|
|
|
|
.lisp .hljs-body {
|
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,
|
|
|
|
.ruby .hljs-symbol .hljs-string,
|
|
|
|
.lisp .hljs-keyword,
|
|
|
|
.tex .hljs-special,
|
|
|
|
.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,
|
|
|
|
.lisp .hljs-title,
|
2016-03-08 07:29:11 +08:00
|
|
|
.clojure .hljs-built_in,
|
|
|
|
.hljs-builtin-name {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--tertiary-high);
|
2014-03-26 01:13:38 +08:00
|
|
|
}
|
|
|
|
|
2016-03-08 07:29:11 +08:00
|
|
|
.meta {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-medium);
|
2014-03-26 01:13:38 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
2016-03-08 07:29:11 +08:00
|
|
|
.diff .hljs-meta {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-low);
|
2013-10-22 04:55:16 +08:00
|
|
|
}
|
2014-03-28 02:42:29 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
| SHOULD NOT BE REMOVED |
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
p > code,
|
|
|
|
li > code,
|
|
|
|
pre > code {
|
2022-04-07 04:16:19 +08:00
|
|
|
color: var(--danger);
|
|
|
|
background: var(--secondary-very-high);
|
|
|
|
padding: 3px 5px 2px 5px;
|
|
|
|
border-radius: 5px;
|
2014-03-28 02:42:29 +08:00
|
|
|
}
|
|
|
|
|
2015-02-02 17:53:24 +08:00
|
|
|
// removed some unnecessary styles here
|