From d939c4790e25b1a444c416327d568ea9013396e0 Mon Sep 17 00:00:00 2001 From: J.D. Fitz.Gerald Date: Fri, 28 Feb 2014 16:22:36 +0000 Subject: updated highlight.js to v8.0 --- lib/css/zenburn.css | 145 +++++++++++++++++++++++++++------------------------- 1 file changed, 74 insertions(+), 71 deletions(-) (limited to 'lib/css') diff --git a/lib/css/zenburn.css b/lib/css/zenburn.css index ab74139..f6cb098 100644 --- a/lib/css/zenburn.css +++ b/lib/css/zenburn.css @@ -5,110 +5,113 @@ based on dark.css by Ivan Sagalaev */ -pre code { +.hljs { display: block; padding: 0.5em; background: #3F3F3F; color: #DCDCDC; } -pre .keyword, -pre .tag, -pre .css .class, -pre .css .id, -pre .lisp .title, -pre .nginx .title, -pre .request, -pre .status, -pre .clojure .attribute { +.hljs-keyword, +.hljs-tag, +.css .hljs-class, +.css .hljs-id, +.lisp .hljs-title, +.nginx .hljs-title, +.hljs-request, +.hljs-status, +.clojure .hljs-attribute { color: #E3CEAB; } -pre .django .template_tag, -pre .django .variable, -pre .django .filter .argument { +.django .hljs-template_tag, +.django .hljs-variable, +.django .hljs-filter .hljs-argument { color: #DCDCDC; } -pre .number, -pre .date { +.hljs-number, +.hljs-date { color: #8CD0D3; } -pre .dos .envvar, -pre .dos .stream, -pre .variable, -pre .apache .sqbracket { +.dos .hljs-envvar, +.dos .hljs-stream, +.hljs-variable, +.apache .hljs-sqbracket { color: #EFDCBC; } -pre .dos .flow, -pre .diff .change, -pre .python .exception, -pre .python .built_in, -pre .literal, -pre .tex .special { +.dos .hljs-flow, +.diff .hljs-change, +.python .exception, +.python .hljs-built_in, +.hljs-literal, +.tex .hljs-special { color: #EFEFAF; } -pre .diff .chunk, -pre .subst { +.diff .hljs-chunk, +.hljs-subst { color: #8F8F8F; } -pre .dos .keyword, -pre .python .decorator, -pre .title, -pre .haskell .type, -pre .diff .header, -pre .ruby .class .parent, -pre .apache .tag, -pre .nginx .built_in, -pre .tex .command, -pre .prompt { +.dos .hljs-keyword, +.python .hljs-decorator, +.hljs-title, +.haskell .hljs-type, +.diff .hljs-header, +.ruby .hljs-class .hljs-parent, +.apache .hljs-tag, +.nginx .hljs-built_in, +.tex .hljs-command, +.hljs-prompt { color: #efef8f; } -pre .dos .winutils, -pre .ruby .symbol, -pre .ruby .symbol .string, -pre .ruby .string { +.dos .hljs-winutils, +.ruby .hljs-symbol, +.ruby .hljs-symbol .hljs-string, +.ruby .hljs-string { color: #DCA3A3; } -pre .diff .deletion, -pre .string, -pre .tag .value, -pre .preprocessor, -pre .built_in, -pre .sql .aggregate, -pre .javadoc, -pre .smalltalk .class, -pre .smalltalk .localvars, -pre .smalltalk .array, -pre .css .rules .value, -pre .attr_selector, -pre .pseudo, -pre .apache .cbracket, -pre .tex .formula { +.diff .hljs-deletion, +.hljs-string, +.hljs-tag .hljs-value, +.hljs-preprocessor, +.hljs-pragma, +.hljs-built_in, +.sql .hljs-aggregate, +.hljs-javadoc, +.smalltalk .hljs-class, +.smalltalk .hljs-localvars, +.smalltalk .hljs-array, +.css .hljs-rules .hljs-value, +.hljs-attr_selector, +.hljs-pseudo, +.apache .hljs-cbracket, +.tex .hljs-formula, +.coffeescript .hljs-attribute { color: #CC9393; } -pre .shebang, -pre .diff .addition, -pre .comment, -pre .java .annotation, -pre .template_comment, -pre .pi, -pre .doctype { +.hljs-shebang, +.diff .hljs-addition, +.hljs-comment, +.java .hljs-annotation, +.hljs-template_comment, +.hljs-pi, +.hljs-doctype { color: #7F9F7F; } -pre .coffeescript .javascript, -pre .javascript .xml, -pre .tex .formula, -pre .xml .javascript, -pre .xml .vbscript, -pre .xml .css, -pre .xml .cdata { +.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 +} + -- cgit v1.2.3 From 2de01e3219144c52342d6076b5c0f87e606b1380 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 30 Jun 2015 09:27:11 +0200 Subject: update highlight.js theme --- lib/css/zenburn.css | 48 +++++++++++++++++++++++------------------------- 1 file changed, 23 insertions(+), 25 deletions(-) (limited to 'lib/css') diff --git a/lib/css/zenburn.css b/lib/css/zenburn.css index f6cb098..a7ed95e 100644 --- a/lib/css/zenburn.css +++ b/lib/css/zenburn.css @@ -1,14 +1,15 @@ /* - Zenburn style from voldmar.ru (c) Vladimir Epifanov based on dark.css by Ivan Sagalaev - */ .hljs { - display: block; padding: 0.5em; - background: #3F3F3F; - color: #DCDCDC; + display: block; + overflow-x: auto; + padding: 0.5em; + background: #3f3f3f; + color: #dcdcdc; + -webkit-text-size-adjust: none; } .hljs-keyword, @@ -20,25 +21,26 @@ based on dark.css by Ivan Sagalaev .hljs-request, .hljs-status, .clojure .hljs-attribute { - color: #E3CEAB; + color: #e3ceab; } .django .hljs-template_tag, .django .hljs-variable, .django .hljs-filter .hljs-argument { - color: #DCDCDC; + color: #dcdcdc; } .hljs-number, .hljs-date { - color: #8CD0D3; + color: #8cd0d3; } .dos .hljs-envvar, .dos .hljs-stream, .hljs-variable, -.apache .hljs-sqbracket { - color: #EFDCBC; +.apache .hljs-sqbracket, +.hljs-name { + color: #efdcbc; } .dos .hljs-flow, @@ -47,32 +49,32 @@ based on dark.css by Ivan Sagalaev .python .hljs-built_in, .hljs-literal, .tex .hljs-special { - color: #EFEFAF; + color: #efefaf; } .diff .hljs-chunk, .hljs-subst { - color: #8F8F8F; + color: #8f8f8f; } .dos .hljs-keyword, -.python .hljs-decorator, +.hljs-decorator, .hljs-title, -.haskell .hljs-type, +.hljs-type, .diff .hljs-header, .ruby .hljs-class .hljs-parent, .apache .hljs-tag, .nginx .hljs-built_in, .tex .hljs-command, .hljs-prompt { - color: #efef8f; + color: #efef8f; } .dos .hljs-winutils, .ruby .hljs-symbol, .ruby .hljs-symbol .hljs-string, .ruby .hljs-string { - color: #DCA3A3; + color: #dca3a3; } .diff .hljs-deletion, @@ -81,28 +83,25 @@ based on dark.css by Ivan Sagalaev .hljs-preprocessor, .hljs-pragma, .hljs-built_in, -.sql .hljs-aggregate, -.hljs-javadoc, .smalltalk .hljs-class, .smalltalk .hljs-localvars, .smalltalk .hljs-array, -.css .hljs-rules .hljs-value, +.css .hljs-rule .hljs-value, .hljs-attr_selector, .hljs-pseudo, .apache .hljs-cbracket, .tex .hljs-formula, .coffeescript .hljs-attribute { - color: #CC9393; + color: #cc9393; } .hljs-shebang, .diff .hljs-addition, .hljs-comment, -.java .hljs-annotation, -.hljs-template_comment, +.hljs-annotation, .hljs-pi, .hljs-doctype { - color: #7F9F7F; + color: #7f9f7f; } .coffeescript .javascript, @@ -113,5 +112,4 @@ based on dark.css by Ivan Sagalaev .xml .css, .xml .hljs-cdata { opacity: 0.5; -} - +} \ No newline at end of file -- cgit v1.2.3