1 /* |
|
2 * basic.css |
|
3 * ~~~~~~~~~ |
|
4 * |
|
5 * Sphinx stylesheet -- basic theme. |
|
6 * |
|
7 * :copyright: Copyright 2007-2017 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 margin-left: auto; |
|
126 margin-right: auto; |
|
127 } |
|
128 |
|
129 table.contentstable p.biglink { |
|
130 line-height: 150%; |
|
131 } |
|
132 |
|
133 a.biglink { |
|
134 font-size: 1.3em; |
|
135 } |
|
136 |
|
137 span.linkdescr { |
|
138 font-style: italic; |
|
139 padding-top: 5px; |
|
140 font-size: 90%; |
|
141 } |
|
142 |
|
143 /* -- general index --------------------------------------------------------- */ |
|
144 |
|
145 table.indextable { |
|
146 width: 100%; |
|
147 } |
|
148 |
|
149 table.indextable td { |
|
150 text-align: left; |
|
151 vertical-align: top; |
|
152 } |
|
153 |
|
154 table.indextable ul { |
|
155 margin-top: 0; |
|
156 margin-bottom: 0; |
|
157 list-style-type: none; |
|
158 } |
|
159 |
|
160 table.indextable > tbody > tr > td > ul { |
|
161 padding-left: 0em; |
|
162 } |
|
163 |
|
164 table.indextable tr.pcap { |
|
165 height: 10px; |
|
166 } |
|
167 |
|
168 table.indextable tr.cap { |
|
169 margin-top: 10px; |
|
170 background-color: #f2f2f2; |
|
171 } |
|
172 |
|
173 img.toggler { |
|
174 margin-right: 3px; |
|
175 margin-top: 3px; |
|
176 cursor: pointer; |
|
177 } |
|
178 |
|
179 div.modindex-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 div.genindex-jumpbox { |
|
187 border-top: 1px solid #ddd; |
|
188 border-bottom: 1px solid #ddd; |
|
189 margin: 1em 0 1em 0; |
|
190 padding: 0.4em; |
|
191 } |
|
192 |
|
193 /* -- domain module index --------------------------------------------------- */ |
|
194 |
|
195 table.modindextable td { |
|
196 padding: 2px; |
|
197 border-collapse: collapse; |
|
198 } |
|
199 |
|
200 /* -- general body styles --------------------------------------------------- */ |
|
201 |
|
202 div.body p, div.body dd, div.body li, div.body blockquote { |
|
203 -moz-hyphens: auto; |
|
204 -ms-hyphens: auto; |
|
205 -webkit-hyphens: auto; |
|
206 hyphens: auto; |
|
207 } |
|
208 |
|
209 a.headerlink { |
|
210 visibility: hidden; |
|
211 } |
|
212 |
|
213 h1:hover > a.headerlink, |
|
214 h2:hover > a.headerlink, |
|
215 h3:hover > a.headerlink, |
|
216 h4:hover > a.headerlink, |
|
217 h5:hover > a.headerlink, |
|
218 h6:hover > a.headerlink, |
|
219 dt:hover > a.headerlink, |
|
220 caption:hover > a.headerlink, |
|
221 p.caption:hover > a.headerlink, |
|
222 div.code-block-caption:hover > a.headerlink { |
|
223 visibility: visible; |
|
224 } |
|
225 |
|
226 div.body p.caption { |
|
227 text-align: inherit; |
|
228 } |
|
229 |
|
230 div.body td { |
|
231 text-align: left; |
|
232 } |
|
233 |
|
234 .first { |
|
235 margin-top: 0 !important; |
|
236 } |
|
237 |
|
238 p.rubric { |
|
239 margin-top: 30px; |
|
240 font-weight: bold; |
|
241 } |
|
242 |
|
243 img.align-left, .figure.align-left, object.align-left { |
|
244 clear: left; |
|
245 float: left; |
|
246 margin-right: 1em; |
|
247 } |
|
248 |
|
249 img.align-right, .figure.align-right, object.align-right { |
|
250 clear: right; |
|
251 float: right; |
|
252 margin-left: 1em; |
|
253 } |
|
254 |
|
255 img.align-center, .figure.align-center, object.align-center { |
|
256 display: block; |
|
257 margin-left: auto; |
|
258 margin-right: auto; |
|
259 } |
|
260 |
|
261 .align-left { |
|
262 text-align: left; |
|
263 } |
|
264 |
|
265 .align-center { |
|
266 text-align: center; |
|
267 } |
|
268 |
|
269 .align-right { |
|
270 text-align: right; |
|
271 } |
|
272 |
|
273 /* -- sidebars -------------------------------------------------------------- */ |
|
274 |
|
275 div.sidebar { |
|
276 margin: 0 0 0.5em 1em; |
|
277 border: 1px solid #ddb; |
|
278 padding: 7px 7px 0 7px; |
|
279 background-color: #ffe; |
|
280 width: 40%; |
|
281 float: right; |
|
282 } |
|
283 |
|
284 p.sidebar-title { |
|
285 font-weight: bold; |
|
286 } |
|
287 |
|
288 /* -- topics ---------------------------------------------------------------- */ |
|
289 |
|
290 div.topic { |
|
291 border: 1px solid #ccc; |
|
292 padding: 7px 7px 0 7px; |
|
293 margin: 10px 0 10px 0; |
|
294 } |
|
295 |
|
296 p.topic-title { |
|
297 font-size: 1.1em; |
|
298 font-weight: bold; |
|
299 margin-top: 10px; |
|
300 } |
|
301 |
|
302 /* -- admonitions ----------------------------------------------------------- */ |
|
303 |
|
304 div.admonition { |
|
305 margin-top: 10px; |
|
306 margin-bottom: 10px; |
|
307 padding: 7px; |
|
308 } |
|
309 |
|
310 div.admonition dt { |
|
311 font-weight: bold; |
|
312 } |
|
313 |
|
314 div.admonition dl { |
|
315 margin-bottom: 0; |
|
316 } |
|
317 |
|
318 p.admonition-title { |
|
319 margin: 0px 10px 5px 0px; |
|
320 font-weight: bold; |
|
321 } |
|
322 |
|
323 div.body p.centered { |
|
324 text-align: center; |
|
325 margin-top: 25px; |
|
326 } |
|
327 |
|
328 /* -- tables ---------------------------------------------------------------- */ |
|
329 |
|
330 table.docutils { |
|
331 border: 0; |
|
332 border-collapse: collapse; |
|
333 } |
|
334 |
|
335 table caption span.caption-number { |
|
336 font-style: italic; |
|
337 } |
|
338 |
|
339 table caption span.caption-text { |
|
340 } |
|
341 |
|
342 table.docutils td, table.docutils th { |
|
343 padding: 1px 8px 1px 5px; |
|
344 border-top: 0; |
|
345 border-left: 0; |
|
346 border-right: 0; |
|
347 border-bottom: 1px solid #aaa; |
|
348 } |
|
349 |
|
350 table.footnote td, table.footnote th { |
|
351 border: 0 !important; |
|
352 } |
|
353 |
|
354 th { |
|
355 text-align: left; |
|
356 padding-right: 5px; |
|
357 } |
|
358 |
|
359 table.citation { |
|
360 border-left: solid 1px gray; |
|
361 margin-left: 1px; |
|
362 } |
|
363 |
|
364 table.citation td { |
|
365 border-bottom: none; |
|
366 } |
|
367 |
|
368 /* -- figures --------------------------------------------------------------- */ |
|
369 |
|
370 div.figure { |
|
371 margin: 0.5em; |
|
372 padding: 0.5em; |
|
373 } |
|
374 |
|
375 div.figure p.caption { |
|
376 padding: 0.3em; |
|
377 } |
|
378 |
|
379 div.figure p.caption span.caption-number { |
|
380 font-style: italic; |
|
381 } |
|
382 |
|
383 div.figure p.caption span.caption-text { |
|
384 } |
|
385 |
|
386 /* -- field list styles ----------------------------------------------------- */ |
|
387 |
|
388 table.field-list td, table.field-list th { |
|
389 border: 0 !important; |
|
390 } |
|
391 |
|
392 .field-list ul { |
|
393 margin: 0; |
|
394 padding-left: 1em; |
|
395 } |
|
396 |
|
397 .field-list p { |
|
398 margin: 0; |
|
399 } |
|
400 |
|
401 .field-name { |
|
402 -moz-hyphens: manual; |
|
403 -ms-hyphens: manual; |
|
404 -webkit-hyphens: manual; |
|
405 hyphens: manual; |
|
406 } |
|
407 |
|
408 /* -- other body styles ----------------------------------------------------- */ |
|
409 |
|
410 ol.arabic { |
|
411 list-style: decimal; |
|
412 } |
|
413 |
|
414 ol.loweralpha { |
|
415 list-style: lower-alpha; |
|
416 } |
|
417 |
|
418 ol.upperalpha { |
|
419 list-style: upper-alpha; |
|
420 } |
|
421 |
|
422 ol.lowerroman { |
|
423 list-style: lower-roman; |
|
424 } |
|
425 |
|
426 ol.upperroman { |
|
427 list-style: upper-roman; |
|
428 } |
|
429 |
|
430 dl { |
|
431 margin-bottom: 15px; |
|
432 } |
|
433 |
|
434 dd p { |
|
435 margin-top: 0px; |
|
436 } |
|
437 |
|
438 dd ul, dd table { |
|
439 margin-bottom: 10px; |
|
440 } |
|
441 |
|
442 dd { |
|
443 margin-top: 3px; |
|
444 margin-bottom: 10px; |
|
445 margin-left: 30px; |
|
446 } |
|
447 |
|
448 dt:target, span.highlighted { |
|
449 background-color: #fbe54e; |
|
450 } |
|
451 |
|
452 rect.highlighted { |
|
453 fill: #fbe54e; |
|
454 } |
|
455 |
|
456 dl.glossary dt { |
|
457 font-weight: bold; |
|
458 font-size: 1.1em; |
|
459 } |
|
460 |
|
461 .optional { |
|
462 font-size: 1.3em; |
|
463 } |
|
464 |
|
465 .sig-paren { |
|
466 font-size: larger; |
|
467 } |
|
468 |
|
469 .versionmodified { |
|
470 font-style: italic; |
|
471 } |
|
472 |
|
473 .system-message { |
|
474 background-color: #fda; |
|
475 padding: 5px; |
|
476 border: 3px solid red; |
|
477 } |
|
478 |
|
479 .footnote:target { |
|
480 background-color: #ffa; |
|
481 } |
|
482 |
|
483 .line-block { |
|
484 display: block; |
|
485 margin-top: 1em; |
|
486 margin-bottom: 1em; |
|
487 } |
|
488 |
|
489 .line-block .line-block { |
|
490 margin-top: 0; |
|
491 margin-bottom: 0; |
|
492 margin-left: 1.5em; |
|
493 } |
|
494 |
|
495 .guilabel, .menuselection { |
|
496 font-family: sans-serif; |
|
497 } |
|
498 |
|
499 .accelerator { |
|
500 text-decoration: underline; |
|
501 } |
|
502 |
|
503 .classifier { |
|
504 font-style: oblique; |
|
505 } |
|
506 |
|
507 abbr, acronym { |
|
508 border-bottom: dotted 1px; |
|
509 cursor: help; |
|
510 } |
|
511 |
|
512 /* -- code displays --------------------------------------------------------- */ |
|
513 |
|
514 pre { |
|
515 overflow: auto; |
|
516 overflow-y: hidden; /* fixes display issues on Chrome browsers */ |
|
517 } |
|
518 |
|
519 span.pre { |
|
520 -moz-hyphens: none; |
|
521 -ms-hyphens: none; |
|
522 -webkit-hyphens: none; |
|
523 hyphens: none; |
|
524 } |
|
525 |
|
526 td.linenos pre { |
|
527 padding: 5px 0px; |
|
528 border: 0; |
|
529 background-color: transparent; |
|
530 color: #aaa; |
|
531 } |
|
532 |
|
533 table.highlighttable { |
|
534 margin-left: 0.5em; |
|
535 } |
|
536 |
|
537 table.highlighttable td { |
|
538 padding: 0 0.5em 0 0.5em; |
|
539 } |
|
540 |
|
541 div.code-block-caption { |
|
542 padding: 2px 5px; |
|
543 font-size: small; |
|
544 } |
|
545 |
|
546 div.code-block-caption code { |
|
547 background-color: transparent; |
|
548 } |
|
549 |
|
550 div.code-block-caption + div > div.highlight > pre { |
|
551 margin-top: 0; |
|
552 } |
|
553 |
|
554 div.code-block-caption span.caption-number { |
|
555 padding: 0.1em 0.3em; |
|
556 font-style: italic; |
|
557 } |
|
558 |
|
559 div.code-block-caption span.caption-text { |
|
560 } |
|
561 |
|
562 div.literal-block-wrapper { |
|
563 padding: 1em 1em 0; |
|
564 } |
|
565 |
|
566 div.literal-block-wrapper div.highlight { |
|
567 margin: 0; |
|
568 } |
|
569 |
|
570 code.descname { |
|
571 background-color: transparent; |
|
572 font-weight: bold; |
|
573 font-size: 1.2em; |
|
574 } |
|
575 |
|
576 code.descclassname { |
|
577 background-color: transparent; |
|
578 } |
|
579 |
|
580 code.xref, a code { |
|
581 background-color: transparent; |
|
582 font-weight: bold; |
|
583 } |
|
584 |
|
585 h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { |
|
586 background-color: transparent; |
|
587 } |
|
588 |
|
589 .viewcode-link { |
|
590 float: right; |
|
591 } |
|
592 |
|
593 .viewcode-back { |
|
594 float: right; |
|
595 font-family: sans-serif; |
|
596 } |
|
597 |
|
598 div.viewcode-block:target { |
|
599 margin: -1px -10px; |
|
600 padding: 0 10px; |
|
601 } |
|
602 |
|
603 /* -- math display ---------------------------------------------------------- */ |
|
604 |
|
605 img.math { |
|
606 vertical-align: middle; |
|
607 } |
|
608 |
|
609 div.body div.math p { |
|
610 text-align: center; |
|
611 } |
|
612 |
|
613 span.eqno { |
|
614 float: right; |
|
615 } |
|
616 |
|
617 span.eqno a.headerlink { |
|
618 position: relative; |
|
619 left: 0px; |
|
620 z-index: 1; |
|
621 } |
|
622 |
|
623 div.math:hover a.headerlink { |
|
624 visibility: visible; |
|
625 } |
|
626 |
|
627 /* -- printout stylesheet --------------------------------------------------- */ |
|
628 |
|
629 @media print { |
|
630 div.document, |
|
631 div.documentwrapper, |
|
632 div.bodywrapper { |
|
633 margin: 0 !important; |
|
634 width: 100%; |
|
635 } |
|
636 |
|
637 div.sphinxsidebar, |
|
638 div.related, |
|
639 div.footer, |
|
640 #top-link { |
|
641 display: none; |
|
642 } |
|
643 } |
|