1 /* |
|
2 * basic.css |
|
3 * ~~~~~~~~~ |
|
4 * |
|
5 * Sphinx stylesheet -- basic theme. |
|
6 * |
|
7 * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. |
|
8 * :license: BSD, see LICENSE for details. |
|
9 * |
|
10 */ |
|
11 |
|
12 /* -- main layout ----------------------------------------------------------- */ |
|
13 |
|
14 div.clearer { |
|
15 clear: both; |
|
16 } |
|
17 |
|
18 /* -- relbar ---------------------------------------------------------------- */ |
|
19 |
|
20 div.related { |
|
21 width: 100%; |
|
22 font-size: 90%; |
|
23 } |
|
24 |
|
25 div.related h3 { |
|
26 display: none; |
|
27 } |
|
28 |
|
29 div.related ul { |
|
30 margin: 0; |
|
31 padding: 0 0 0 10px; |
|
32 list-style: none; |
|
33 } |
|
34 |
|
35 div.related li { |
|
36 display: inline; |
|
37 } |
|
38 |
|
39 div.related li.right { |
|
40 float: right; |
|
41 margin-right: 5px; |
|
42 } |
|
43 |
|
44 /* -- sidebar --------------------------------------------------------------- */ |
|
45 |
|
46 div.sphinxsidebarwrapper { |
|
47 padding: 10px 5px 0 10px; |
|
48 } |
|
49 |
|
50 div.sphinxsidebar { |
|
51 float: left; |
|
52 width: 230px; |
|
53 margin-left: -100%; |
|
54 font-size: 90%; |
|
55 word-wrap: break-word; |
|
56 overflow-wrap : break-word; |
|
57 } |
|
58 |
|
59 div.sphinxsidebar ul { |
|
60 list-style: none; |
|
61 } |
|
62 |
|
63 div.sphinxsidebar ul ul, |
|
64 div.sphinxsidebar ul.want-points { |
|
65 margin-left: 20px; |
|
66 list-style: square; |
|
67 } |
|
68 |
|
69 div.sphinxsidebar ul ul { |
|
70 margin-top: 0; |
|
71 margin-bottom: 0; |
|
72 } |
|
73 |
|
74 div.sphinxsidebar form { |
|
75 margin-top: 10px; |
|
76 } |
|
77 |
|
78 div.sphinxsidebar input { |
|
79 border: 1px solid #98dbcc; |
|
80 font-family: sans-serif; |
|
81 font-size: 1em; |
|
82 } |
|
83 |
|
84 div.sphinxsidebar #searchbox input[type="text"] { |
|
85 width: 170px; |
|
86 } |
|
87 |
|
88 img { |
|
89 border: 0; |
|
90 max-width: 100%; |
|
91 } |
|
92 |
|
93 /* -- search page ----------------------------------------------------------- */ |
|
94 |
|
95 ul.search { |
|
96 margin: 10px 0 0 20px; |
|
97 padding: 0; |
|
98 } |
|
99 |
|
100 ul.search li { |
|
101 padding: 5px 0 5px 20px; |
|
102 background-image: url(file.png); |
|
103 background-repeat: no-repeat; |
|
104 background-position: 0 7px; |
|
105 } |
|
106 |
|
107 ul.search li a { |
|
108 font-weight: bold; |
|
109 } |
|
110 |
|
111 ul.search li div.context { |
|
112 color: #888; |
|
113 margin: 2px 0 0 30px; |
|
114 text-align: left; |
|
115 } |
|
116 |
|
117 ul.keywordmatches li.goodmatch a { |
|
118 font-weight: bold; |
|
119 } |
|
120 |
|
121 /* -- index page ------------------------------------------------------------ */ |
|
122 |
|
123 table.contentstable { |
|
124 width: 90%; |
|
125 } |
|
126 |
|
127 table.contentstable p.biglink { |
|
128 line-height: 150%; |
|
129 } |
|
130 |
|
131 a.biglink { |
|
132 font-size: 1.3em; |
|
133 } |
|
134 |
|
135 span.linkdescr { |
|
136 font-style: italic; |
|
137 padding-top: 5px; |
|
138 font-size: 90%; |
|
139 } |
|
140 |
|
141 /* -- general index --------------------------------------------------------- */ |
|
142 |
|
143 table.indextable { |
|
144 width: 100%; |
|
145 } |
|
146 |
|
147 table.indextable td { |
|
148 text-align: left; |
|
149 vertical-align: top; |
|
150 } |
|
151 |
|
152 table.indextable dl, table.indextable dd { |
|
153 margin-top: 0; |
|
154 margin-bottom: 0; |
|
155 } |
|
156 |
|
157 table.indextable tr.pcap { |
|
158 height: 10px; |
|
159 } |
|
160 |
|
161 table.indextable tr.cap { |
|
162 margin-top: 10px; |
|
163 background-color: #f2f2f2; |
|
164 } |
|
165 |
|
166 img.toggler { |
|
167 margin-right: 3px; |
|
168 margin-top: 3px; |
|
169 cursor: pointer; |
|
170 } |
|
171 |
|
172 div.modindex-jumpbox { |
|
173 border-top: 1px solid #ddd; |
|
174 border-bottom: 1px solid #ddd; |
|
175 margin: 1em 0 1em 0; |
|
176 padding: 0.4em; |
|
177 } |
|
178 |
|
179 div.genindex-jumpbox { |
|
180 border-top: 1px solid #ddd; |
|
181 border-bottom: 1px solid #ddd; |
|
182 margin: 1em 0 1em 0; |
|
183 padding: 0.4em; |
|
184 } |
|
185 |
|
186 /* -- general body styles --------------------------------------------------- */ |
|
187 |
|
188 div.body p, div.body dd, div.body li, div.body blockquote { |
|
189 -moz-hyphens: auto; |
|
190 -ms-hyphens: auto; |
|
191 -webkit-hyphens: auto; |
|
192 hyphens: auto; |
|
193 } |
|
194 |
|
195 a.headerlink { |
|
196 visibility: hidden; |
|
197 } |
|
198 |
|
199 h1:hover > a.headerlink, |
|
200 h2:hover > a.headerlink, |
|
201 h3:hover > a.headerlink, |
|
202 h4:hover > a.headerlink, |
|
203 h5:hover > a.headerlink, |
|
204 h6:hover > a.headerlink, |
|
205 dt:hover > a.headerlink, |
|
206 caption:hover > a.headerlink, |
|
207 p.caption:hover > a.headerlink, |
|
208 div.code-block-caption:hover > a.headerlink { |
|
209 visibility: visible; |
|
210 } |
|
211 |
|
212 div.body p.caption { |
|
213 text-align: inherit; |
|
214 } |
|
215 |
|
216 div.body td { |
|
217 text-align: left; |
|
218 } |
|
219 |
|
220 .field-list ul { |
|
221 padding-left: 1em; |
|
222 } |
|
223 |
|
224 .first { |
|
225 margin-top: 0 !important; |
|
226 } |
|
227 |
|
228 p.rubric { |
|
229 margin-top: 30px; |
|
230 font-weight: bold; |
|
231 } |
|
232 |
|
233 img.align-left, .figure.align-left, object.align-left { |
|
234 clear: left; |
|
235 float: left; |
|
236 margin-right: 1em; |
|
237 } |
|
238 |
|
239 img.align-right, .figure.align-right, object.align-right { |
|
240 clear: right; |
|
241 float: right; |
|
242 margin-left: 1em; |
|
243 } |
|
244 |
|
245 img.align-center, .figure.align-center, object.align-center { |
|
246 display: block; |
|
247 margin-left: auto; |
|
248 margin-right: auto; |
|
249 } |
|
250 |
|
251 .align-left { |
|
252 text-align: left; |
|
253 } |
|
254 |
|
255 .align-center { |
|
256 text-align: center; |
|
257 } |
|
258 |
|
259 .align-right { |
|
260 text-align: right; |
|
261 } |
|
262 |
|
263 /* -- sidebars -------------------------------------------------------------- */ |
|
264 |
|
265 div.sidebar { |
|
266 margin: 0 0 0.5em 1em; |
|
267 border: 1px solid #ddb; |
|
268 padding: 7px 7px 0 7px; |
|
269 background-color: #ffe; |
|
270 width: 40%; |
|
271 float: right; |
|
272 } |
|
273 |
|
274 p.sidebar-title { |
|
275 font-weight: bold; |
|
276 } |
|
277 |
|
278 /* -- topics ---------------------------------------------------------------- */ |
|
279 |
|
280 div.topic { |
|
281 border: 1px solid #ccc; |
|
282 padding: 7px 7px 0 7px; |
|
283 margin: 10px 0 10px 0; |
|
284 } |
|
285 |
|
286 p.topic-title { |
|
287 font-size: 1.1em; |
|
288 font-weight: bold; |
|
289 margin-top: 10px; |
|
290 } |
|
291 |
|
292 /* -- admonitions ----------------------------------------------------------- */ |
|
293 |
|
294 div.admonition { |
|
295 margin-top: 10px; |
|
296 margin-bottom: 10px; |
|
297 padding: 7px; |
|
298 } |
|
299 |
|
300 div.admonition dt { |
|
301 font-weight: bold; |
|
302 } |
|
303 |
|
304 div.admonition dl { |
|
305 margin-bottom: 0; |
|
306 } |
|
307 |
|
308 p.admonition-title { |
|
309 margin: 0px 10px 5px 0px; |
|
310 font-weight: bold; |
|
311 } |
|
312 |
|
313 div.body p.centered { |
|
314 text-align: center; |
|
315 margin-top: 25px; |
|
316 } |
|
317 |
|
318 /* -- tables ---------------------------------------------------------------- */ |
|
319 |
|
320 table.docutils { |
|
321 border: 0; |
|
322 border-collapse: collapse; |
|
323 } |
|
324 |
|
325 table caption span.caption-number { |
|
326 font-style: italic; |
|
327 } |
|
328 |
|
329 table caption span.caption-text { |
|
330 } |
|
331 |
|
332 table.docutils td, table.docutils th { |
|
333 padding: 1px 8px 1px 5px; |
|
334 border-top: 0; |
|
335 border-left: 0; |
|
336 border-right: 0; |
|
337 border-bottom: 1px solid #aaa; |
|
338 } |
|
339 |
|
340 table.field-list td, table.field-list th { |
|
341 border: 0 !important; |
|
342 } |
|
343 |
|
344 table.footnote td, table.footnote th { |
|
345 border: 0 !important; |
|
346 } |
|
347 |
|
348 th { |
|
349 text-align: left; |
|
350 padding-right: 5px; |
|
351 } |
|
352 |
|
353 table.citation { |
|
354 border-left: solid 1px gray; |
|
355 margin-left: 1px; |
|
356 } |
|
357 |
|
358 table.citation td { |
|
359 border-bottom: none; |
|
360 } |
|
361 |
|
362 /* -- figures --------------------------------------------------------------- */ |
|
363 |
|
364 div.figure { |
|
365 margin: 0.5em; |
|
366 padding: 0.5em; |
|
367 } |
|
368 |
|
369 div.figure p.caption { |
|
370 padding: 0.3em; |
|
371 } |
|
372 |
|
373 div.figure p.caption span.caption-number { |
|
374 font-style: italic; |
|
375 } |
|
376 |
|
377 div.figure p.caption span.caption-text { |
|
378 } |
|
379 |
|
380 |
|
381 /* -- other body styles ----------------------------------------------------- */ |
|
382 |
|
383 ol.arabic { |
|
384 list-style: decimal; |
|
385 } |
|
386 |
|
387 ol.loweralpha { |
|
388 list-style: lower-alpha; |
|
389 } |
|
390 |
|
391 ol.upperalpha { |
|
392 list-style: upper-alpha; |
|
393 } |
|
394 |
|
395 ol.lowerroman { |
|
396 list-style: lower-roman; |
|
397 } |
|
398 |
|
399 ol.upperroman { |
|
400 list-style: upper-roman; |
|
401 } |
|
402 |
|
403 dl { |
|
404 margin-bottom: 15px; |
|
405 } |
|
406 |
|
407 dd p { |
|
408 margin-top: 0px; |
|
409 } |
|
410 |
|
411 dd ul, dd table { |
|
412 margin-bottom: 10px; |
|
413 } |
|
414 |
|
415 dd { |
|
416 margin-top: 3px; |
|
417 margin-bottom: 10px; |
|
418 margin-left: 30px; |
|
419 } |
|
420 |
|
421 dt:target, .highlighted { |
|
422 background-color: #fbe54e; |
|
423 } |
|
424 |
|
425 dl.glossary dt { |
|
426 font-weight: bold; |
|
427 font-size: 1.1em; |
|
428 } |
|
429 |
|
430 .field-list ul { |
|
431 margin: 0; |
|
432 padding-left: 1em; |
|
433 } |
|
434 |
|
435 .field-list p { |
|
436 margin: 0; |
|
437 } |
|
438 |
|
439 .optional { |
|
440 font-size: 1.3em; |
|
441 } |
|
442 |
|
443 .sig-paren { |
|
444 font-size: larger; |
|
445 } |
|
446 |
|
447 .versionmodified { |
|
448 font-style: italic; |
|
449 } |
|
450 |
|
451 .system-message { |
|
452 background-color: #fda; |
|
453 padding: 5px; |
|
454 border: 3px solid red; |
|
455 } |
|
456 |
|
457 .footnote:target { |
|
458 background-color: #ffa; |
|
459 } |
|
460 |
|
461 .line-block { |
|
462 display: block; |
|
463 margin-top: 1em; |
|
464 margin-bottom: 1em; |
|
465 } |
|
466 |
|
467 .line-block .line-block { |
|
468 margin-top: 0; |
|
469 margin-bottom: 0; |
|
470 margin-left: 1.5em; |
|
471 } |
|
472 |
|
473 .guilabel, .menuselection { |
|
474 font-family: sans-serif; |
|
475 } |
|
476 |
|
477 .accelerator { |
|
478 text-decoration: underline; |
|
479 } |
|
480 |
|
481 .classifier { |
|
482 font-style: oblique; |
|
483 } |
|
484 |
|
485 abbr, acronym { |
|
486 border-bottom: dotted 1px; |
|
487 cursor: help; |
|
488 } |
|
489 |
|
490 /* -- code displays --------------------------------------------------------- */ |
|
491 |
|
492 pre { |
|
493 overflow: auto; |
|
494 overflow-y: hidden; /* fixes display issues on Chrome browsers */ |
|
495 } |
|
496 |
|
497 span.pre { |
|
498 -moz-hyphens: none; |
|
499 -ms-hyphens: none; |
|
500 -webkit-hyphens: none; |
|
501 hyphens: none; |
|
502 } |
|
503 |
|
504 td.linenos pre { |
|
505 padding: 5px 0px; |
|
506 border: 0; |
|
507 background-color: transparent; |
|
508 color: #aaa; |
|
509 } |
|
510 |
|
511 table.highlighttable { |
|
512 margin-left: 0.5em; |
|
513 } |
|
514 |
|
515 table.highlighttable td { |
|
516 padding: 0 0.5em 0 0.5em; |
|
517 } |
|
518 |
|
519 div.code-block-caption { |
|
520 padding: 2px 5px; |
|
521 font-size: small; |
|
522 } |
|
523 |
|
524 div.code-block-caption code { |
|
525 background-color: transparent; |
|
526 } |
|
527 |
|
528 div.code-block-caption + div > div.highlight > pre { |
|
529 margin-top: 0; |
|
530 } |
|
531 |
|
532 div.code-block-caption span.caption-number { |
|
533 padding: 0.1em 0.3em; |
|
534 font-style: italic; |
|
535 } |
|
536 |
|
537 div.code-block-caption span.caption-text { |
|
538 } |
|
539 |
|
540 div.literal-block-wrapper { |
|
541 padding: 1em 1em 0; |
|
542 } |
|
543 |
|
544 div.literal-block-wrapper div.highlight { |
|
545 margin: 0; |
|
546 } |
|
547 |
|
548 code.descname { |
|
549 background-color: transparent; |
|
550 font-weight: bold; |
|
551 font-size: 1.2em; |
|
552 } |
|
553 |
|
554 code.descclassname { |
|
555 background-color: transparent; |
|
556 } |
|
557 |
|
558 code.xref, a code { |
|
559 background-color: transparent; |
|
560 font-weight: bold; |
|
561 } |
|
562 |
|
563 h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { |
|
564 background-color: transparent; |
|
565 } |
|
566 |
|
567 .viewcode-link { |
|
568 float: right; |
|
569 } |
|
570 |
|
571 .viewcode-back { |
|
572 float: right; |
|
573 font-family: sans-serif; |
|
574 } |
|
575 |
|
576 div.viewcode-block:target { |
|
577 margin: -1px -10px; |
|
578 padding: 0 10px; |
|
579 } |
|
580 |
|
581 /* -- math display ---------------------------------------------------------- */ |
|
582 |
|
583 img.math { |
|
584 vertical-align: middle; |
|
585 } |
|
586 |
|
587 div.body div.math p { |
|
588 text-align: center; |
|
589 } |
|
590 |
|
591 span.eqno { |
|
592 float: right; |
|
593 } |
|
594 |
|
595 /* -- printout stylesheet --------------------------------------------------- */ |
|
596 |
|
597 @media print { |
|
598 div.document, |
|
599 div.documentwrapper, |
|
600 div.bodywrapper { |
|
601 margin: 0 !important; |
|
602 width: 100%; |
|
603 } |
|
604 |
|
605 div.sphinxsidebar, |
|
606 div.related, |
|
607 div.footer, |
|
608 #top-link { |
|
609 display: none; |
|
610 } |
|
611 } |
|