Permalink
Browse files

Updates to the documentation stylesheets and theme options

  • Loading branch information...
1 parent cd989fd commit 8b9c3c5abc0785d814d264dc3cf5dab0f41f67a5 @jezdez jezdez committed Nov 21, 2009
Showing with 68 additions and 60 deletions.
  1. +65 −57 docs/_theme/nature/static/nature.css_t
  2. +3 −3 docs/conf.py
@@ -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,22 +22,22 @@ div.documentwrapper {
}
div.bodywrapper {
- margin: 0 0 0 230px;
+ margin: 0 0 0 300px;
}
hr{
border: 1px solid #B1B4B6;
}
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
@@ -146,7 +146,7 @@
# 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_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

0 comments on commit 8b9c3c5

Please sign in to comment.