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