basic.css 14 KB

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