From: Ben Darnell Date: Sun, 19 Jun 2011 19:05:28 +0000 (-0700) Subject: Style updates X-Git-Tag: v2.0.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=994555f391d920794aa5c8a9c68d06cb438f93fb;p=thirdparty%2Ftornado.git Style updates --- diff --git a/website/static/sphinx.css b/website/static/sphinx.css index e5c53d9eb..01938c0b7 100644 --- a/website/static/sphinx.css +++ b/website/static/sphinx.css @@ -1,5 +1,9 @@ @import url("default.css"); +/* These style tweaks are probably going to turn out to be a little fragile. + They're currently based on the default theme from sphinx 1.0.7. +*/ + div.body h1, div.body h2, div.body h3, @@ -9,6 +13,7 @@ div.body h6, div.sphinxsidebar h3, div.sphinxsidebar h4 { font-weight: bold; + border-bottom: none; } pre { @@ -29,4 +34,24 @@ div.body p, div.body dd, div.body li { th.field-name { background: #fff; +} + +/* "related" = top header */ +div.related { + position: fixed; +} + +/* body settings copied from div.sphinxsidebar so following a link to a + specific object positions that object below the fixed header */ +div.body { + top: 30px; + bottom: 0; + margin: 0; + position: fixed; + overflow: auto; + height: auto; +} + +div.related, div.sphinxsidebar { + font-family: Calibri, sans-serif; } \ No newline at end of file