Browse code

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 <ostezer@gmail.com> (github: ostezer)

O.S.Tezer authored on 2014/04/29 00:58:15
Showing 1 changed files
... ...
@@ -55,10 +55,10 @@ h6,
55 55
   margin-bottom: 1.2em;
56 56
 }
57 57
 #content pre {
58
-  margin: 2em 0em;
59
-  padding: 1em 2em !important;
58
+  margin: 1em 0em;
59
+  padding: 0.5em 0.75em !important;
60 60
   line-height: 1.8em;
61
-  font-size: 1em;
61
+  background: #fff;
62 62
 }
63 63
 #content blockquote {
64 64
   background: #f2f2f2;