Highlight.js: Adapt CSS to new CSS class reference

See http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html
This commit is contained in:
Philipp Wolfer 2016-03-08 00:29:11 +01:00
parent 9ad8d23d21
commit f2899b9437
1 changed files with 9 additions and 23 deletions

View File

@ -11,16 +11,12 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
} }
.hljs-comment, .hljs-comment,
.hljs-template_comment, .hljs-doctag {
.diff .hljs-header,
.hljs-javadoc {
color: dark-light-choose(#998, #bba); color: dark-light-choose(#998, #bba);
font-style: italic; font-style: italic;
} }
.hljs-keyword, .hljs-keyword,
.css .rule .hljs-keyword,
.hljs-winutils,
.javascript .hljs-title, .javascript .hljs-title,
.nginx .hljs-title, .nginx .hljs-title,
.hljs-subst, .hljs-subst,
@ -31,22 +27,20 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
} }
.hljs-number, .hljs-number,
.hljs-hexcolor,
.ruby .hljs-constant { .ruby .hljs-constant {
color: dark-light-choose(#099, #aff); color: dark-light-choose(#099, #aff);
} }
.hljs-string, .hljs-string,
.hljs-tag .hljs-value, .hljs-tag .hljs-string,
.hljs-phpdoc,
.tex .hljs-formula { .tex .hljs-formula {
color: dark-light-choose(#d14, #f99); color: dark-light-choose(#d14, #f99);
} }
.hljs-title, .hljs-title,
.hljs-id, .hljs-name,
.coffeescript .hljs-params, .coffeescript .hljs-params,
.scss .hljs-preprocessor { .scss .hljs-meta {
color: #900; color: #900;
font-weight: bold; font-weight: bold;
} }
@ -68,13 +62,13 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
.hljs-tag, .hljs-tag,
.hljs-tag .hljs-title, .hljs-tag .hljs-title,
.hljs-rules .hljs-property,
.django .hljs-tag .hljs-keyword { .django .hljs-tag .hljs-keyword {
color: dark-light-choose(#000080, #99f); color: dark-light-choose(#000080, #99f);
font-weight: normal; font-weight: normal;
} }
.hljs-attribute, .hljs-attribute,
.css .hljs-keyword,
.hljs-variable, .hljs-variable,
.lisp .hljs-body { .lisp .hljs-body {
color: dark-light-choose(#008080, #0ee); color: dark-light-choose(#008080, #0ee);
@ -94,16 +88,12 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
.hljs-built_in, .hljs-built_in,
.lisp .hljs-title, .lisp .hljs-title,
.clojure .hljs-built_in { .clojure .hljs-built_in,
.hljs-builtin-name {
color: #0086b3; color: #0086b3;
} }
.hljs-preprocessor, .meta {
.hljs-pragma,
.hljs-pi,
.hljs-doctype,
.hljs-shebang,
.hljs-cdata {
color: #999; color: #999;
font-weight: bold; font-weight: bold;
} }
@ -116,11 +106,7 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
background: #dfd; background: #dfd;
} }
.diff .hljs-change { .diff .hljs-meta {
background: #0086b3;
}
.hljs-chunk {
color: #aaa; color: #aaa;
} }