Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated styles

  • Loading branch information...
commit df97c1dbe1b8d032c1d07ea574c945de08e1f43b 1 parent f9f011f
@coordt authored
Showing with 145 additions and 93 deletions.
  1. +2 −2 layout.html
  2. +143 −91 static/adctheme.css
View
4 layout.html
@@ -61,7 +61,7 @@
{%- endif %}
{%- endblock %}
{%- block sidebartoc %}
- <ul><li class="toctree-l1"><a href="{{ pathto(master_doc) }}">{{ _('Main Page') }}</a></li></ul>
+ <ul><li class="toctree-l1"><a href="{{ pathto(master_doc) }}">{{ _('Table of Contents') }}</a></li></ul>
{{ toctree() }}
{%- endblock %}
{%- block sidebarrel %}
@@ -112,7 +112,7 @@
<div class="body">
{% block body %} {% endblock %}
</div>
- {%- if not embedded %}{% if not theme_nosidebar|tobool %}
+ {%- if not embedded %}{% if not theme_nosidebar|tobool %}
</div>
{%- endif %}{% endif %}
</div>
View
234 static/adctheme.css
@@ -2,15 +2,9 @@
* Sphinx stylesheet -- basic theme
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
- h3 {
- color:#000000;
- font-size: 17px;
- margin-bottom:0.5em;
- margin-top:2em;
- }
-/* -- main layout ----------------------------------------------------------- */
-
-div.clearer {
+ /* -- main layout ----------------------------------------------------------- */
+
+.clearer {
clear: both;
}
@@ -26,14 +20,14 @@ div.clearer {
position: absolute;
list-style: none outside;
top: 26px;
- left: 0px;
- right: 0px;
- margin: 0px;
- padding: 0px;
+ left: 0;
+ right: 0;
+ margin: 0;
+ padding: 0;
border-top: 1px solid #2B334F;
border-bottom: 1px solid #EDEDED;
height: 20px;
- font-size: 8pt;
+ font-size: .6em;
overflow: hidden;
background-color: #D8D8D8;
}
@@ -62,7 +56,7 @@ div.clearer {
.headerButton a:hover {
color: white;
background-color: #787878;
-
+
}
li#toc_button {
@@ -95,7 +89,7 @@ right:0;
background-image:url(breadcrumb_background.png);
border-top:1px solid #2B334F;
bottom:0;
- font-size:10px;
+ font-size:.8em;
height:15px;
left:0;
overflow:hidden;
@@ -121,14 +115,14 @@ right:0;
top: 84px;
bottom: 19px;
left: 0px;
- width: 229px;
+ width: 229px;
background-color: #E4EBF7;
border-right: 1px solid #ACACAC;
border-top: 1px solid #2B334F;
overflow-x: hidden;
overflow-y: auto;
padding: 0px 0px 0px 0px;
- font-size:11px;
+ font-size:.9em;
}
div.sphinxsidebarwrapper {
@@ -142,7 +136,7 @@ div.sphinxsidebarwrapper {
margin: 0px 0px 7px 0px;
overflow: hidden;
text-overflow: ellipsis;
- font-size: 11px;
+ font-size: .9em;
}
#sphinxsidebar ul {
@@ -241,7 +235,7 @@ a.biglink {
span.linkdescr {
font-style: italic;
padding-top: 5px;
- font-size: 90%;
+ font-size: .9em;
}
/* -- general index --------------------------------------------------------- */
@@ -315,7 +309,7 @@ div.body td {
margin-top: 0 !important;
}
-p.rubric {
+.rubric {
margin-top: 30px;
font-weight: bold;
}
@@ -354,18 +348,23 @@ p.topic-title {
border: 1px solid #a1a5a9;
background-color: #f7f7f7;
margin: 20px;
- padding: 0px 8px 7px 9px;
+ padding: 0 8px 7px 9px;
text-align: left;
}
.warning {
- background-color:#E8E8E8;
- border:1px solid #111111;
+ background-color:#f5dbe0;
+ border:1px solid #6f0925;
margin:30px;
}
-.admonition p {
+
+.warning .admonition-title {
+ font-weight: bold;
+ color: #6f0925;
+}
+.admonition p {
font: 12px 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif;
margin-top: 7px;
- margin-bottom: 0px;
+ margin-bottom: 0;
}
div.admonition dt {
@@ -376,8 +375,8 @@ div.admonition dl {
margin-bottom: 0;
}
-p.admonition-title {
- margin: 0px 10px 5px 0px;
+.admonition-title {
+ margin: 0 10px 5px 0;
font-weight: bold;
padding-top: 3px;
}
@@ -391,10 +390,7 @@ div.body p.centered {
table.docutils {
border-collapse: collapse;
- border-top: 1px solid #919699;
- border-left: 1px solid #919699;
- border-right: 1px solid #919699;
- font-size:12px;
+ border: 1px solid #919699;
padding:8px;
text-align:left;
vertical-align:top;
@@ -402,42 +398,15 @@ table.docutils {
table.docutils td, table.docutils th {
padding: 8px;
- font-size: 12px;
text-align: left;
vertical-align: top;
border-bottom: 1px solid #919699;
}
table.docutils th {
+ text-align: left;
font-weight: bold;
-}
-/* This alternates colors in up to six table rows (light blue for odd, white for even)*/
-.docutils tr {
- background: #F0F5F9;
-}
-
-.docutils tr + tr {
- background: #FFFFFF;
-}
-
-.docutils tr + tr + tr {
- background: #F0F5F9;
-}
-
-.docutils tr + tr + tr + tr {
- background: #FFFFFF;
-}
-
-.docutils tr + tr + tr +tr + tr {
- background: #F0F5F9;
-}
-
-.docutils tr + tr + tr + tr + tr + tr {
- background: #FFFFFF;
-}
-
-.docutils tr + tr + tr + tr + tr + tr + tr {
- background: #F0F5F9;
+ background-color: #CCC;
}
table.footnote td, table.footnote th {
@@ -457,7 +426,7 @@ dl {
dd p {
margin-top: 0px;
- font-size: 12px;
+ font-size: 1em;
}
dd ul, dd table {
@@ -468,7 +437,7 @@ dd {
margin-top: 3px;
margin-bottom: 10px;
margin-left: 30px;
- font-size: 12px;
+ font-size: 1em;
}
dt:target, .highlight {
@@ -481,8 +450,41 @@ dl.glossary dt {
}
dl.glossary dd {
- font-size:12px;
+ font-size:1em;
+}
+
+table.field-list {
+ border: none;
+ border-top: 1px solid #D6E0E5;
+ margin-left: 2.5em;
+ margin-bottom: 2.5em;
}
+table.field-list tr {
+ background: white;
+}
+table.field-list td {
+padding: .667em;
+text-align: left;
+vertical-align: top;
+border-bottom: 1px solid #D6E0E5;
+}
+table.field-list td p {
+font-size: .9em;
+}
+table.field-list th {
+ font-weight: bold;
+ background: white;
+ font-size: .9em;
+ text-align: left;
+vertical-align: top;
+border-bottom: 1px solid #D6E0E5;
+
+}
+
+ul.auto-toc {
+ list-style-type: none;
+}
+
.field-list ul {
vertical-align: top;
margin: 0;
@@ -528,7 +530,7 @@ pre {
border:1px solid #C9D1D7;
border-spacing:0;
font-family:"Bitstream Vera Sans Mono",Monaco,"Lucida Console",Courier,Consolas,monospace;
- font-size:11px;
+ font-size:.9em;
padding: 10px;
}
@@ -604,7 +606,7 @@ span.eqno {
}
body {
- font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
+ font: 14px 'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;
}
dl.class dt {
@@ -626,11 +628,12 @@ dl.class dd dl.exception dt {
border-top: none;
}
-dl.class dd dl.method dt {
+dl.class dd dl.method dt, dl.class dd dl.classmethod dt, dl.class dd dl.staticmethod dt,
+dl.class dd dl.attribute dt {
padding: 3px;
background-color: #e9e9e9;
border-top: none;
-
+
}
dl.function dt {
@@ -642,11 +645,11 @@ ul {
list-style-image:none;
list-style-position:outside;
list-style-type:square;
-margin:0 0 0 30px;
+margin:0 0 0 15px;
padding:0 0 12px 6px;
}
#docstitle {
- height: 36px;
+ height: 36px;
background-image: url(header_sm_mid.png);
left: 0;
top: 0;
@@ -660,7 +663,7 @@ padding:0 0 12px 6px;
text-shadow:0 1px 0 #787878;
background: transparent url(documentation.png) no-repeat scroll 10px 3px;
height: 36px;
- font-size: 15px;
+ font-size: 1.2em;
}
#header {
height:45px;
@@ -672,26 +675,28 @@ z-index:900;
}
#header h1 {
-font-size:10pt;
+font-size:.85em;
margin:0;
padding:5px 0 0 10px;
text-shadow:0 1px 0 #D5D5D5;
white-space:nowrap;
}
+#doctitle + h1, .section h1:first-child {
+ padding-top: 24px;
+}
+
h1 {
--x-system-font:none;
-color:#000000;
-font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
-font-size:30px;
-font-size-adjust:none;
-font-stretch:normal;
-font-style:normal;
-font-variant:normal;
-font-weight:bold;
-line-height:normal;
-margin-bottom:25px;
margin-top:1em;
+margin-top: 0;
+margin-bottom: 1.15em;
+font: 215% 'Lucida Grande','Lucida Sans Unicode',Helvetica,Arial,Verdana,sans-serif;
+font-weight: normal;
+color: black;
+}
+
+h1 a:link {
+ color: black;
}
.footer {
@@ -705,7 +710,7 @@ font-size:10px;
p {
-x-system-font:none;
font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
-font-size:12px;
+font-size:1em;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
@@ -717,11 +722,51 @@ margin-top:0;
}
h2 {
-border-bottom:1px solid #919699;
-color:#000000;
-font-size:24px;
-margin-top:2.5em;
-padding-bottom:2px;
+margin-top: 1.75em;
+font-size: 187%;
+font-weight: normal;
+color: #3C4C6C;
+padding-bottom: 2px;
+}
+
+h2 a:link {
+color: #3C4C6C;
+}
+
+h3 {
+ color:black;
+ font-weight: normal;
+ font-size: 145%;
+ margin-bottom:0.25em;
+ margin-top:1.5em;
+}
+
+h3 a:link {
+ color: black;
+}
+
+h4 {
+margin-top: 2em;
+margin-bottom: .5em;
+font-size: 125%;
+font-weight: normal;
+color: black;
+}
+
+h4 a:link {
+ color: black;
+}
+
+h5 {
+ margin-top: 1.538em;
+ margin-bottom: .5em;
+ padding: 0;
+ font-size: 100%;
+ color: #000;
+}
+
+h5 a:link {
+ color: black;
}
a:link:hover {
@@ -734,13 +779,18 @@ color:#093D92;
text-decoration:none;
}
-
ol {
list-style-position:outside;
list-style-type:decimal;
margin:0 0 0 30px;
padding:0 0 12px 6px;
}
+.arabic { list-style: decimal;}
+.loweralpha { list-style: lower-alpha;}
+.lowerroman { list-style: lower-roman;}
+.upperalpha{ list-style: upper-alpha;}
+.upperroman { list-style: upper-roman;}
+
li {
margin-top:7px;
font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
@@ -754,4 +804,6 @@ line-height:normal;
}
li p {
margin-top:8px;
-}
+}
+
+.accelerator {text-decoration: underline;}
Please sign in to comment.
Something went wrong with that request. Please try again.