Browse Source

Merge pull request #5440 from ostezer/docs-improve-code-block-rendering

Docs/CSS: Amend code block rendering.
O.S. Tezer 11 years ago
parent
commit
34a3d41d17
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docs/theme/mkdocs/css/base.css

+ 3 - 3
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: #fff;