blob: c41d718e429affb53084be2e5d2a2fe26aea164b [file] [log] [blame]
Gilles Peskine06995ff2019-05-21 19:50:19 +02001/*
2 * basic.css
3 * ~~~~~~~~~
4 *
5 * Sphinx stylesheet -- basic theme.
6 *
Bence Szépkútie26ccad2021-02-01 14:26:11 +01007 * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
Gilles Peskine06995ff2019-05-21 19:50:19 +02008 * :license: BSD, see LICENSE for details.
9 *
10 */
11
12/* -- main layout ----------------------------------------------------------- */
13
14div.clearer {
15 clear: both;
16}
17
18/* -- relbar ---------------------------------------------------------------- */
19
20div.related {
21 width: 100%;
22 font-size: 90%;
23}
24
25div.related h3 {
26 display: none;
27}
28
29div.related ul {
30 margin: 0;
31 padding: 0 0 0 10px;
32 list-style: none;
33}
34
35div.related li {
36 display: inline;
37}
38
39div.related li.right {
40 float: right;
41 margin-right: 5px;
42}
43
44/* -- sidebar --------------------------------------------------------------- */
45
46div.sphinxsidebarwrapper {
47 padding: 10px 5px 0 10px;
48}
49
50div.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
59div.sphinxsidebar ul {
60 list-style: none;
61}
62
63div.sphinxsidebar ul ul,
64div.sphinxsidebar ul.want-points {
65 margin-left: 20px;
66 list-style: square;
67}
68
69div.sphinxsidebar ul ul {
70 margin-top: 0;
71 margin-bottom: 0;
72}
73
74div.sphinxsidebar form {
75 margin-top: 10px;
76}
77
78div.sphinxsidebar input {
79 border: 1px solid #98dbcc;
80 font-family: sans-serif;
81 font-size: 1em;
82}
83
Bence Szépkútie26ccad2021-02-01 14:26:11 +010084div.sphinxsidebar #searchbox form.search {
85 overflow: hidden;
Gilles Peskine06995ff2019-05-21 19:50:19 +020086}
87
Bence Szépkútie26ccad2021-02-01 14:26:11 +010088div.sphinxsidebar #searchbox input[type="text"] {
89 float: left;
90 width: 80%;
91 padding: 0.25em;
92 box-sizing: border-box;
93}
94
95div.sphinxsidebar #searchbox input[type="submit"] {
96 float: left;
97 width: 20%;
98 border-left: none;
99 padding: 0.25em;
100 box-sizing: border-box;
101}
102
103
Gilles Peskine06995ff2019-05-21 19:50:19 +0200104img {
105 border: 0;
106 max-width: 100%;
107}
108
109/* -- search page ----------------------------------------------------------- */
110
111ul.search {
112 margin: 10px 0 0 20px;
113 padding: 0;
114}
115
116ul.search li {
117 padding: 5px 0 5px 20px;
118 background-image: url(file.png);
119 background-repeat: no-repeat;
120 background-position: 0 7px;
121}
122
123ul.search li a {
124 font-weight: bold;
125}
126
127ul.search li div.context {
128 color: #888;
129 margin: 2px 0 0 30px;
130 text-align: left;
131}
132
133ul.keywordmatches li.goodmatch a {
134 font-weight: bold;
135}
136
137/* -- index page ------------------------------------------------------------ */
138
139table.contentstable {
140 width: 90%;
141 margin-left: auto;
142 margin-right: auto;
143}
144
145table.contentstable p.biglink {
146 line-height: 150%;
147}
148
149a.biglink {
150 font-size: 1.3em;
151}
152
153span.linkdescr {
154 font-style: italic;
155 padding-top: 5px;
156 font-size: 90%;
157}
158
159/* -- general index --------------------------------------------------------- */
160
161table.indextable {
162 width: 100%;
163}
164
165table.indextable td {
166 text-align: left;
167 vertical-align: top;
168}
169
170table.indextable ul {
171 margin-top: 0;
172 margin-bottom: 0;
173 list-style-type: none;
174}
175
176table.indextable > tbody > tr > td > ul {
177 padding-left: 0em;
178}
179
180table.indextable tr.pcap {
181 height: 10px;
182}
183
184table.indextable tr.cap {
185 margin-top: 10px;
186 background-color: #f2f2f2;
187}
188
189img.toggler {
190 margin-right: 3px;
191 margin-top: 3px;
192 cursor: pointer;
193}
194
195div.modindex-jumpbox {
196 border-top: 1px solid #ddd;
197 border-bottom: 1px solid #ddd;
198 margin: 1em 0 1em 0;
199 padding: 0.4em;
200}
201
202div.genindex-jumpbox {
203 border-top: 1px solid #ddd;
204 border-bottom: 1px solid #ddd;
205 margin: 1em 0 1em 0;
206 padding: 0.4em;
207}
208
209/* -- domain module index --------------------------------------------------- */
210
211table.modindextable td {
212 padding: 2px;
213 border-collapse: collapse;
214}
215
216/* -- general body styles --------------------------------------------------- */
217
Bence Szépkútie26ccad2021-02-01 14:26:11 +0100218div.body {
219 min-width: 450px;
220 max-width: 800px;
221}
222
Gilles Peskine06995ff2019-05-21 19:50:19 +0200223div.body p, div.body dd, div.body li, div.body blockquote {
224 -moz-hyphens: auto;
225 -ms-hyphens: auto;
226 -webkit-hyphens: auto;
227 hyphens: auto;
228}
229
230a.headerlink {
231 visibility: hidden;
232}
233
Bence Szépkútie26ccad2021-02-01 14:26:11 +0100234a.brackets:before,
235span.brackets > a:before{
236 content: "[";
237}
238
239a.brackets:after,
240span.brackets > a:after {
241 content: "]";
242}
243
Gilles Peskine06995ff2019-05-21 19:50:19 +0200244h1:hover > a.headerlink,
245h2:hover > a.headerlink,
246h3:hover > a.headerlink,
247h4:hover > a.headerlink,
248h5:hover > a.headerlink,
249h6:hover > a.headerlink,
250dt:hover > a.headerlink,
251caption:hover > a.headerlink,
252p.caption:hover > a.headerlink,
253div.code-block-caption:hover > a.headerlink {
254 visibility: visible;
255}
256
257div.body p.caption {
258 text-align: inherit;
259}
260
261div.body td {
262 text-align: left;
263}
264
265.first {
266 margin-top: 0 !important;
267}
268
269p.rubric {
270 margin-top: 30px;
271 font-weight: bold;
272}
273
274img.align-left, .figure.align-left, object.align-left {
275 clear: left;
276 float: left;
277 margin-right: 1em;
278}
279
280img.align-right, .figure.align-right, object.align-right {
281 clear: right;
282 float: right;
283 margin-left: 1em;
284}
285
286img.align-center, .figure.align-center, object.align-center {
287 display: block;
288 margin-left: auto;
289 margin-right: auto;
290}
291
Bence Szépkútie26ccad2021-02-01 14:26:11 +0100292img.align-default, .figure.align-default {
293 display: block;
294 margin-left: auto;
295 margin-right: auto;
296}
297
Gilles Peskine06995ff2019-05-21 19:50:19 +0200298.align-left {
299 text-align: left;
300}
301
302.align-center {
303 text-align: center;
304}
305
Bence Szépkútie26ccad2021-02-01 14:26:11 +0100306.align-default {
307 text-align: center;
308}
309
Gilles Peskine06995ff2019-05-21 19:50:19 +0200310.align-right {
311 text-align: right;
312}
313
314/* -- sidebars -------------------------------------------------------------- */
315
316div.sidebar {
317 margin: 0 0 0.5em 1em;
318 border: 1px solid #ddb;
319 padding: 7px 7px 0 7px;
320 background-color: #ffe;
321 width: 40%;
322 float: right;
323}
324
325p.sidebar-title {
326 font-weight: bold;
327}
328
329/* -- topics ---------------------------------------------------------------- */
330
331div.topic {
332 border: 1px solid #ccc;
333 padding: 7px 7px 0 7px;
334 margin: 10px 0 10px 0;
335}
336
337p.topic-title {
338 font-size: 1.1em;
339 font-weight: bold;
340 margin-top: 10px;
341}
342
343/* -- admonitions ----------------------------------------------------------- */
344
345div.admonition {
346 margin-top: 10px;
347 margin-bottom: 10px;
348 padding: 7px;
349}
350
351div.admonition dt {
352 font-weight: bold;
353}
354
355div.admonition dl {
356 margin-bottom: 0;
357}
358
359p.admonition-title {
360 margin: 0px 10px 5px 0px;
361 font-weight: bold;
362}
363
364div.body p.centered {
365 text-align: center;
366 margin-top: 25px;
367}
368
369/* -- tables ---------------------------------------------------------------- */
370
371table.docutils {
372 border: 0;
373 border-collapse: collapse;
374}
375
376table.align-center {
377 margin-left: auto;
378 margin-right: auto;
379}
380
Bence Szépkútie26ccad2021-02-01 14:26:11 +0100381table.align-default {
382 margin-left: auto;
383 margin-right: auto;
384}
385
Gilles Peskine06995ff2019-05-21 19:50:19 +0200386table caption span.caption-number {
387 font-style: italic;
388}
389
390table caption span.caption-text {
391}
392
393table.docutils td, table.docutils th {
394 padding: 1px 8px 1px 5px;
395 border-top: 0;
396 border-left: 0;
397 border-right: 0;
398 border-bottom: 1px solid #aaa;
399}
400
401table.footnote td, table.footnote th {
402 border: 0 !important;
403}
404
405th {
406 text-align: left;
407 padding-right: 5px;
408}
409
410table.citation {
411 border-left: solid 1px gray;
412 margin-left: 1px;
413}
414
415table.citation td {
416 border-bottom: none;
417}
418
Bence Szépkútie26ccad2021-02-01 14:26:11 +0100419th > p:first-child,
420td > p:first-child {
421 margin-top: 0px;
422}
423
424th > p:last-child,
425td > p:last-child {
426 margin-bottom: 0px;
427}
428
Gilles Peskine06995ff2019-05-21 19:50:19 +0200429/* -- figures --------------------------------------------------------------- */
430
431div.figure {
432 margin: 0.5em;
433 padding: 0.5em;
434}
435
436div.figure p.caption {
437 padding: 0.3em;
438}
439
440div.figure p.caption span.caption-number {
441 font-style: italic;
442}
443
444div.figure p.caption span.caption-text {
445}
446
447/* -- field list styles ----------------------------------------------------- */
448
449table.field-list td, table.field-list th {
450 border: 0 !important;
451}
452
453.field-list ul {
454 margin: 0;
455 padding-left: 1em;
456}
457
458.field-list p {
459 margin: 0;
460}
461
462.field-name {
463 -moz-hyphens: manual;
464 -ms-hyphens: manual;
465 -webkit-hyphens: manual;
466 hyphens: manual;
467}
468
Bence Szépkútie26ccad2021-02-01 14:26:11 +0100469/* -- hlist styles ---------------------------------------------------------- */
470
471table.hlist td {
472 vertical-align: top;
473}
474
475
Gilles Peskine06995ff2019-05-21 19:50:19 +0200476/* -- other body styles ----------------------------------------------------- */
477
478ol.arabic {
479 list-style: decimal;
480}
481
482ol.loweralpha {
483 list-style: lower-alpha;
484}
485
486ol.upperalpha {
487 list-style: upper-alpha;
488}
489
490ol.lowerroman {
491 list-style: lower-roman;
492}
493
494ol.upperroman {
495 list-style: upper-roman;
496}
497
Bence Szépkútie26ccad2021-02-01 14:26:11 +0100498li > p:first-child {
499 margin-top: 0px;
500}
501
502li > p:last-child {
503 margin-bottom: 0px;
504}
505
506dl.footnote > dt,
507dl.citation > dt {
508 float: left;
509}
510
511dl.footnote > dd,
512dl.citation > dd {
513 margin-bottom: 0em;
514}
515
516dl.footnote > dd:after,
517dl.citation > dd:after {
518 content: "";
519 clear: both;
520}
521
522dl.field-list {
523 display: flex;
524 flex-wrap: wrap;
525}
526
527dl.field-list > dt {
528 flex-basis: 20%;
529 font-weight: bold;
530 word-break: break-word;
531}
532
533dl.field-list > dt:after {
534 content: ":";
535}
536
537dl.field-list > dd {
538 flex-basis: 70%;
539 padding-left: 1em;
540 margin-left: 0em;
541 margin-bottom: 0em;
542}
543
Gilles Peskine06995ff2019-05-21 19:50:19 +0200544dl {
545 margin-bottom: 15px;
546}
547
Bence Szépkútie26ccad2021-02-01 14:26:11 +0100548dd > p:first-child {
Gilles Peskine06995ff2019-05-21 19:50:19 +0200549 margin-top: 0px;
550}
551
552dd ul, dd table {
553 margin-bottom: 10px;
554}
555
556dd {
557 margin-top: 3px;
558 margin-bottom: 10px;
559 margin-left: 30px;
560}
561
562dt:target, span.highlighted {
563 background-color: #fbe54e;
564}
565
566rect.highlighted {
567 fill: #fbe54e;
568}
569
570dl.glossary dt {
571 font-weight: bold;
572 font-size: 1.1em;
573}
574
575.optional {
576 font-size: 1.3em;
577}
578
579.sig-paren {
580 font-size: larger;
581}
582
583.versionmodified {
584 font-style: italic;
585}
586
587.system-message {
588 background-color: #fda;
589 padding: 5px;
590 border: 3px solid red;
591}
592
593.footnote:target {
594 background-color: #ffa;
595}
596
597.line-block {
598 display: block;
599 margin-top: 1em;
600 margin-bottom: 1em;
601}
602
603.line-block .line-block {
604 margin-top: 0;
605 margin-bottom: 0;
606 margin-left: 1.5em;
607}
608
609.guilabel, .menuselection {
610 font-family: sans-serif;
611}
612
613.accelerator {
614 text-decoration: underline;
615}
616
617.classifier {
618 font-style: oblique;
619}
620
Bence Szépkútie26ccad2021-02-01 14:26:11 +0100621.classifier:before {
622 font-style: normal;
623 margin: 0.5em;
624 content: ":";
625}
626
Gilles Peskine06995ff2019-05-21 19:50:19 +0200627abbr, acronym {
628 border-bottom: dotted 1px;
629 cursor: help;
630}
631
632/* -- code displays --------------------------------------------------------- */
633
634pre {
635 overflow: auto;
636 overflow-y: hidden; /* fixes display issues on Chrome browsers */
637}
638
639span.pre {
640 -moz-hyphens: none;
641 -ms-hyphens: none;
642 -webkit-hyphens: none;
643 hyphens: none;
644}
645
646td.linenos pre {
647 padding: 5px 0px;
648 border: 0;
649 background-color: transparent;
650 color: #aaa;
651}
652
653table.highlighttable {
654 margin-left: 0.5em;
655}
656
657table.highlighttable td {
658 padding: 0 0.5em 0 0.5em;
659}
660
661div.code-block-caption {
662 padding: 2px 5px;
663 font-size: small;
664}
665
666div.code-block-caption code {
667 background-color: transparent;
668}
669
670div.code-block-caption + div > div.highlight > pre {
671 margin-top: 0;
672}
673
674div.code-block-caption span.caption-number {
675 padding: 0.1em 0.3em;
676 font-style: italic;
677}
678
679div.code-block-caption span.caption-text {
680}
681
682div.literal-block-wrapper {
683 padding: 1em 1em 0;
684}
685
686div.literal-block-wrapper div.highlight {
687 margin: 0;
688}
689
690code.descname {
691 background-color: transparent;
692 font-weight: bold;
693 font-size: 1.2em;
694}
695
696code.descclassname {
697 background-color: transparent;
698}
699
700code.xref, a code {
701 background-color: transparent;
702 font-weight: bold;
703}
704
705h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
706 background-color: transparent;
707}
708
709.viewcode-link {
710 float: right;
711}
712
713.viewcode-back {
714 float: right;
715 font-family: sans-serif;
716}
717
718div.viewcode-block:target {
719 margin: -1px -10px;
720 padding: 0 10px;
721}
722
723/* -- math display ---------------------------------------------------------- */
724
725img.math {
726 vertical-align: middle;
727}
728
729div.body div.math p {
730 text-align: center;
731}
732
733span.eqno {
734 float: right;
735}
736
737span.eqno a.headerlink {
738 position: relative;
739 left: 0px;
740 z-index: 1;
741}
742
743div.math:hover a.headerlink {
744 visibility: visible;
745}
746
747/* -- printout stylesheet --------------------------------------------------- */
748
749@media print {
750 div.document,
751 div.documentwrapper,
752 div.bodywrapper {
753 margin: 0 !important;
754 width: 100%;
755 }
756
757 div.sphinxsidebar,
758 div.related,
759 div.footer,
760 #top-link {
761 display: none;
762 }
763}