From 0581f4757114d2c387c9d31f227e419213a1b7f6 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Wed, 6 Jan 2016 16:47:38 +0100 Subject: Drop syntax highlighting Was not very useful for this use case and caused slow page rendering --- xreadthedocs/css/theme_extra.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'xreadthedocs/css/theme_extra.css') 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; +} -- cgit v1.2.3