From 20661300e70c18555a4067efe9c1fd487e2002e0 Mon Sep 17 00:00:00 2001 From: Evan Steinkerchner Date: Fri, 10 Jun 2016 17:17:58 -0400 Subject: [PATCH] Set up solarized-dark theme to only work under the solarized-dark class --- static/themes.css | 131 +++++++++++++++++++++++----------------------- 1 file changed, 66 insertions(+), 65 deletions(-) diff --git a/static/themes.css b/static/themes.css index ffa070d..e56dac7 100644 --- a/static/themes.css +++ b/static/themes.css @@ -1,100 +1,101 @@ /* + * + * Solarized Dark + * Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull + * + */ -Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull - -*/ - -pre code { +solarized-dark pre code { display: block; padding: 0.5em; background: #002b36; color: #92a0a0; } -pre .comment, -pre .template_comment, -pre .diff .header, -pre .doctype, -pre .lisp .string, -pre .javadoc { +solarized-dark pre .comment, +solarized-dark pre .template_comment, +solarized-dark pre .diff .header, +solarized-dark pre .doctype, +solarized-dark pre .lisp .string, +solarized-dark pre .javadoc { color: #586e75; font-style: italic; display: inline-block; line-height: 1em; } -pre .keyword, -pre .css .rule .keyword, -pre .winutils, -pre .javascript .title, -pre .method, -pre .addition, -pre .css .tag, -pre .lisp .title { +solarized-dark pre .keyword, +solarized-dark pre .css .rule .keyword, +solarized-dark pre .winutils, +solarized-dark pre .javascript .title, +solarized-dark pre .method, +solarized-dark pre .addition, +solarized-dark pre .css .tag, +solarized-dark pre .lisp .title { color: #859900; } -pre .number, -pre .command, -pre .string, -pre .tag .value, -pre .phpdoc, -pre .tex .formula, -pre .regexp, -pre .hexcolor { +solarized-dark pre .number, +solarized-dark pre .command, +solarized-dark pre .string, +solarized-dark pre .tag .value, +solarized-dark pre .phpdoc, +solarized-dark pre .tex .formula, +solarized-dark pre .regexp, +solarized-dark pre .hexcolor { color: #2aa198; } -pre .title, -pre .localvars, -pre .function .title, -pre .chunk, -pre .decorator, -pre .builtin, -pre .built_in, -pre .lisp .title, -pre .identifier, -pre .title .keymethods, -pre .id, -pre .header { +solarized-dark pre .title, +solarized-dark pre .localvars, +solarized-dark pre .function .title, +solarized-dark pre .chunk, +solarized-dark pre .decorator, +solarized-dark pre .builtin, +solarized-dark pre .built_in, +solarized-dark pre .lisp .title, +solarized-dark pre .identifier, +solarized-dark pre .title .keymethods, +solarized-dark pre .id, +solarized-dark pre .header { color: #268bd2; } -pre .tag .title, -pre .rules .property, -pre .django .tag .keyword { +solarized-dark pre .tag .title, +solarized-dark pre .rules .property, +solarized-dark pre .django .tag .keyword { font-weight: bold; } -pre .attribute, -pre .variable, -pre .instancevar, -pre .lisp .body, -pre .smalltalk .number, -pre .constant, -pre .class .title, -pre .parent, -pre .haskell .label { +solarized-dark pre .attribute, +solarized-dark pre .variable, +solarized-dark pre .instancevar, +solarized-dark pre .lisp .body, +solarized-dark pre .smalltalk .number, +solarized-dark pre .constant, +solarized-dark pre .class .title, +solarized-dark pre .parent, +solarized-dark pre .haskell .label { color: #b58900; } -pre .preprocessor, -pre .pi, -pre .shebang, -pre .symbol, -pre .diff .change, -pre .special, -pre .keymethods, -pre .attr_selector, -pre .important, -pre .subst, -pre .cdata { +solarized-dark pre .preprocessor, +solarized-dark pre .pi, +solarized-dark pre .shebang, +solarized-dark pre .symbol, +solarized-dark pre .diff .change, +solarized-dark pre .special, +solarized-dark pre .keymethods, +solarized-dark pre .attr_selector, +solarized-dark pre .important, +solarized-dark pre .subst, +solarized-dark pre .cdata { color: #cb4b16; } -pre .deletion { +solarized-dark pre .deletion { color: #dc322f; } -pre .tex .formula, -pre .code { +solarized-dark pre .tex .formula, +solarized-dark pre .code { background: #073642; }