From f334dbe82de06f9c71b850da4165076bb3cf8f4b Mon Sep 17 00:00:00 2001 From: "O.S.Tezer" Date: Mon, 28 Apr 2014 18:58:15 +0300 Subject: [PATCH] Docs/CSS: Amend code block rendering. This commit aims to improve the rendering of code blocks by reducing the padding, matching the font-size with the rest of the documentation text and finally, by changing the background colour back to white from its current gray-ish state which matches the background colour and making it really hard to spot the code. Note: The BG colouring issue is due to converting the main BG to gray whilst missing to change parts that where gray to white, i.e., not making the complete switch. Docker-DCO-1.1-Signed-off-by: O.S. Tezer (github: ostezer) --- docs/theme/mkdocs/css/base.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/theme/mkdocs/css/base.css b/docs/theme/mkdocs/css/base.css index 863c9cdb0b..7a61792fe9 100644 --- a/docs/theme/mkdocs/css/base.css +++ b/docs/theme/mkdocs/css/base.css @@ -55,10 +55,10 @@ h6, margin-bottom: 1.2em; } #content pre { - margin: 2em 0em; - padding: 1em 2em !important; + margin: 1em 0em; + padding: 0.5em 0.75em !important; line-height: 1.8em; - font-size: 1em; + background: #fff; } #content blockquote { background: #f2f2f2;