88
99{% set page_width = '1020px' %}
1010{% set sidebar_width = '220px' %}
11- /* orange of logo is #d67c29 but we use black for links for now */
12- {% set link_color = '#000' %}
13- {% set link_hover_color = '#000' %}
11+ /* muted version of green logo color #C9D22A */
12+ {% set link_color = '#606413' %}
13+ /* blue logo color */
14+ {% set link_hover_color = '#009de0' %}
1415{% set base_font = 'sans-serif' %}
15- {% set header_font = 'serif' %}
16+ {% set header_font = 'sans- serif' %}
1617
1718@import url("basic.css");
1819
1920/* -- page layout ----------------------------------------------------------- */
2021
2122body {
2223 font-family: {{ base_font }};
23- font-size: 17px ;
24+ font-size: 16px ;
2425 background-color: white;
2526 color: #000;
2627 margin: 0;
@@ -78,13 +79,13 @@ div.related {
7879}
7980
8081div.sphinxsidebar a {
81- color: #444;
8282 text-decoration: none;
83- border-bottom: 1px dotted #999 ;
83+ border-bottom: none ;
8484}
8585
8686div.sphinxsidebar a:hover {
87- border-bottom: 1px solid #999;
87+ color: {{ link_hover_color }};
88+ border-bottom: 1px solid {{ link_hover_color }};
8889}
8990
9091div.sphinxsidebar {
@@ -205,10 +206,13 @@ div.body p, div.body dd, div.body li {
205206 line-height: 1.4em;
206207}
207208
209+ ul.simple li {
210+ margin-bottom: 0.5em;
211+ }
212+
208213div.admonition {
209214 background: #fafafa;
210- margin: 20px -30px;
211- padding: 10px 30px;
215+ padding: 10px 20px;
212216 border-top: 1px solid #ccc;
213217 border-bottom: 1px solid #ccc;
214218}
@@ -217,11 +221,6 @@ div.admonition tt.xref, div.admonition a tt {
217221 border-bottom: 1px solid #fafafa;
218222}
219223
220- dd div.admonition {
221- margin-left: -60px;
222- padding-left: 60px;
223- }
224-
225224div.admonition p.admonition-title {
226225 font-family: {{ header_font }};
227226 font-weight: normal;
@@ -231,7 +230,7 @@ div.admonition p.admonition-title {
231230 line-height: 1;
232231}
233232
234- div.admonition p. last {
233+ div.admonition : last-child {
235234 margin-bottom: 0;
236235}
237236
@@ -243,7 +242,7 @@ dt:target, .highlight {
243242 background: #FAF3E8;
244243}
245244
246- div.note {
245+ div.note, div.warning {
247246 background-color: #eee;
248247 border: 1px solid #ccc;
249248}
@@ -257,6 +256,11 @@ div.topic {
257256 background-color: #eee;
258257}
259258
259+ div.topic a {
260+ text-decoration: none;
261+ border-bottom: none;
262+ }
263+
260264p.admonition-title {
261265 display: inline;
262266}
@@ -358,21 +362,10 @@ ul, ol {
358362
359363pre {
360364 background: #eee;
361- padding: 7px 30px;
362- margin: 15px -30px;
365+ padding: 7px 12px;
363366 line-height: 1.3em;
364367}
365368
366- dl pre, blockquote pre, li pre {
367- margin-left: -60px;
368- padding-left: 60px;
369- }
370-
371- dl dl pre {
372- margin-left: -90px;
373- padding-left: 90px;
374- }
375-
376369tt {
377370 background-color: #ecf0f3;
378371 color: #222;
@@ -393,6 +386,20 @@ a.reference:hover {
393386 border-bottom: 1px solid {{ link_hover_color }};
394387}
395388
389+ li.toctree-l1 a.reference,
390+ li.toctree-l2 a.reference,
391+ li.toctree-l3 a.reference,
392+ li.toctree-l4 a.reference {
393+ border-bottom: none;
394+ }
395+
396+ li.toctree-l1 a.reference:hover,
397+ li.toctree-l2 a.reference:hover,
398+ li.toctree-l3 a.reference:hover,
399+ li.toctree-l4 a.reference:hover {
400+ border-bottom: 1px solid {{ link_hover_color }};
401+ }
402+
396403a.footnote-reference {
397404 text-decoration: none;
398405 font-size: 0.7em;
@@ -408,6 +415,12 @@ a:hover tt {
408415 background: #EEE;
409416}
410417
418+ #reference div.section h3 {
419+ /* separate code elements in the reference section */
420+ border-top: 1px solid #ccc;
421+ padding-top: 0.5em;
422+ }
423+
411424
412425@media screen and (max-width: 870px) {
413426
0 commit comments