Updates to the documentation stylesheets and theme options

This commit is contained in:
Jannis Leidel 2009-11-21 22:25:18 +01:00
parent cd989fd5a3
commit 8b9c3c5abc
2 changed files with 68 additions and 60 deletions

View File

@ -10,8 +10,8 @@
body {
font-family: Arial, sans-serif;
font-size: 100%;
background-color: #111;
color: #555;
background-color: #111111;
color: #555555;
margin: 0;
padding: 0;
}
@ -22,7 +22,7 @@ div.documentwrapper {
}
div.bodywrapper {
margin: 0 0 0 230px;
margin: 0 0 0 300px;
}
hr{
@ -30,14 +30,14 @@ hr{
}
div.document {
background-color: #eee;
background-color: #fafafa;
}
div.body {
background-color: #ffffff;
color: #3E4349;
padding: 0 30px 30px 30px;
font-size: 0.8em;
padding: 1em 30px 30px 30px;
font-size: 0.9em;
}
div.footer {
@ -49,25 +49,29 @@ div.footer {
}
div.footer a {
color: #444;
text-decoration: underline;
color: #444444;
}
div.related {
background-color: #6BA81E;
line-height: 32px;
color: #fff;
text-shadow: 0px 1px 0 #444;
font-size: 0.80em;
line-height: 36px;
color: #ffffff;
text-shadow: 0px 1px 0 #444444;
font-size: 1.1em;
}
div.related a {
color: #E2F3CC;
}
div.related .right {
font-size: 0.9em;
}
div.sphinxsidebar {
font-size: 0.75em;
font-size: 0.9em;
line-height: 1.5em;
width: 300px
}
div.sphinxsidebarwrapper{
@ -77,46 +81,46 @@ div.sphinxsidebarwrapper{
div.sphinxsidebar h3,
div.sphinxsidebar h4 {
font-family: Arial, sans-serif;
color: #222;
color: #222222;
font-size: 1.2em;
font-weight: normal;
font-weight: bold;
margin: 0;
padding: 5px 10px;
background-color: #ddd;
text-shadow: 1px 1px 0 white
}
div.sphinxsidebar h4{
font-size: 1.1em;
}
div.sphinxsidebar h3 a {
color: #444;
color: #444444;
}
div.sphinxsidebar p {
color: #888;
color: #888888;
padding: 5px 20px;
margin: 0.5em 0px;
}
div.sphinxsidebar p.topless {
}
div.sphinxsidebar ul {
margin: 10px 20px;
margin: 10px 10px 10px 20px;
padding: 0;
color: #000;
color: #000000;
}
div.sphinxsidebar a {
color: #444;
color: #444444;
}
div.sphinxsidebar a:hover {
color: #E32E00;
}
div.sphinxsidebar input {
border: 1px solid #ccc;
border: 1px solid #cccccc;
font-family: sans-serif;
font-size: 1em;
font-size: 1.1em;
padding: 0.15em 0.3em;
}
div.sphinxsidebar input[type=text]{
@ -132,7 +136,6 @@ a {
a:hover {
color: #E32E00;
text-decoration: underline;
}
div.body h1,
@ -142,20 +145,20 @@ div.body h4,
div.body h5,
div.body h6 {
font-family: Arial, sans-serif;
background-color: #BED4EB;
font-weight: normal;
color: #212224;
margin: 30px 0px 10px 0px;
padding: 5px 0 5px 10px;
text-shadow: 0px 1px 0 white
padding: 5px 0 5px 0px;
text-shadow: 0px 1px 0 white;
border-bottom: 1px solid #C8D5E3;
}
div.body h1 { border-top: 20px solid white; margin-top: 0; font-size: 200%; }
div.body h2 { font-size: 150%; background-color: #C8D5E3; }
div.body h3 { font-size: 120%; background-color: #D8DEE3; }
div.body h4 { font-size: 110%; background-color: #D8DEE3; }
div.body h5 { font-size: 100%; background-color: #D8DEE3; }
div.body h6 { font-size: 100%; background-color: #D8DEE3; }
div.body h1 { margin-top: 0; font-size: 200%; }
div.body h2 { font-size: 150%; }
div.body h3 { font-size: 120%; }
div.body h4 { font-size: 110%; }
div.body h5 { font-size: 100%; }
div.body h6 { font-size: 100%; }
a.headerlink {
color: #c60f0f;
@ -170,7 +173,7 @@ a.headerlink:hover {
}
div.body p, div.body dd, div.body li {
line-height: 1.5em;
line-height: 1.8em;
}
div.admonition p.admonition-title + p {
@ -182,22 +185,23 @@ div.highlight{
}
div.note {
background-color: #eee;
border: 1px solid #ccc;
background-color: #eeeeee;
border: 1px solid #cccccc;
}
div.seealso {
background-color: #ffc;
border: 1px solid #ff6;
background-color: #ffffcc;
border: 1px solid #ffff66;
}
div.topic {
background-color: #eee;
background-color: #fafafa;
border-width: 0;
}
div.warning {
background-color: #ffe4e4;
border: 1px solid #f66;
border: 1px solid #ff6666;
}
p.admonition-title {
@ -210,20 +214,24 @@ p.admonition-title:after {
pre {
padding: 10px;
background-color: White;
color: #222;
line-height: 1.2em;
border: 1px solid #C6C9CB;
font-size: 1.2em;
background-color: #fafafa;
color: #222222;
line-height: 1.5em;
font-size: 1.1em;
margin: 1.5em 0 1.5em 0;
-webkit-box-shadow: 1px 1px 1px #d8d8d8;
-moz-box-shadow: 1px 1px 1px #d8d8d8;
-webkit-box-shadow: 0px 0px 4px #d8d8d8;
-moz-box-shadow: 0px 0px 4px #d8d8d8;
box-shadow: 0px 0px 4px #d8d8d8;
}
tt {
background-color: #ecf0f3;
color: #222;
color: #222222;
padding: 1px 2px;
font-size: 1.2em;
font-family: monospace;
}
#table-of-contents ul {
padding-left: 2em;
}

View File

@ -146,7 +146,7 @@ html_last_updated_fmt = '%b %d, %Y'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
#html_use_smartypants = True
html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}
@ -156,10 +156,10 @@ html_last_updated_fmt = '%b %d, %Y'
#html_additional_pages = {}
# If false, no module index is generated.
html_use_modindex = True
html_use_modindex = False
# If false, no index is generated.
html_use_index = True
html_use_index = False
# If true, the index is split into individual pages for each letter.
#html_split_index = False