aboutsummaryrefslogtreecommitdiff
path: root/xreadthedocs/css/theme_extra.css
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-01-06 16:47:38 +0100
committerJakob Unterwurzacher2016-01-06 16:47:38 +0100
commit0581f4757114d2c387c9d31f227e419213a1b7f6 (patch)
tree1136f1a615ef421b55a8d1581f61462c2861f09b /xreadthedocs/css/theme_extra.css
parent983193b48ae86035aa1ab866bc4e994793f0819b (diff)
Drop syntax highlighting
Was not very useful for this use case and caused slow page rendering
Diffstat (limited to 'xreadthedocs/css/theme_extra.css')
-rw-r--r--xreadthedocs/css/theme_extra.css13
1 files changed, 13 insertions, 0 deletions
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;
+}