diff options
Diffstat (limited to 'theme/stylesheets/book/highlight.less')
-rw-r--r-- | theme/stylesheets/book/highlight.less | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/theme/stylesheets/book/highlight.less b/theme/stylesheets/book/highlight.less new file mode 100644 index 0000000..33e0040 --- /dev/null +++ b/theme/stylesheets/book/highlight.less @@ -0,0 +1,90 @@ +/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ + +/* Tomorrow Comment */ +.hljs-comment { + color: hsl(207, 35%, 35%); +} + +/* Tomorrow Red */ +.hljs-variable, +.hljs-attribute, +.hljs-tag, +.hljs-regexp, +.ruby .hljs-constant, +.xml .hljs-tag .hljs-title, +.xml .hljs-pi, +.xml .hljs-doctype, +.html .hljs-doctype, +.css .hljs-id, +.css .hljs-class, +.css .hljs-pseudo { + color: #c82829; +} + +/* Tomorrow Orange */ +.hljs-number, +.hljs-preprocessor, +.hljs-pragma, +.hljs-built_in, +.hljs-literal, +.hljs-constant, +.hljs-function .hljs-title { + color: hsl(50, 100%, 60%); +} + +/* Tomorrow Yellow */ +.ruby .hljs-class .hljs-title, +.css .hljs-rules .hljs-attribute { + color: #eab700; +} + +/* Tomorrow Green */ +.hljs-string, +.hljs-value, +.hljs-inheritance, +.hljs-header, +.ruby .hljs-symbol, +.xml .hljs-cdata { + color: hsl(0, 100%, 70%); +} + +/* Tomorrow Aqua */ +.css .hljs-hexcolor { + color: #3e999f; +} + +/* Tomorrow Blue */ +.hljs-function .keyword, +.python .hljs-decorator, +.python .hljs-title, +.ruby .hljs-function .hljs-title, +.ruby .hljs-title .hljs-keyword, +.perl .hljs-sub, +.javascript .hljs-title, +.coffeescript .hljs-title { + color: hsl(207, 70%, 60%); +} + +/* Tomorrow Purple */ +.hljs-keyword, +.javascript .hljs-function { + color: hsl(207, 95%, 70%); +} + +.hljs { + display: block; + background: white; + color: #4d4d4c; + padding: 0.5em; + font-family: "Anonymous Pro", "Inconsolata", "Monaco", monospace; +} + +.coffeescript .javascript, +.javascript .xml, +.tex .hljs-formula, +.xml .javascript, +.xml .vbscript, +.xml .css, +.xml .hljs-cdata { + opacity: 0.5; +}
\ No newline at end of file |