/
rtd_theme_overrides.css
84 lines (71 loc) · 1.84 KB
/
rtd_theme_overrides.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/* -----------------------------------------------------------------------------
* RTD Overrides
*/
/* Style for toctree in a table */
td .toctree-wrapper ul {
margin-bottom: 0 !important;
line-height: 18px !important;
list-style: none !important;
font-size: 16px;
}
td .toctree-wrapper ul li {
list-style: none !important;
margin-left: 0 !important;
}
/* Unordered list nested in ordered list */
.section li ul {
margin-bottom: 12px !important;
}
/* Add margin-bottom to inheritance diagrams */
div.graphviz {
margin-bottom: 24px !important;
}
/*
* Remove bottom margin for the autosummary table in a directive:option::
* section
*/
.rst-content dl.rst table p, .rst-content dl.std table p,
.rst-content dl.py table p {
margin-bottom: 0 !important;
}
/* Remove excess bottom margin for table headings */
.rst-content table.docutils thead p {
margin-bottom: 0;
}
/* Remove excess bottom margin for for multiline table entries when using line-block */
.rst-content table.docutils div.line-block {
margin-bottom: 0;
}
/* Allow text wrapping for last column of a table. */
.rst-content table.docutils td:last-child p {
white-space: normal;
line-height: 140%;
}
/* -----------------------------------------------------------------------------
* RTD layout styling additions
*/
/* Style for module/index links in sidebar below the search field. */
div.pkgnav {
text-align: center;
font-size: 1em;
color: white;
margin-top: 12px;
}
div.pkgnav ul {
/*margin: 3px 0px;*/
list-style: none;
}
div.pkgnav ul li {
display: inline;
}
div.pkgnav ul li a {
margin: 0;
/*padding: 0 5px 0 5px;*/
/*line-height: 1.75em;*/
color: #f9f9f0;
text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}
div.pkgnav ul li a:hover {
color: white;
text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}