8
8
9
9
{% set page_width = '1020px' %}
10
10
{% 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' %}
14
15
{% set base_font = 'sans-serif' %}
15
- {% set header_font = 'serif' %}
16
+ {% set header_font = 'sans- serif' %}
16
17
17
18
@import url("basic.css");
18
19
19
20
/* -- page layout ----------------------------------------------------------- */
20
21
21
22
body {
22
23
font-family: {{ base_font }};
23
- font-size: 17px ;
24
+ font-size: 16px ;
24
25
background-color: white;
25
26
color: #000;
26
27
margin: 0;
@@ -78,13 +79,13 @@ div.related {
78
79
}
79
80
80
81
div.sphinxsidebar a {
81
- color: #444;
82
82
text-decoration: none;
83
- border-bottom: 1px dotted #999 ;
83
+ border-bottom: none ;
84
84
}
85
85
86
86
div.sphinxsidebar a:hover {
87
- border-bottom: 1px solid #999;
87
+ color: {{ link_hover_color }};
88
+ border-bottom: 1px solid {{ link_hover_color }};
88
89
}
89
90
90
91
div.sphinxsidebar {
@@ -205,10 +206,13 @@ div.body p, div.body dd, div.body li {
205
206
line-height: 1.4em;
206
207
}
207
208
209
+ ul.simple li {
210
+ margin-bottom: 0.5em;
211
+ }
212
+
208
213
div.admonition {
209
214
background: #fafafa;
210
- margin: 20px -30px;
211
- padding: 10px 30px;
215
+ padding: 10px 20px;
212
216
border-top: 1px solid #ccc;
213
217
border-bottom: 1px solid #ccc;
214
218
}
@@ -217,11 +221,6 @@ div.admonition tt.xref, div.admonition a tt {
217
221
border-bottom: 1px solid #fafafa;
218
222
}
219
223
220
- dd div.admonition {
221
- margin-left: -60px;
222
- padding-left: 60px;
223
- }
224
-
225
224
div.admonition p.admonition-title {
226
225
font-family: {{ header_font }};
227
226
font-weight: normal;
@@ -231,7 +230,7 @@ div.admonition p.admonition-title {
231
230
line-height: 1;
232
231
}
233
232
234
- div.admonition p. last {
233
+ div.admonition : last-child {
235
234
margin-bottom: 0;
236
235
}
237
236
@@ -243,7 +242,7 @@ dt:target, .highlight {
243
242
background: #FAF3E8;
244
243
}
245
244
246
- div.note {
245
+ div.note, div.warning {
247
246
background-color: #eee;
248
247
border: 1px solid #ccc;
249
248
}
@@ -257,6 +256,11 @@ div.topic {
257
256
background-color: #eee;
258
257
}
259
258
259
+ div.topic a {
260
+ text-decoration: none;
261
+ border-bottom: none;
262
+ }
263
+
260
264
p.admonition-title {
261
265
display: inline;
262
266
}
@@ -358,21 +362,10 @@ ul, ol {
358
362
359
363
pre {
360
364
background: #eee;
361
- padding: 7px 30px;
362
- margin: 15px -30px;
365
+ padding: 7px 12px;
363
366
line-height: 1.3em;
364
367
}
365
368
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
-
376
369
tt {
377
370
background-color: #ecf0f3;
378
371
color: #222;
@@ -393,6 +386,20 @@ a.reference:hover {
393
386
border-bottom: 1px solid {{ link_hover_color }};
394
387
}
395
388
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
+
396
403
a.footnote-reference {
397
404
text-decoration: none;
398
405
font-size: 0.7em;
@@ -408,6 +415,12 @@ a:hover tt {
408
415
background: #EEE;
409
416
}
410
417
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
+
411
424
412
425
@media screen and (max-width: 870px) {
413
426
0 commit comments