Add sphinx documentation, integrated into our navigation and colour scheme
[ndcode_site.git] / sphinx / _static / basic.css
1 /*
2  * basic.css
3  * ~~~~~~~~~
4  *
5  * Sphinx stylesheet -- basic theme.
6  *
7  * :copyright: Copyright 2007-2020 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 form.search {
85     overflow: hidden;
86 }
87
88 div.sphinxsidebar #searchbox input[type="text"] {
89     float: left;
90     width: 80%;
91     padding: 0.25em;
92     box-sizing: border-box;
93 }
94
95 div.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
104 img {
105     border: 0;
106     max-width: 100%;
107 }
108
109 /* -- search page ----------------------------------------------------------- */
110
111 ul.search {
112     margin: 10px 0 0 20px;
113     padding: 0;
114 }
115
116 ul.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
123 ul.search li a {
124     font-weight: bold;
125 }
126
127 ul.search li div.context {
128     color: #888;
129     margin: 2px 0 0 30px;
130     text-align: left;
131 }
132
133 ul.keywordmatches li.goodmatch a {
134     font-weight: bold;
135 }
136
137 /* -- index page ------------------------------------------------------------ */
138
139 table.contentstable {
140     width: 90%;
141     margin-left: auto;
142     margin-right: auto;
143 }
144
145 table.contentstable p.biglink {
146     line-height: 150%;
147 }
148
149 a.biglink {
150     font-size: 1.3em;
151 }
152
153 span.linkdescr {
154     font-style: italic;
155     padding-top: 5px;
156     font-size: 90%;
157 }
158
159 /* -- general index --------------------------------------------------------- */
160
161 table.indextable {
162     width: 100%;
163 }
164
165 table.indextable td {
166     text-align: left;
167     vertical-align: top;
168 }
169
170 table.indextable ul {
171     margin-top: 0;
172     margin-bottom: 0;
173     list-style-type: none;
174 }
175
176 table.indextable > tbody > tr > td > ul {
177     padding-left: 0em;
178 }
179
180 table.indextable tr.pcap {
181     height: 10px;
182 }
183
184 table.indextable tr.cap {
185     margin-top: 10px;
186     background-color: #f2f2f2;
187 }
188
189 img.toggler {
190     margin-right: 3px;
191     margin-top: 3px;
192     cursor: pointer;
193 }
194
195 div.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
202 div.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
211 table.modindextable td {
212     padding: 2px;
213     border-collapse: collapse;
214 }
215
216 /* -- general body styles --------------------------------------------------- */
217
218 div.body {
219     min-width: 450px;
220     max-width: 800px;
221 }
222
223 div.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
230 a.headerlink {
231     visibility: hidden;
232 }
233
234 a.brackets:before,
235 span.brackets > a:before{
236     content: "[";
237 }
238
239 a.brackets:after,
240 span.brackets > a:after {
241     content: "]";
242 }
243
244 h1:hover > a.headerlink,
245 h2:hover > a.headerlink,
246 h3:hover > a.headerlink,
247 h4:hover > a.headerlink,
248 h5:hover > a.headerlink,
249 h6:hover > a.headerlink,
250 dt:hover > a.headerlink,
251 caption:hover > a.headerlink,
252 p.caption:hover > a.headerlink,
253 div.code-block-caption:hover > a.headerlink {
254     visibility: visible;
255 }
256
257 div.body p.caption {
258     text-align: inherit;
259 }
260
261 div.body td {
262     text-align: left;
263 }
264
265 .first {
266     margin-top: 0 !important;
267 }
268
269 p.rubric {
270     margin-top: 30px;
271     font-weight: bold;
272 }
273
274 img.align-left, .figure.align-left, object.align-left {
275     clear: left;
276     float: left;
277     margin-right: 1em;
278 }
279
280 img.align-right, .figure.align-right, object.align-right {
281     clear: right;
282     float: right;
283     margin-left: 1em;
284 }
285
286 img.align-center, .figure.align-center, object.align-center {
287   display: block;
288   margin-left: auto;
289   margin-right: auto;
290 }
291
292 img.align-default, .figure.align-default {
293   display: block;
294   margin-left: auto;
295   margin-right: auto;
296 }
297
298 .align-left {
299     text-align: left;
300 }
301
302 .align-center {
303     text-align: center;
304 }
305
306 .align-default {
307     text-align: center;
308 }
309
310 .align-right {
311     text-align: right;
312 }
313
314 /* -- sidebars -------------------------------------------------------------- */
315
316 div.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
325 p.sidebar-title {
326     font-weight: bold;
327 }
328
329 /* -- topics ---------------------------------------------------------------- */
330
331 div.topic {
332     border: 1px solid #ccc;
333     padding: 7px 7px 0 7px;
334     margin: 10px 0 10px 0;
335 }
336
337 p.topic-title {
338     font-size: 1.1em;
339     font-weight: bold;
340     margin-top: 10px;
341 }
342
343 /* -- admonitions ----------------------------------------------------------- */
344
345 div.admonition {
346     margin-top: 10px;
347     margin-bottom: 10px;
348     padding: 7px;
349 }
350
351 div.admonition dt {
352     font-weight: bold;
353 }
354
355 div.admonition dl {
356     margin-bottom: 0;
357 }
358
359 p.admonition-title {
360     margin: 0px 10px 5px 0px;
361     font-weight: bold;
362 }
363
364 div.body p.centered {
365     text-align: center;
366     margin-top: 25px;
367 }
368
369 /* -- tables ---------------------------------------------------------------- */
370
371 table.docutils {
372     border: 0;
373     border-collapse: collapse;
374 }
375
376 table.align-center {
377     margin-left: auto;
378     margin-right: auto;
379 }
380
381 table.align-default {
382     margin-left: auto;
383     margin-right: auto;
384 }
385
386 table caption span.caption-number {
387     font-style: italic;
388 }
389
390 table caption span.caption-text {
391 }
392
393 table.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
401 table.footnote td, table.footnote th {
402     border: 0 !important;
403 }
404
405 th {
406     text-align: left;
407     padding-right: 5px;
408 }
409
410 table.citation {
411     border-left: solid 1px gray;
412     margin-left: 1px;
413 }
414
415 table.citation td {
416     border-bottom: none;
417 }
418
419 th > p:first-child,
420 td > p:first-child {
421     margin-top: 0px;
422 }
423
424 th > p:last-child,
425 td > p:last-child {
426     margin-bottom: 0px;
427 }
428
429 /* -- figures --------------------------------------------------------------- */
430
431 div.figure {
432     margin: 0.5em;
433     padding: 0.5em;
434 }
435
436 div.figure p.caption {
437     padding: 0.3em;
438 }
439
440 div.figure p.caption span.caption-number {
441     font-style: italic;
442 }
443
444 div.figure p.caption span.caption-text {
445 }
446
447 /* -- field list styles ----------------------------------------------------- */
448
449 table.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
469 /* -- hlist styles ---------------------------------------------------------- */
470
471 table.hlist td {
472     vertical-align: top;
473 }
474
475
476 /* -- other body styles ----------------------------------------------------- */
477
478 ol.arabic {
479     list-style: decimal;
480 }
481
482 ol.loweralpha {
483     list-style: lower-alpha;
484 }
485
486 ol.upperalpha {
487     list-style: upper-alpha;
488 }
489
490 ol.lowerroman {
491     list-style: lower-roman;
492 }
493
494 ol.upperroman {
495     list-style: upper-roman;
496 }
497
498 li > p:first-child {
499     margin-top: 0px;
500 }
501
502 li > p:last-child {
503     margin-bottom: 0px;
504 }
505
506 dl.footnote > dt,
507 dl.citation > dt {
508     float: left;
509 }
510
511 dl.footnote > dd,
512 dl.citation > dd {
513     margin-bottom: 0em;
514 }
515
516 dl.footnote > dd:after,
517 dl.citation > dd:after {
518     content: "";
519     clear: both;
520 }
521
522 dl.field-list {
523     display: grid;
524     grid-template-columns: fit-content(30%) auto;
525 }
526
527 dl.field-list > dt {
528     font-weight: bold;
529     word-break: break-word;
530     padding-left: 0.5em;
531     padding-right: 5px;
532 }
533
534 dl.field-list > dt:after {
535     content: ":";
536 }
537
538 dl.field-list > dd {
539     padding-left: 0.5em;
540     margin-top: 0em;
541     margin-left: 0em;
542     margin-bottom: 0em;
543 }
544
545 dl {
546     margin-bottom: 15px;
547 }
548
549 dd > p:first-child {
550     margin-top: 0px;
551 }
552
553 dd ul, dd table {
554     margin-bottom: 10px;
555 }
556
557 dd {
558     margin-top: 3px;
559     margin-bottom: 10px;
560     margin-left: 30px;
561 }
562
563 dt:target, span.highlighted {
564     background-color: #fbe54e;
565 }
566
567 rect.highlighted {
568     fill: #fbe54e;
569 }
570
571 dl.glossary dt {
572     font-weight: bold;
573     font-size: 1.1em;
574 }
575
576 .optional {
577     font-size: 1.3em;
578 }
579
580 .sig-paren {
581     font-size: larger;
582 }
583
584 .versionmodified {
585     font-style: italic;
586 }
587
588 .system-message {
589     background-color: #fda;
590     padding: 5px;
591     border: 3px solid red;
592 }
593
594 .footnote:target  {
595     background-color: #ffa;
596 }
597
598 .line-block {
599     display: block;
600     margin-top: 1em;
601     margin-bottom: 1em;
602 }
603
604 .line-block .line-block {
605     margin-top: 0;
606     margin-bottom: 0;
607     margin-left: 1.5em;
608 }
609
610 .guilabel, .menuselection {
611     font-family: sans-serif;
612 }
613
614 .accelerator {
615     text-decoration: underline;
616 }
617
618 .classifier {
619     font-style: oblique;
620 }
621
622 .classifier:before {
623     font-style: normal;
624     margin: 0.5em;
625     content: ":";
626 }
627
628 abbr, acronym {
629     border-bottom: dotted 1px;
630     cursor: help;
631 }
632
633 /* -- code displays --------------------------------------------------------- */
634
635 pre {
636     overflow: auto;
637     overflow-y: hidden;  /* fixes display issues on Chrome browsers */
638 }
639
640 span.pre {
641     -moz-hyphens: none;
642     -ms-hyphens: none;
643     -webkit-hyphens: none;
644     hyphens: none;
645 }
646
647 td.linenos pre {
648     padding: 5px 0px;
649     border: 0;
650     background-color: transparent;
651     color: #aaa;
652 }
653
654 table.highlighttable {
655     margin-left: 0.5em;
656 }
657
658 table.highlighttable td {
659     padding: 0 0.5em 0 0.5em;
660 }
661
662 div.code-block-caption {
663     padding: 2px 5px;
664     font-size: small;
665 }
666
667 div.code-block-caption code {
668     background-color: transparent;
669 }
670
671 div.code-block-caption + div > div.highlight > pre {
672     margin-top: 0;
673 }
674
675 div.doctest > div.highlight span.gp {  /* gp: Generic.Prompt */
676     user-select: none;
677 }
678
679 div.code-block-caption span.caption-number {
680     padding: 0.1em 0.3em;
681     font-style: italic;
682 }
683
684 div.code-block-caption span.caption-text {
685 }
686
687 div.literal-block-wrapper {
688     padding: 1em 1em 0;
689 }
690
691 div.literal-block-wrapper div.highlight {
692     margin: 0;
693 }
694
695 code.descname {
696     background-color: transparent;
697     font-weight: bold;
698     font-size: 1.2em;
699 }
700
701 code.descclassname {
702     background-color: transparent;
703 }
704
705 code.xref, a code {
706     background-color: transparent;
707     font-weight: bold;
708 }
709
710 h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
711     background-color: transparent;
712 }
713
714 .viewcode-link {
715     float: right;
716 }
717
718 .viewcode-back {
719     float: right;
720     font-family: sans-serif;
721 }
722
723 div.viewcode-block:target {
724     margin: -1px -10px;
725     padding: 0 10px;
726 }
727
728 /* -- math display ---------------------------------------------------------- */
729
730 img.math {
731     vertical-align: middle;
732 }
733
734 div.body div.math p {
735     text-align: center;
736 }
737
738 span.eqno {
739     float: right;
740 }
741
742 span.eqno a.headerlink {
743     position: relative;
744     left: 0px;
745     z-index: 1;
746 }
747
748 div.math:hover a.headerlink {
749     visibility: visible;
750 }
751
752 /* -- printout stylesheet --------------------------------------------------- */
753
754 @media print {
755     div.document,
756     div.documentwrapper,
757     div.bodywrapper {
758         margin: 0 !important;
759         width: 100%;
760     }
761
762     div.sphinxsidebar,
763     div.related,
764     div.footer,
765     #top-link {
766         display: none;
767     }
768 }