]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Additional documentation theme changes:
authorRoss Turk <ross@inktank.com>
Tue, 15 May 2012 18:16:09 +0000 (11:16 -0700)
committerRoss Turk <ross@inktank.com>
Tue, 15 May 2012 18:16:29 +0000 (11:16 -0700)
1) Adjust h2 tags so that section titles are visually differentiated
2) Add 1.5em of margin to all pre blocks and tables

Signed-off-by: Ross Turk <ross@inktank.com>
doc/_themes/ceph/static/nature.css_t

index 39aa07cf106368f2d65c6d84b1f383c0e56da9ca..3230d770cb13c3f568210aa3ebf5707d6784f3ed 100644 (file)
@@ -189,7 +189,7 @@ div.body h6 {
 }
  
 div.body h1 { font: 18px/1.8 ApexSansBook; color: #37424A; border-top: 20px solid white; margin-top: 0; }
-div.body h2 { font: 14px/1.4 ApexSansMedium; color: #37424A; }
+div.body h2 { font: 16px/1.6 ApexSansMedium; background-color: #5E6A71; color: #E6E8E8; padding: 5px 10px; }
 div.body h3 { font: 14px/1.4 ApexSansMedium; color: #37424A; }
 div.body h4 { font: 14px/1.4 Helvetica, Arial, sans-serif;  color: #37424A; }
 div.body h5 { font: 12px/1.2 Helvetica, Arial, sans-serif;  color: #37424A; }
@@ -259,7 +259,7 @@ pre {
     line-height: 1.2em;
     border: 1px solid #5e6a71;
     font-size: 1.1em;
-    margin: 1.5em 0 1.5em 0;
+    margin: 1.5em;
     -webkit-box-shadow: 1px 1px 1px #e6e8e8;
     -moz-box-shadow: 1px 1px 1px #e6e8e8;
 }
@@ -281,3 +281,7 @@ div.viewcode-block:target {
     border-top: 1px solid #ac9;
     border-bottom: 1px solid #ac9;
 }
+
+table.docutils {
+    margin: 1.5em;
+}