-
Notifications
You must be signed in to change notification settings - Fork 176
/
override_sphinx.css
199 lines (175 loc) · 3.54 KB
/
override_sphinx.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700');
/* OT NAV */
body {
padding: 0;
margin: 0;
font-family: "Open Sans", "sans-serif";
}
.highlight-none, .mi, .literal {
color: #048f85;
}
/* DOCS */
div.document {
padding-top: 150px;
margin-top: 0;
}
div.document [id] {
scroll-margin-top: 150px;
}
@media only screen and (min-device-width: 768px) and (min-width: 768px) and (max-width: 1023px) {
div.document {
padding-top: 100px;
margin-top: 0;
}
div.document [id] {
scroll-margin-top: 100px;
}
}
div.body p {
line-height: 20pt;
font-family: "Open Sans", "sans-serif";
}
div.body h1 {
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
font-size: 2.4em;
min-height: 78px;
}
div.body h1 + p {
padding-top: 24px;
}
div.sphinxsidebar h2,
div.sphinxsidebar h3,
div.sphinxsidebar h4,
div.sphinxsidebar h5,
div.sphinxsidebar h6,
div.body h2,
div.body h3,
div.body h4,
div.body h5 {
font-family: "Open Sans", "sans-serif";
}
/* Suppressing the display of the toctrees rendered in the doc body means we
can use the :hidden: argument to the toctree directive to control whether
toctree elements are rendered in the sidebar, rather than having to always
hide everything so it doesn't show up in the document
*/
div.toctree-wrapper.compound {
display: none;
}
li.toctree-l1 {
margin-bottom: 0.25rem;
}
/* div.sphinxsidebar h3 a,
div.sphinxsidebar h3 a:hover,
/*div.body h2 {
font-size: 22px;
}*/
@media screen and (max-width: 875px),(max-device-width: 767px) {
/* body{
padding: 20px 30px;
} */
div.documentwrapper {
float: none;
background: #fff;
}
div.sphinxsidebar {
display: block;
float: none;
width: 102.5%;
margin: -20px -30px 20px -30px;
padding: 60px 20px;
background: #FFF;
color: #111;
}
div.sphinxsidebar h3,
div.sphinxsidebar h4,
div.sphinxsidebar p,
div.sphinxsidebar h3 a {
color: #111;
}
div.sphinxsidebar a {
color: #111;
}
div.sphinxsidebar p.logo {
display: inline-block;
}
img.logo {
display: none;
}
div.document {
width: 100%;
margin: 0;
}
div.footer {
display: none;
}
div.bodywrapper {
margin: 0;
}
div.body {
min-height: 0;
padding: 0;
}
.rtd_doc_footer {
display: none;
}
.document {
width: auto;
}
.footer {
width: auto;
}
.footer {
width: auto;
}
/* .github {
display: none;
} */
div.sphinxsidebar {
position: relative;
margin-left: 0;
}
pre,
tt,
code {
font-size: 1em;
}
}
div.body p.caption {
font-size: 22px;
}
ul {
/* margin-left: 0; */
font-family: "Open Sans", "sans-serif";
}
ul ul {
list-style-type: circle;
margin-left: 30px;
color: #999;
font-family: "Open Sans", "sans-serif";
}
@media screen and (min-device-width: 320px)and (max-device-width: 640px) {
pre,
tt,
code {
font-size: 14px;
}
}
@media screen and (max-width: 875px){
div.body{
padding: 5%;
}
}
/* Fixes overflowing grey box for autogenerated methods */
table.docutils.field-list {
max-width: 595px;
background-color: white;
}
/* Makes pull-quote directives like code directives without monospace */
.pull-quote {
background-color: #EEE;
margin-left: 0;
padding-left: 30px;
}