1794.2.1
by Monty Taylor
Added in some .css files. |
1 |
/**
|
2 |
* Sphinx stylesheet -- basic theme
|
|
3 |
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
4 |
*/
|
|
5 |
||
6 |
/* -- main layout ----------------------------------------------------------- */
|
|
7 |
||
8 |
div.clearer { |
|
9 |
clear: both; |
|
10 |
}
|
|
11 |
||
12 |
/* -- relbar ---------------------------------------------------------------- */
|
|
13 |
||
14 |
div.related { |
|
15 |
width: 100%; |
|
16 |
font-size: 90%; |
|
17 |
}
|
|
18 |
||
19 |
div.related h3 { |
|
20 |
display: none; |
|
21 |
}
|
|
22 |
||
23 |
div.related ul { |
|
24 |
margin: 0; |
|
25 |
padding: 0 0 0 10px; |
|
26 |
list-style: none; |
|
27 |
}
|
|
28 |
||
29 |
div.related li { |
|
30 |
display: inline; |
|
31 |
}
|
|
32 |
||
33 |
div.related li.right { |
|
34 |
float: right; |
|
35 |
margin-right: 5px; |
|
36 |
}
|
|
37 |
||
38 |
/* -- sidebar --------------------------------------------------------------- */
|
|
39 |
||
40 |
div.sphinxsidebarwrapper { |
|
41 |
padding: 10px 5px 0 10px; |
|
42 |
}
|
|
43 |
||
44 |
div.sphinxsidebar { |
|
45 |
float: left; |
|
46 |
width: 230px; |
|
47 |
margin-left: -100%; |
|
48 |
font-size: 90%; |
|
49 |
}
|
|
50 |
||
51 |
div.sphinxsidebar ul { |
|
52 |
list-style: none; |
|
53 |
}
|
|
54 |
||
55 |
div.sphinxsidebar ul ul, |
|
56 |
div.sphinxsidebar ul.want-points { |
|
57 |
margin-left: 20px; |
|
58 |
list-style: square; |
|
59 |
}
|
|
60 |
||
61 |
div.sphinxsidebar ul ul { |
|
62 |
margin-top: 0; |
|
63 |
margin-bottom: 0; |
|
64 |
}
|
|
65 |
||
66 |
div.sphinxsidebar form { |
|
67 |
margin-top: 10px; |
|
68 |
}
|
|
69 |
||
70 |
div.sphinxsidebar input { |
|
71 |
border: 1px solid #98dbcc; |
|
72 |
font-family: sans-serif; |
|
73 |
font-size: 1em; |
|
74 |
}
|
|
75 |
||
76 |
img { |
|
77 |
border: 0; |
|
78 |
}
|
|
79 |
||
80 |
/* -- search page ----------------------------------------------------------- */
|
|
81 |
||
82 |
ul.search { |
|
83 |
margin: 10px 0 0 20px; |
|
84 |
padding: 0; |
|
85 |
}
|
|
86 |
||
87 |
ul.search li { |
|
88 |
padding: 5px 0 5px 20px; |
|
89 |
background-image: url(file.png); |
|
90 |
background-repeat: no-repeat; |
|
91 |
background-position: 0 7px; |
|
92 |
}
|
|
93 |
||
94 |
ul.search li a { |
|
95 |
font-weight: bold; |
|
96 |
}
|
|
97 |
||
98 |
ul.search li div.context { |
|
99 |
color: #888; |
|
100 |
margin: 2px 0 0 30px; |
|
101 |
text-align: left; |
|
102 |
}
|
|
103 |
||
104 |
ul.keywordmatches li.goodmatch a { |
|
105 |
font-weight: bold; |
|
106 |
}
|
|
107 |
||
108 |
/* -- index page ------------------------------------------------------------ */
|
|
109 |
||
110 |
table.contentstable { |
|
111 |
width: 90%; |
|
112 |
}
|
|
113 |
||
114 |
table.contentstable p.biglink { |
|
115 |
line-height: 150%; |
|
116 |
}
|
|
117 |
||
118 |
a.biglink { |
|
119 |
font-size: 1.3em; |
|
120 |
}
|
|
121 |
||
122 |
span.linkdescr { |
|
123 |
font-style: italic; |
|
124 |
padding-top: 5px; |
|
125 |
font-size: 90%; |
|
126 |
}
|
|
127 |
||
128 |
/* -- general index --------------------------------------------------------- */
|
|
129 |
||
130 |
table.indextable td { |
|
131 |
text-align: left; |
|
132 |
vertical-align: top; |
|
133 |
}
|
|
134 |
||
135 |
table.indextable dl, table.indextable dd { |
|
136 |
margin-top: 0; |
|
137 |
margin-bottom: 0; |
|
138 |
}
|
|
139 |
||
140 |
table.indextable tr.pcap { |
|
141 |
height: 10px; |
|
142 |
}
|
|
143 |
||
144 |
table.indextable tr.cap { |
|
145 |
margin-top: 10px; |
|
146 |
background-color: #f2f2f2; |
|
147 |
}
|
|
148 |
||
149 |
img.toggler { |
|
150 |
margin-right: 3px; |
|
151 |
margin-top: 3px; |
|
152 |
cursor: pointer; |
|
153 |
}
|
|
154 |
||
155 |
/* -- general body styles --------------------------------------------------- */
|
|
156 |
||
157 |
a.headerlink { |
|
158 |
visibility: hidden; |
|
159 |
}
|
|
160 |
||
161 |
h1:hover > a.headerlink, |
|
162 |
h2:hover > a.headerlink, |
|
163 |
h3:hover > a.headerlink, |
|
164 |
h4:hover > a.headerlink, |
|
165 |
h5:hover > a.headerlink, |
|
166 |
h6:hover > a.headerlink, |
|
167 |
dt:hover > a.headerlink { |
|
168 |
visibility: visible; |
|
169 |
}
|
|
170 |
||
171 |
div.body p.caption { |
|
172 |
text-align: inherit; |
|
173 |
}
|
|
174 |
||
175 |
div.body td { |
|
176 |
text-align: left; |
|
177 |
}
|
|
178 |
||
179 |
.field-list ul { |
|
180 |
padding-left: 1em; |
|
181 |
}
|
|
182 |
||
183 |
.first { |
|
184 |
}
|
|
185 |
||
186 |
p.rubric { |
|
187 |
margin-top: 30px; |
|
188 |
font-weight: bold; |
|
189 |
}
|
|
190 |
||
191 |
/* -- sidebars -------------------------------------------------------------- */
|
|
192 |
||
193 |
div.sidebar { |
|
194 |
margin: 0 0 0.5em 1em; |
|
195 |
border: 1px solid #ddb; |
|
196 |
padding: 7px 7px 0 7px; |
|
197 |
background-color: #ffe; |
|
198 |
width: 40%; |
|
199 |
float: right; |
|
200 |
}
|
|
201 |
||
202 |
p.sidebar-title { |
|
203 |
font-weight: bold; |
|
204 |
}
|
|
205 |
||
206 |
/* -- topics ---------------------------------------------------------------- */
|
|
207 |
||
208 |
div.topic { |
|
209 |
border: 1px solid #ccc; |
|
210 |
padding: 7px 7px 0 7px; |
|
211 |
margin: 10px 0 10px 0; |
|
212 |
}
|
|
213 |
||
214 |
p.topic-title { |
|
215 |
font-size: 1.1em; |
|
216 |
font-weight: bold; |
|
217 |
margin-top: 10px; |
|
218 |
}
|
|
219 |
||
220 |
/* -- admonitions ----------------------------------------------------------- */
|
|
221 |
||
222 |
div.admonition { |
|
223 |
margin-top: 10px; |
|
224 |
margin-bottom: 10px; |
|
225 |
padding: 7px; |
|
226 |
}
|
|
227 |
||
228 |
div.admonition dt { |
|
229 |
font-weight: bold; |
|
230 |
}
|
|
231 |
||
232 |
div.admonition dl { |
|
233 |
margin-bottom: 0; |
|
234 |
}
|
|
235 |
||
236 |
p.admonition-title { |
|
237 |
margin: 0px 10px 5px 0px; |
|
238 |
font-weight: bold; |
|
239 |
}
|
|
240 |
||
241 |
div.body p.centered { |
|
242 |
text-align: center; |
|
243 |
margin-top: 25px; |
|
244 |
}
|
|
245 |
||
246 |
/* -- tables ---------------------------------------------------------------- */
|
|
247 |
||
248 |
table.docutils { |
|
249 |
border: 0; |
|
250 |
border-collapse: collapse; |
|
251 |
}
|
|
252 |
||
253 |
table.docutils td, table.docutils th { |
|
254 |
padding: 1px 8px 1px 0; |
|
255 |
border-top: 0; |
|
256 |
border-left: 0; |
|
257 |
border-right: 0; |
|
258 |
border-bottom: 1px solid #aaa; |
|
259 |
}
|
|
260 |
||
261 |
table.field-list td, table.field-list th { |
|
262 |
border: 0 !important; |
|
263 |
}
|
|
264 |
||
265 |
table.footnote td, table.footnote th { |
|
266 |
border: 0 !important; |
|
267 |
}
|
|
268 |
||
269 |
th { |
|
270 |
text-align: left; |
|
271 |
padding-right: 5px; |
|
272 |
}
|
|
273 |
||
274 |
/* -- other body styles ----------------------------------------------------- */
|
|
275 |
||
276 |
dl { |
|
277 |
margin-bottom: 15px; |
|
278 |
}
|
|
279 |
||
280 |
dd p { |
|
281 |
margin-top: 0px; |
|
282 |
}
|
|
283 |
||
284 |
dd ul, dd table { |
|
285 |
margin-bottom: 10px; |
|
286 |
}
|
|
287 |
||
288 |
dd { |
|
289 |
margin-top: 3px; |
|
290 |
margin-bottom: 10px; |
|
291 |
margin-left: 30px; |
|
292 |
}
|
|
293 |
||
294 |
dt:target, .highlight { |
|
295 |
background-color: #fbe54e; |
|
296 |
}
|
|
297 |
||
298 |
dl.glossary dt { |
|
299 |
font-weight: bold; |
|
300 |
font-size: 1.1em; |
|
301 |
}
|
|
302 |
||
303 |
.field-list ul { |
|
304 |
margin: 0; |
|
305 |
padding-left: 1em; |
|
306 |
}
|
|
307 |
||
308 |
.field-list p { |
|
309 |
margin: 0; |
|
310 |
}
|
|
311 |
||
312 |
.refcount { |
|
313 |
color: #060; |
|
314 |
}
|
|
315 |
||
316 |
.optional { |
|
317 |
font-size: 1.3em; |
|
318 |
}
|
|
319 |
||
320 |
.versionmodified { |
|
321 |
font-style: italic; |
|
322 |
}
|
|
323 |
||
324 |
.system-message { |
|
325 |
background-color: #fda; |
|
326 |
padding: 5px; |
|
327 |
border: 3px solid red; |
|
328 |
}
|
|
329 |
||
330 |
.footnote:target { |
|
331 |
background-color: #ffa |
|
332 |
}
|
|
333 |
||
334 |
.line-block { |
|
335 |
display: block; |
|
336 |
margin-top: 1em; |
|
337 |
margin-bottom: 1em; |
|
338 |
}
|
|
339 |
||
340 |
.line-block .line-block { |
|
341 |
margin-top: 0; |
|
342 |
margin-bottom: 0; |
|
343 |
margin-left: 1.5em; |
|
344 |
}
|
|
345 |
||
346 |
/* -- code displays --------------------------------------------------------- */
|
|
347 |
||
348 |
pre { |
|
349 |
overflow: auto; |
|
350 |
}
|
|
351 |
||
352 |
td.linenos pre { |
|
353 |
padding: 5px 0px; |
|
354 |
border: 0; |
|
355 |
background-color: transparent; |
|
356 |
color: #aaa; |
|
357 |
}
|
|
358 |
||
359 |
table.highlighttable { |
|
360 |
margin-left: 0.5em; |
|
361 |
}
|
|
362 |
||
363 |
table.highlighttable td { |
|
364 |
padding: 0 0.5em 0 0.5em; |
|
365 |
}
|
|
366 |
||
367 |
tt.descname { |
|
368 |
background-color: transparent; |
|
369 |
font-weight: bold; |
|
370 |
font-size: 1.2em; |
|
371 |
}
|
|
372 |
||
373 |
tt.descclassname { |
|
374 |
background-color: transparent; |
|
375 |
}
|
|
376 |
||
377 |
tt.xref, a tt { |
|
378 |
background-color: transparent; |
|
379 |
font-weight: bold; |
|
380 |
}
|
|
381 |
||
382 |
h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { |
|
383 |
background-color: transparent; |
|
384 |
}
|
|
385 |
||
386 |
/* -- math display ---------------------------------------------------------- */
|
|
387 |
||
388 |
img.math { |
|
389 |
vertical-align: middle; |
|
390 |
}
|
|
391 |
||
392 |
div.body div.math p { |
|
393 |
text-align: center; |
|
394 |
}
|
|
395 |
||
396 |
span.eqno { |
|
397 |
float: right; |
|
398 |
}
|
|
399 |
||
400 |
/* -- printout stylesheet --------------------------------------------------- */
|
|
401 |
||
402 |
@media print { |
|
403 |
div.document, |
|
404 |
div.documentwrapper, |
|
405 |
div.bodywrapper { |
|
406 |
margin: 0 !important; |
|
407 |
width: 100%; |
|
408 |
}
|
|
409 |
||
410 |
div.sphinxsidebar, |
|
411 |
div.related, |
|
412 |
div.footer, |
|
413 |
#top-link { |
|
414 |
display: none; |
|
415 |
}
|
|
416 |
}
|