diff options
author | bnewbold <bnewbold@robocracy.org> | 2014-09-01 17:00:13 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2014-09-01 19:58:58 -0400 |
commit | b1ef722fa3de0ca3f4bb495fff2ff1cd3f4739cf (patch) | |
tree | 90b53bcd146c57a522decfe75d571e8577104168 /docs/source/_static | |
parent | 1057cd2e5f01869869a68580b717d0ddd3aa95fe (diff) | |
download | librambutan-b1ef722fa3de0ca3f4bb495fff2ff1cd3f4739cf.tar.gz librambutan-b1ef722fa3de0ca3f4bb495fff2ff1cd3f4739cf.zip |
docs: several small theme tweaks
- CSS improvements
- two-part links at page top (project/subproject)
- "Project Resources" links
Diffstat (limited to 'docs/source/_static')
-rw-r--r-- | docs/source/_static/img/logo_32x32.png | bin | 0 -> 2097 bytes | |||
-rw-r--r-- | docs/source/_static/rambutan-docs.css | 89 |
2 files changed, 51 insertions, 38 deletions
diff --git a/docs/source/_static/img/logo_32x32.png b/docs/source/_static/img/logo_32x32.png Binary files differnew file mode 100644 index 0000000..bacdd6f --- /dev/null +++ b/docs/source/_static/img/logo_32x32.png diff --git a/docs/source/_static/rambutan-docs.css b/docs/source/_static/rambutan-docs.css index e5b00ae..7f7e0f2 100644 --- a/docs/source/_static/rambutan-docs.css +++ b/docs/source/_static/rambutan-docs.css @@ -3,6 +3,7 @@ /* TODO: http://practicaltypography.com/rules-and-borders.html */ +/* General page styling */ body { font-family: "Crimson Text", serif; font-size: 16px; @@ -14,21 +15,6 @@ body { color: rgb(72, 72, 72); } -.sphinxsidebar { - padding-top: 10em; - opacity: 0.65; - font-size: 0.9rem; -} - -.sphinxsidebar:hover { - opacity: 0.9; -} - -.sphinxsidebar .search input { - padding-left: 0.25rem; - margin-bottom: 2em; -} - h1, h2, h3, h4, h5, h6 { color: #000; font-family: "Open Sans", "Helvetica", sans-serif; @@ -41,15 +27,25 @@ h4 { font-size: 0.9em; font-weight: normal; } h5 { font-size: 0.9em; font-weight: normal; } header h1 { + opacity: 0.65; margin-top: 0.3em; font-size: 1.2em; - opacity: 0.65; + margin-left: 240px; + font-family: "Open Sans", "Helvetica", sans-serif; + font-weight: bold; + text-transform: uppercase; + font-variant: small-caps; + font-weight: normal; } header h1:hover { opacity: 0.9; } +header h1 a, header h1 a:visited { + color: #000; +} + .rubric { text-align: center; text-transform: uppercase; @@ -70,21 +66,6 @@ footer#pagefooter, footer#pagefooter a { .contents .topic-title { font-weight: normal; } - -body > header h1 a, body > header h1 a:visited { - color: #000; - margin-left: 240px; - font-family: "Open Sans", "Helvetica", sans-serif; - font-weight: bold; - text-transform: uppercase; - font-variant: small-caps; - font-weight: normal; -} - -.sphinxsidebar h3 a { - color: #222; -} - pre, tt { font-family: "Source Code Pro", "Monaco", "Consolas", "Lucida Console", monospace; } @@ -102,6 +83,25 @@ a tt { font-weight: normal; } +.sphinxsidebar { + padding-top: 10em; + opacity: 0.65; + font-size: 0.9rem; +} + +.sphinxsidebar:hover { + opacity: 0.9; +} + +.sphinxsidebar .search input { + padding-left: 0.25rem; + margin-bottom: 2em; +} + +.sphinxsidebar h3 a { + color: #222; +} + .highlight pre { color: #ccc; background-color: #333; @@ -114,19 +114,32 @@ a tt { line-height: 120%; } -div.admondition, div.topic, div.warning, div.note { - border-left: none; - border-right: none; +a:hover { + text-decoration: none; } -div.note, div.topic { - background-color: #f4f4f4; +tt.descname { + font-size: 0.8em; +} + +dl.function > dt, dl.class > dt, dl.method > dt, dl.attribute > dt, dl.data > dt, dl.classmethod > dt, dl.enum > dt { + margin-bottom: 0.5em; + background: #f4f4f4; +} + +dl li > p { + display: inline; } .related.bottom { margin-top: 2em; } -a:hover { - text-decoration: none; +div.admondition, div.topic, div.warning, div.note { + border-left: none; + border-right: none; +} + +div.note, div.topic { + background-color: #f4f4f4; } |