diff options
author | Jakob Unterwurzacher | 2016-01-06 16:47:38 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-01-06 16:47:38 +0100 |
commit | 0581f4757114d2c387c9d31f227e419213a1b7f6 (patch) | |
tree | 1136f1a615ef421b55a8d1581f61462c2861f09b /xreadthedocs/css | |
parent | 983193b48ae86035aa1ab866bc4e994793f0819b (diff) |
Drop syntax highlighting
Was not very useful for this use case and caused slow page rendering
Diffstat (limited to 'xreadthedocs/css')
-rw-r--r-- | xreadthedocs/css/highlight.css | 125 | ||||
-rw-r--r-- | xreadthedocs/css/theme_extra.css | 13 |
2 files changed, 13 insertions, 125 deletions
diff --git a/xreadthedocs/css/highlight.css b/xreadthedocs/css/highlight.css deleted file mode 100644 index 0375453..0000000 --- a/xreadthedocs/css/highlight.css +++ /dev/null @@ -1,125 +0,0 @@ -/* -This is the GitHub theme for highlight.js - -github.com style (c) Vasily Polovnyov <vast@whiteants.net> - -*/ - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - color: #333; - -webkit-text-size-adjust: none; -} - -.hljs-comment, -.diff .hljs-header, -.hljs-javadoc { - color: #998; - font-style: italic; -} - -.hljs-keyword, -.css .rule .hljs-keyword, -.hljs-winutils, -.nginx .hljs-title, -.hljs-subst, -.hljs-request, -.hljs-status { - color: #333; - font-weight: bold; -} - -.hljs-number, -.hljs-hexcolor, -.ruby .hljs-constant { - color: #008080; -} - -.hljs-string, -.hljs-tag .hljs-value, -.hljs-phpdoc, -.hljs-dartdoc, -.tex .hljs-formula { - color: #d14; -} - -.hljs-title, -.hljs-id, -.scss .hljs-preprocessor { - color: #900; - font-weight: bold; -} - -.hljs-list .hljs-keyword, -.hljs-subst { - font-weight: normal; -} - -.hljs-class .hljs-title, -.hljs-type, -.vhdl .hljs-literal, -.tex .hljs-command { - color: #458; - font-weight: bold; -} - -.hljs-tag, -.hljs-tag .hljs-title, -.hljs-rule .hljs-property, -.django .hljs-tag .hljs-keyword { - color: #000080; - font-weight: normal; -} - -.hljs-attribute, -.hljs-variable, -.lisp .hljs-body, -.hljs-name { - color: #008080; -} - -.hljs-regexp { - color: #009926; -} - -.hljs-symbol, -.ruby .hljs-symbol .hljs-string, -.lisp .hljs-keyword, -.clojure .hljs-keyword, -.scheme .hljs-keyword, -.tex .hljs-special, -.hljs-prompt { - color: #990073; -} - -.hljs-built_in { - color: #0086b3; -} - -.hljs-preprocessor, -.hljs-pragma, -.hljs-pi, -.hljs-doctype, -.hljs-shebang, -.hljs-cdata { - color: #999; - font-weight: bold; -} - -.hljs-deletion { - background: #fdd; -} - -.hljs-addition { - background: #dfd; -} - -.diff .hljs-change { - background: #0086b3; -} - -.hljs-chunk { - color: #aaa; -} diff --git a/xreadthedocs/css/theme_extra.css b/xreadthedocs/css/theme_extra.css index 24a4280..f61df03 100644 --- a/xreadthedocs/css/theme_extra.css +++ b/xreadthedocs/css/theme_extra.css @@ -199,3 +199,16 @@ nav.wy-nav-top img { nav.wy-nav-top i { font-size: 60px; } + +/* Inline code */ +code { + color: #333; +} + +/* Code block */ +pre code { + display: block; + overflow-x: auto; + padding: 0.5em; + -webkit-text-size-adjust: none; +} |