2014-03-25 13:13:38 -04:00
|
|
|
/*
|
|
|
|
|
|
|
|
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
.hljs {
|
|
|
|
display: block;
|
|
|
|
padding: 0.5em;
|
2015-08-18 15:23:06 -04:00
|
|
|
color: dark-light-choose(#333, #f8f8f8);
|
2014-03-25 13:13:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-comment,
|
2016-03-07 18:29:11 -05:00
|
|
|
.hljs-doctag {
|
2015-08-18 18:02:41 -04:00
|
|
|
color: dark-light-choose(#998, #bba);
|
2014-03-25 13:13:38 -04:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-keyword,
|
|
|
|
.javascript .hljs-title,
|
|
|
|
.nginx .hljs-title,
|
|
|
|
.hljs-subst,
|
|
|
|
.hljs-request,
|
|
|
|
.hljs-status {
|
2015-08-18 15:23:06 -04:00
|
|
|
color: dark-light-choose(#333, #f8f8f8);
|
2014-03-25 13:13:38 -04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-number,
|
|
|
|
.ruby .hljs-constant {
|
2015-08-18 18:02:41 -04:00
|
|
|
color: dark-light-choose(#099, #aff);
|
2014-03-25 13:13:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-string,
|
2016-03-07 18:29:11 -05:00
|
|
|
.hljs-tag .hljs-string,
|
2014-03-25 13:13:38 -04:00
|
|
|
.tex .hljs-formula {
|
2015-08-18 18:02:41 -04:00
|
|
|
color: dark-light-choose(#d14, #f99);
|
2014-03-25 13:13:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-title,
|
2016-03-07 18:29:11 -05:00
|
|
|
.hljs-name,
|
2014-03-25 13:13:38 -04:00
|
|
|
.coffeescript .hljs-params,
|
2016-03-07 18:29:11 -05:00
|
|
|
.scss .hljs-meta {
|
2017-12-04 10:28:32 -05:00
|
|
|
color: dark-light-choose(#d14, #f99);
|
2014-03-25 13:13:38 -04: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 {
|
2018-06-08 05:49:31 -04:00
|
|
|
color: dark-light-choose(#458, #9ae);
|
2014-03-25 13:13:38 -04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-tag,
|
|
|
|
.hljs-tag .hljs-title,
|
|
|
|
.django .hljs-tag .hljs-keyword {
|
2015-08-18 15:23:06 -04:00
|
|
|
color: dark-light-choose(#000080, #99f);
|
2014-03-25 13:13:38 -04:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-attribute,
|
2016-03-07 18:29:11 -05:00
|
|
|
.css .hljs-keyword,
|
2014-03-25 13:13:38 -04:00
|
|
|
.hljs-variable,
|
|
|
|
.lisp .hljs-body {
|
2015-08-18 15:23:06 -04:00
|
|
|
color: dark-light-choose(#008080, #0ee);
|
2014-03-25 13:13:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-regexp {
|
2018-12-06 10:54:30 -05:00
|
|
|
color: $success;
|
2014-03-25 13:13:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-symbol,
|
|
|
|
.ruby .hljs-symbol .hljs-string,
|
|
|
|
.lisp .hljs-keyword,
|
|
|
|
.tex .hljs-special,
|
|
|
|
.hljs-prompt {
|
2015-08-18 18:02:41 -04:00
|
|
|
color: dark-light-choose(#990073, #fbe);
|
2014-03-25 13:13:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-built_in,
|
|
|
|
.lisp .hljs-title,
|
2016-03-07 18:29:11 -05:00
|
|
|
.clojure .hljs-built_in,
|
|
|
|
.hljs-builtin-name {
|
2018-12-06 10:54:30 -05:00
|
|
|
color: $tertiary-high;
|
2014-03-25 13:13:38 -04:00
|
|
|
}
|
|
|
|
|
2016-03-07 18:29:11 -05:00
|
|
|
.meta {
|
2018-12-06 10:54:30 -05:00
|
|
|
color: $primary-medium;
|
2014-03-25 13:13:38 -04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-deletion {
|
2018-12-06 10:54:30 -05:00
|
|
|
background: $danger-low;
|
2014-03-25 13:13:38 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-addition {
|
2018-12-06 10:54:30 -05:00
|
|
|
background: $success-low;
|
2014-03-25 13:13:38 -04:00
|
|
|
}
|
|
|
|
|
2016-03-07 18:29:11 -05:00
|
|
|
.diff .hljs-meta {
|
2018-12-06 10:54:30 -05:00
|
|
|
color: $primary-low;
|
2013-10-21 16:55:16 -04:00
|
|
|
}
|
2014-03-27 14:42:29 -04:00
|
|
|
|
|
|
|
/*
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
| SHOULD NOT BE REMOVED |
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
p > code,
|
|
|
|
li > code,
|
|
|
|
pre > code {
|
2015-08-18 15:23:06 -04:00
|
|
|
color: dark-light-choose(#333, #f8f8f8);
|
|
|
|
background: dark-light-choose(#f8f8f8, #333);
|
2014-03-27 14:42:29 -04:00
|
|
|
}
|
|
|
|
|
2015-02-02 04:53:24 -05:00
|
|
|
// removed some unnecessary styles here
|