From 3d2d0ecd2cb0a73dd476e3f2080a8bb900d68666 Mon Sep 17 00:00:00 2001 From: Ross Turk Date: Tue, 15 May 2012 11:16:09 -0700 Subject: [PATCH] Additional documentation theme changes: 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 --- doc/_themes/ceph/static/nature.css_t | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/_themes/ceph/static/nature.css_t b/doc/_themes/ceph/static/nature.css_t index 39aa07cf10636..3230d770cb13c 100644 --- a/doc/_themes/ceph/static/nature.css_t +++ b/doc/_themes/ceph/static/nature.css_t @@ -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; +} -- 2.39.5