basic.css - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
basic.css (14685B)
---
1 /*
2 * Sphinx stylesheet -- basic theme.
3 */
4
5 /* -- main layout ----------------------------------------------------------- */
6
7 div.clearer {
8 clear: both;
9 }
10
11 div.section::after {
12 display: block;
13 content: '';
14 clear: left;
15 }
16
17 /* -- relbar ---------------------------------------------------------------- */
18
19 div.related {
20 width: 100%;
21 font-size: 90%;
22 }
23
24 div.related h3 {
25 display: none;
26 }
27
28 div.related ul {
29 margin: 0;
30 padding: 0 0 0 10px;
31 list-style: none;
32 }
33
34 div.related li {
35 display: inline;
36 }
37
38 div.related li.right {
39 float: right;
40 margin-right: 5px;
41 }
42
43 /* -- sidebar --------------------------------------------------------------- */
44
45 div.sphinxsidebarwrapper {
46 padding: 10px 5px 0 10px;
47 }
48
49 div.sphinxsidebar {
50 float: left;
51 width: 230px;
52 margin-left: -100%;
53 font-size: 90%;
54 word-wrap: break-word;
55 overflow-wrap : break-word;
56 }
57
58 div.sphinxsidebar ul {
59 list-style: none;
60 }
61
62 div.sphinxsidebar ul ul,
63 div.sphinxsidebar ul.want-points {
64 margin-left: 20px;
65 list-style: square;
66 }
67
68 div.sphinxsidebar ul ul {
69 margin-top: 0;
70 margin-bottom: 0;
71 }
72
73 div.sphinxsidebar form {
74 margin-top: 10px;
75 }
76
77 div.sphinxsidebar input {
78 border: 1px solid #98dbcc;
79 font-family: sans-serif;
80 font-size: 1em;
81 }
82
83 div.sphinxsidebar #searchbox form.search {
84 overflow: hidden;
85 }
86
87 div.sphinxsidebar #searchbox input[type="text"] {
88 float: left;
89 width: 80%;
90 padding: 0.25em;
91 box-sizing: border-box;
92 }
93
94 div.sphinxsidebar #searchbox input[type="submit"] {
95 float: left;
96 width: 20%;
97 border-left: none;
98 padding: 0.25em;
99 box-sizing: border-box;
100 }
101
102
103 img {
104 border: 0;
105 max-width: 100%;
106 }
107
108 /* -- search page ----------------------------------------------------------- */
109
110 ul.search {
111 margin-top: 10px;
112 }
113
114 ul.search li {
115 padding: 5px 0;
116 }
117
118 ul.search li a {
119 font-weight: bold;
120 }
121
122 ul.search li p.context {
123 color: #888;
124 margin: 2px 0 0 30px;
125 text-align: left;
126 }
127
128 ul.keywordmatches li.goodmatch a {
129 font-weight: bold;
130 }
131
132 /* -- index page ------------------------------------------------------------ */
133
134 table.contentstable {
135 width: 90%;
136 margin-left: auto;
137 margin-right: auto;
138 }
139
140 table.contentstable p.biglink {
141 line-height: 150%;
142 }
143
144 a.biglink {
145 font-size: 1.3em;
146 }
147
148 span.linkdescr {
149 font-style: italic;
150 padding-top: 5px;
151 font-size: 90%;
152 }
153
154 /* -- general index --------------------------------------------------------- */
155
156 table.indextable {
157 width: 100%;
158 }
159
160 table.indextable td {
161 text-align: left;
162 vertical-align: top;
163 }
164
165 table.indextable ul {
166 margin-top: 0;
167 margin-bottom: 0;
168 list-style-type: none;
169 }
170
171 table.indextable > tbody > tr > td > ul {
172 padding-left: 0em;
173 }
174
175 table.indextable tr.pcap {
176 height: 10px;
177 }
178
179 table.indextable tr.cap {
180 margin-top: 10px;
181 background-color: #f2f2f2;
182 }
183
184 img.toggler {
185 margin-right: 3px;
186 margin-top: 3px;
187 cursor: pointer;
188 }
189
190 div.modindex-jumpbox {
191 border-top: 1px solid #ddd;
192 border-bottom: 1px solid #ddd;
193 margin: 1em 0 1em 0;
194 padding: 0.4em;
195 }
196
197 div.genindex-jumpbox {
198 border-top: 1px solid #ddd;
199 border-bottom: 1px solid #ddd;
200 margin: 1em 0 1em 0;
201 padding: 0.4em;
202 }
203
204 /* -- domain module index --------------------------------------------------- */
205
206 table.modindextable td {
207 padding: 2px;
208 border-collapse: collapse;
209 }
210
211 /* -- general body styles --------------------------------------------------- */
212
213 div.body {
214 min-width: 360px;
215 max-width: 800px;
216 }
217
218 div.body p, div.body dd, div.body li, div.body blockquote {
219 -moz-hyphens: auto;
220 -ms-hyphens: auto;
221 -webkit-hyphens: auto;
222 hyphens: auto;
223 }
224
225 a.headerlink {
226 visibility: hidden;
227 }
228
229 a:visited {
230 color: #551A8B;
231 }
232
233 h1:hover > a.headerlink,
234 h2:hover > a.headerlink,
235 h3:hover > a.headerlink,
236 h4:hover > a.headerlink,
237 h5:hover > a.headerlink,
238 h6:hover > a.headerlink,
239 dt:hover > a.headerlink,
240 caption:hover > a.headerlink,
241 p.caption:hover > a.headerlink,
242 div.code-block-caption:hover > a.headerlink {
243 visibility: visible;
244 }
245
246 div.body p.caption {
247 text-align: inherit;
248 }
249
250 div.body td {
251 text-align: left;
252 }
253
254 .first {
255 margin-top: 0 !important;
256 }
257
258 p.rubric {
259 margin-top: 30px;
260 font-weight: bold;
261 }
262
263 img.align-left, figure.align-left, .figure.align-left, object.align-left {
264 clear: left;
265 float: left;
266 margin-right: 1em;
267 }
268
269 img.align-right, figure.align-right, .figure.align-right, object.align-right {
270 clear: right;
271 float: right;
272 margin-left: 1em;
273 }
274
275 img.align-center, figure.align-center, .figure.align-center, object.align-center {
276 display: block;
277 margin-left: auto;
278 margin-right: auto;
279 }
280
281 img.align-default, figure.align-default, .figure.align-default {
282 display: block;
283 margin-left: auto;
284 margin-right: auto;
285 }
286
287 .align-left {
288 text-align: left;
289 }
290
291 .align-center {
292 text-align: center;
293 }
294
295 .align-default {
296 text-align: center;
297 }
298
299 .align-right {
300 text-align: right;
301 }
302
303 /* -- sidebars -------------------------------------------------------------- */
304
305 div.sidebar,
306 aside.sidebar {
307 margin: 0 0 0.5em 1em;
308 border: 1px solid #ddb;
309 padding: 7px;
310 background-color: #ffe;
311 width: 40%;
312 float: right;
313 clear: right;
314 overflow-x: auto;
315 }
316
317 p.sidebar-title {
318 font-weight: bold;
319 }
320
321 nav.contents,
322 aside.topic,
323 div.admonition, div.topic, blockquote {
324 clear: left;
325 }
326
327 /* -- topics ---------------------------------------------------------------- */
328
329 nav.contents,
330 aside.topic,
331 div.topic {
332 border: 1px solid #ccc;
333 padding: 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 p.admonition-title {
356 margin: 0px 10px 5px 0px;
357 font-weight: bold;
358 }
359
360 div.body p.centered {
361 text-align: center;
362 margin-top: 25px;
363 }
364
365 /* -- content of sidebars/topics/admonitions -------------------------------- */
366
367 div.sidebar > :last-child,
368 aside.sidebar > :last-child,
369 nav.contents > :last-child,
370 aside.topic > :last-child,
371 div.topic > :last-child,
372 div.admonition > :last-child {
373 margin-bottom: 0;
374 }
375
376 div.sidebar::after,
377 aside.sidebar::after,
378 nav.contents::after,
379 aside.topic::after,
380 div.topic::after,
381 div.admonition::after,
382 blockquote::after {
383 display: block;
384 content: '';
385 clear: both;
386 }
387
388 /* -- tables ---------------------------------------------------------------- */
389
390 table.docutils {
391 margin-top: 10px;
392 margin-bottom: 10px;
393 border: 0;
394 border-collapse: collapse;
395 }
396
397 table.align-center {
398 margin-left: auto;
399 margin-right: auto;
400 }
401
402 table.align-default {
403 margin-left: auto;
404 margin-right: auto;
405 }
406
407 table caption span.caption-number {
408 font-style: italic;
409 }
410
411 table caption span.caption-text {
412 }
413
414 table.docutils td, table.docutils th {
415 padding: 1px 8px 1px 5px;
416 border-top: 0;
417 border-left: 0;
418 border-right: 0;
419 border-bottom: 1px solid #aaa;
420 }
421
422 th {
423 text-align: left;
424 padding-right: 5px;
425 }
426
427 table.citation {
428 border-left: solid 1px gray;
429 margin-left: 1px;
430 }
431
432 table.citation td {
433 border-bottom: none;
434 }
435
436 th > :first-child,
437 td > :first-child {
438 margin-top: 0px;
439 }
440
441 th > :last-child,
442 td > :last-child {
443 margin-bottom: 0px;
444 }
445
446 /* -- figures --------------------------------------------------------------- */
447
448 div.figure, figure {
449 margin: 0.5em;
450 padding: 0.5em;
451 }
452
453 div.figure p.caption, figcaption {
454 padding: 0.3em;
455 }
456
457 div.figure p.caption span.caption-number,
458 figcaption span.caption-number {
459 font-style: italic;
460 }
461
462 div.figure p.caption span.caption-text,
463 figcaption span.caption-text {
464 }
465
466 /* -- field list styles ----------------------------------------------------- */
467
468 table.field-list td, table.field-list th {
469 border: 0 !important;
470 }
471
472 .field-list ul {
473 margin: 0;
474 padding-left: 1em;
475 }
476
477 .field-list p {
478 margin: 0;
479 }
480
481 .field-name {
482 -moz-hyphens: manual;
483 -ms-hyphens: manual;
484 -webkit-hyphens: manual;
485 hyphens: manual;
486 }
487
488 /* -- hlist styles ---------------------------------------------------------- */
489
490 table.hlist {
491 margin: 1em 0;
492 }
493
494 table.hlist td {
495 vertical-align: top;
496 }
497
498 /* -- object description styles --------------------------------------------- */
499
500 .sig {
501 font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
502 }
503
504 .sig-name, code.descname {
505 background-color: transparent;
506 font-weight: bold;
507 }
508
509 .sig-name {
510 font-size: 1.1em;
511 }
512
513 code.descname {
514 font-size: 1.2em;
515 }
516
517 .sig-prename, code.descclassname {
518 background-color: transparent;
519 }
520
521 .optional {
522 font-size: 1.3em;
523 }
524
525 .sig-paren {
526 font-size: larger;
527 }
528
529 .sig-param.n {
530 font-style: italic;
531 }
532
533 /* C++ specific styling */
534
535 .sig-inline.c-texpr,
536 .sig-inline.cpp-texpr {
537 font-family: unset;
538 }
539
540 .sig.c .k, .sig.c .kt,
541 .sig.cpp .k, .sig.cpp .kt {
542 color: #0033B3;
543 }
544
545 .sig.c .m,
546 .sig.cpp .m {
547 color: #1750EB;
548 }
549
550 .sig.c .s, .sig.c .sc,
551 .sig.cpp .s, .sig.cpp .sc {
552 color: #067D17;
553 }
554
555
556 /* -- other body styles ----------------------------------------------------- */
557
558 ol.arabic {
559 list-style: decimal;
560 }
561
562 ol.loweralpha {
563 list-style: lower-alpha;
564 }
565
566 ol.upperalpha {
567 list-style: upper-alpha;
568 }
569
570 ol.lowerroman {
571 list-style: lower-roman;
572 }
573
574 ol.upperroman {
575 list-style: upper-roman;
576 }
577
578 :not(li) > ol > li:first-child > :first-child,
579 :not(li) > ul > li:first-child > :first-child {
580 margin-top: 0px;
581 }
582
583 :not(li) > ol > li:last-child > :last-child,
584 :not(li) > ul > li:last-child > :last-child {
585 margin-bottom: 0px;
586 }
587
588 ol.simple ol p,
589 ol.simple ul p,
590 ul.simple ol p,
591 ul.simple ul p {
592 margin-top: 0;
593 }
594
595 ol.simple > li:not(:first-child) > p,
596 ul.simple > li:not(:first-child) > p {
597 margin-top: 0;
598 }
599
600 ol.simple p,
601 ul.simple p {
602 margin-bottom: 0;
603 }
604
605 aside.footnote > span,
606 div.citation > span {
607 float: left;
608 }
609 aside.footnote > span:last-of-type,
610 div.citation > span:last-of-type {
611 padding-right: 0.5em;
612 }
613 aside.footnote > p {
614 margin-left: 2em;
615 }
616 div.citation > p {
617 margin-left: 4em;
618 }
619 aside.footnote > p:last-of-type,
620 div.citation > p:last-of-type {
621 margin-bottom: 0em;
622 }
623 aside.footnote > p:last-of-type:after,
624 div.citation > p:last-of-type:after {
625 content: "";
626 clear: both;
627 }
628
629 dl.field-list {
630 display: grid;
631 grid-template-columns: fit-content(30%) auto;
632 }
633
634 dl.field-list > dt {
635 font-weight: bold;
636 word-break: break-word;
637 padding-left: 0.5em;
638 padding-right: 5px;
639 }
640
641 dl.field-list > dd {
642 padding-left: 0.5em;
643 margin-top: 0em;
644 margin-left: 0em;
645 margin-bottom: 0em;
646 }
647
648 dl {
649 margin-bottom: 15px;
650 }
651
652 dd > :first-child {
653 margin-top: 0px;
654 }
655
656 dd ul, dd table {
657 margin-bottom: 10px;
658 }
659
660 dd {
661 margin-top: 3px;
662 margin-bottom: 10px;
663 margin-left: 30px;
664 }
665
666 .sig dd {
667 margin-top: 0px;
668 margin-bottom: 0px;
669 }
670
671 .sig dl {
672 margin-top: 0px;
673 margin-bottom: 0px;
674 }
675
676 dl > dd:last-child,
677 dl > dd:last-child > :last-child {
678 margin-bottom: 0;
679 }
680
681 dt:target, span.highlighted {
682 background-color: #fbe54e;
683 }
684
685 rect.highlighted {
686 fill: #fbe54e;
687 }
688
689 dl.glossary dt {
690 font-weight: bold;
691 font-size: 1.1em;
692 }
693
694 .versionmodified {
695 font-style: italic;
696 }
697
698 .system-message {
699 background-color: #fda;
700 padding: 5px;
701 border: 3px solid red;
702 }
703
704 .footnote:target {
705 background-color: #ffa;
706 }
707
708 .line-block {
709 display: block;
710 margin-top: 1em;
711 margin-bottom: 1em;
712 }
713
714 .line-block .line-block {
715 margin-top: 0;
716 margin-bottom: 0;
717 margin-left: 1.5em;
718 }
719
720 .guilabel, .menuselection {
721 font-family: sans-serif;
722 }
723
724 .accelerator {
725 text-decoration: underline;
726 }
727
728 .classifier {
729 font-style: oblique;
730 }
731
732 .classifier:before {
733 font-style: normal;
734 margin: 0 0.5em;
735 content: ":";
736 display: inline-block;
737 }
738
739 abbr, acronym {
740 border-bottom: dotted 1px;
741 cursor: help;
742 }
743
744 /* -- code displays --------------------------------------------------------- */
745
746 pre {
747 overflow: auto;
748 overflow-y: hidden; /* fixes display issues on Chrome browsers */
749 }
750
751 pre, div[class*="highlight-"] {
752 clear: both;
753 }
754
755 span.pre {
756 -moz-hyphens: none;
757 -ms-hyphens: none;
758 -webkit-hyphens: none;
759 hyphens: none;
760 white-space: nowrap;
761 }
762
763 div[class*="highlight-"] {
764 margin: 1em 0;
765 }
766
767 td.linenos pre {
768 border: 0;
769 background-color: transparent;
770 color: #aaa;
771 }
772
773 table.highlighttable {
774 display: block;
775 }
776
777 table.highlighttable tbody {
778 display: block;
779 }
780
781 table.highlighttable tr {
782 display: flex;
783 }
784
785 table.highlighttable td {
786 margin: 0;
787 padding: 0;
788 }
789
790 table.highlighttable td.linenos {
791 padding-right: 0.5em;
792 }
793
794 table.highlighttable td.code {
795 flex: 1;
796 overflow: hidden;
797 }
798
799 .highlight .hll {
800 display: block;
801 }
802
803 div.highlight pre,
804 table.highlighttable pre {
805 margin: 0;
806 }
807
808 div.code-block-caption + div {
809 margin-top: 0;
810 }
811
812 div.code-block-caption {
813 margin-top: 1em;
814 padding: 2px 5px;
815 font-size: small;
816 }
817
818 div.code-block-caption code {
819 background-color: transparent;
820 }
821
822 table.highlighttable td.linenos,
823 span.linenos,
824 div.highlight span.gp { /* gp: Generic.Prompt */
825 user-select: none;
826 -webkit-user-select: text; /* Safari fallback only */
827 -webkit-user-select: none; /* Chrome/Safari */
828 -moz-user-select: none; /* Firefox */
829 -ms-user-select: none; /* IE10+ */
830 }
831
832 div.code-block-caption span.caption-number {
833 padding: 0.1em 0.3em;
834 font-style: italic;
835 }
836
837 div.code-block-caption span.caption-text {
838 }
839
840 div.literal-block-wrapper {
841 margin: 1em 0;
842 }
843
844 code.xref, a code {
845 background-color: transparent;
846 font-weight: bold;
847 }
848
849 h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
850 background-color: transparent;
851 }
852
853 .viewcode-link {
854 float: right;
855 }
856
857 .viewcode-back {
858 float: right;
859 font-family: sans-serif;
860 }
861
862 div.viewcode-block:target {
863 margin: -1px -10px;
864 padding: 0 10px;
865 }
866
867 /* -- math display ---------------------------------------------------------- */
868
869 img.math {
870 vertical-align: middle;
871 }
872
873 div.body div.math p {
874 text-align: center;
875 }
876
877 span.eqno {
878 float: right;
879 }
880
881 span.eqno a.headerlink {
882 position: absolute;
883 z-index: 1;
884 }
885
886 div.math:hover a.headerlink {
887 visibility: visible;
888 }
889
890 /* -- printout stylesheet --------------------------------------------------- */
891
892 @media print {
893 div.document,
894 div.documentwrapper,
895 div.bodywrapper {
896 margin: 0 !important;
897 width: 100%;
898 }
899
900 div.sphinxsidebar,
901 div.related,
902 div.footer,
903 #top-link {
904 display: none;
905 }
906