diff options
author | Pauli Virtanen <pav@iki.fi> | 2013-07-25 14:54:59 +0300 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2013-07-25 14:54:59 +0300 |
commit | 65c59fe6a516e23db50ecb8ca160b9f9de12dc11 (patch) | |
tree | 5dbd57c6a65152605c8d4a95831cb6d9a01130c7 | |
parent | c055ca33bf359717fc615e9151c63f5ba96a7740 (diff) | |
download | scipy-sphinx-theme-65c59fe6a516e23db50ecb8ca160b9f9de12dc11.tar.gz |
Rearrange CSS + add CSS for note admonitions
-rw-r--r-- | _theme/scipy/static/scipy.css_t | 129 |
1 files changed, 82 insertions, 47 deletions
diff --git a/_theme/scipy/static/scipy.css_t b/_theme/scipy/static/scipy.css_t index 8dda6de..3909af9 100644 --- a/_theme/scipy/static/scipy.css_t +++ b/_theme/scipy/static/scipy.css_t @@ -15,6 +15,11 @@ @import url("css/scipy-central.css"); + +/* + * General tweaks + */ + div.container-navbar-bottom { margin-top: 0; } @@ -67,6 +72,17 @@ dl.method > dt > em { font-weight: normal; } +pre { + border-radius: 0; + border: none; + font-family: monospace; +} + + +/* + * Field lists + */ + table.field-list { border-collapse: collapse; border-spacing: 5px; @@ -110,13 +126,41 @@ dl.method blockquote p line-height: inherit; } -p.rubric { - color: rgb(85, 85, 85); + +/* + * Sidebars and top logo + */ + +div.sphinxsidebarwrapper { + overflow: hidden; +} + +div.spc-rightsidebar h3 { font-size: 120%; - font-weight: normal; - border-bottom: 1px solid rgb(204, 204, 204); + line-height: inherit; + border-bottom: none; } +div.spc-rightsidebar h4 { + font-size: 120%; + line-height: inherit; + border-bottom: none; +} + +div.top-scipy-org-logo-header { + text-align: left; + background-color: rgb(140, 170, 230); + border-bottom: 8px solid rgb(0, 51, 153); + margin-top: 10px; + padding: 5px; + box-shadow: 0px 0px 3px rgb(136, 136, 136); +} + + +/* + * Headers + */ + h1 a { color: rgb(85, 85, 85); } h2 a { color: rgb(85, 85, 85); } h3 a { color: rgb(85, 85, 85); } @@ -138,12 +182,41 @@ div#spc-section-body h4 { color: rgb(85, 85, 85); border-bottom: none; } div#spc-section-body h5 { color: rgb(85, 85, 85); border-bottom: none; } div#spc-section-body h6 { color: rgb(85, 85, 85); border-bottom: none; } +p.rubric { + color: rgb(85, 85, 85); + font-size: 120%; + font-weight: normal; + border-bottom: 1px solid rgb(204, 204, 204); +} + + +/* + * Tables + */ + table.citation { border: none; } -div.sphinxsidebarwrapper { - overflow: hidden; +table.docutils td, table.docutils th { + border: none; +} + +table.docutils { + margin-bottom: 9.5px; +} + + +/* + * Admonitions + */ + +p.admonition-title { + display: inline; +} + +p.admonition-title:after { + content: ":"; } div.seealso { @@ -168,45 +241,7 @@ div.warning { border: 1px solid #f66; } -p.admonition-title { - display: inline; -} - -p.admonition-title:after { - content: ":"; -} - -pre { - border-radius: 0; - border: none; - font-family: monospace; -} - -div.spc-rightsidebar h3 { - font-size: 120%; - line-height: inherit; - border-bottom: none; -} - -div.spc-rightsidebar h4 { - font-size: 120%; - line-height: inherit; - border-bottom: none; -} - -div.top-scipy-org-logo-header { - text-align: left; - background-color: rgb(140, 170, 230); - border-bottom: 8px solid rgb(0, 51, 153); - margin-top: 10px; - padding: 5px; - box-shadow: 0px 0px 3px rgb(136, 136, 136); -} - -table.docutils td, table.docutils th { - border: none; -} - -table.docutils { - margin-bottom: 9.5px; +div.note { + background-color: #eee; + border: 1px solid #ccc; } |