basic.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  1. /*
  2. * basic.css
  3. * ~~~~~~~~~
  4. *
  5. * Sphinx stylesheet -- basic theme.
  6. *
  7. * :copyright: Copyright 2007-2023 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: 360px;
  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. h1:hover > a.headerlink,
  191. h2:hover > a.headerlink,
  192. h3:hover > a.headerlink,
  193. h4:hover > a.headerlink,
  194. h5:hover > a.headerlink,
  195. h6:hover > a.headerlink,
  196. dt:hover > a.headerlink,
  197. caption:hover > a.headerlink,
  198. p.caption:hover > a.headerlink,
  199. div.code-block-caption:hover > a.headerlink {
  200. visibility: visible;
  201. }
  202. div.body p.caption {
  203. text-align: inherit;
  204. }
  205. div.body td {
  206. text-align: left;
  207. }
  208. .first {
  209. margin-top: 0 !important;
  210. }
  211. p.rubric {
  212. margin-top: 30px;
  213. font-weight: bold;
  214. }
  215. img.align-left, figure.align-left, .figure.align-left, object.align-left {
  216. clear: left;
  217. float: left;
  218. margin-right: 1em;
  219. }
  220. img.align-right, figure.align-right, .figure.align-right, object.align-right {
  221. clear: right;
  222. float: right;
  223. margin-left: 1em;
  224. }
  225. img.align-center, figure.align-center, .figure.align-center, object.align-center {
  226. display: block;
  227. margin-left: auto;
  228. margin-right: auto;
  229. }
  230. img.align-default, figure.align-default, .figure.align-default {
  231. display: block;
  232. margin-left: auto;
  233. margin-right: auto;
  234. }
  235. .align-left {
  236. text-align: left;
  237. }
  238. .align-center {
  239. text-align: center;
  240. }
  241. .align-default {
  242. text-align: center;
  243. }
  244. .align-right {
  245. text-align: right;
  246. }
  247. /* -- sidebars -------------------------------------------------------------- */
  248. div.sidebar,
  249. aside.sidebar {
  250. margin: 0 0 0.5em 1em;
  251. border: 1px solid #ddb;
  252. padding: 7px;
  253. background-color: #ffe;
  254. width: 40%;
  255. float: right;
  256. clear: right;
  257. overflow-x: auto;
  258. }
  259. p.sidebar-title {
  260. font-weight: bold;
  261. }
  262. nav.contents,
  263. aside.topic,
  264. div.admonition, div.topic, blockquote {
  265. clear: left;
  266. }
  267. /* -- topics ---------------------------------------------------------------- */
  268. nav.contents,
  269. aside.topic,
  270. div.topic {
  271. border: 1px solid #ccc;
  272. padding: 7px;
  273. margin: 10px 0 10px 0;
  274. }
  275. p.topic-title {
  276. font-size: 1.1em;
  277. font-weight: bold;
  278. margin-top: 10px;
  279. }
  280. /* -- admonitions ----------------------------------------------------------- */
  281. div.admonition {
  282. margin-top: 10px;
  283. margin-bottom: 10px;
  284. padding: 7px;
  285. }
  286. div.admonition dt {
  287. font-weight: bold;
  288. }
  289. p.admonition-title {
  290. margin: 0px 10px 5px 0px;
  291. font-weight: bold;
  292. }
  293. div.body p.centered {
  294. text-align: center;
  295. margin-top: 25px;
  296. }
  297. /* -- content of sidebars/topics/admonitions -------------------------------- */
  298. div.sidebar > :last-child,
  299. aside.sidebar > :last-child,
  300. nav.contents > :last-child,
  301. aside.topic > :last-child,
  302. div.topic > :last-child,
  303. div.admonition > :last-child {
  304. margin-bottom: 0;
  305. }
  306. div.sidebar::after,
  307. aside.sidebar::after,
  308. nav.contents::after,
  309. aside.topic::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. th {
  345. text-align: left;
  346. padding-right: 5px;
  347. }
  348. table.citation {
  349. border-left: solid 1px gray;
  350. margin-left: 1px;
  351. }
  352. table.citation td {
  353. border-bottom: none;
  354. }
  355. th > :first-child,
  356. td > :first-child {
  357. margin-top: 0px;
  358. }
  359. th > :last-child,
  360. td > :last-child {
  361. margin-bottom: 0px;
  362. }
  363. /* -- figures --------------------------------------------------------------- */
  364. div.figure, figure {
  365. margin: 0.5em;
  366. padding: 0.5em;
  367. }
  368. div.figure p.caption, figcaption {
  369. padding: 0.3em;
  370. }
  371. div.figure p.caption span.caption-number,
  372. figcaption span.caption-number {
  373. font-style: italic;
  374. }
  375. div.figure p.caption span.caption-text,
  376. figcaption span.caption-text {
  377. }
  378. /* -- field list styles ----------------------------------------------------- */
  379. table.field-list td, table.field-list th {
  380. border: 0 !important;
  381. }
  382. .field-list ul {
  383. margin: 0;
  384. padding-left: 1em;
  385. }
  386. .field-list p {
  387. margin: 0;
  388. }
  389. .field-name {
  390. -moz-hyphens: manual;
  391. -ms-hyphens: manual;
  392. -webkit-hyphens: manual;
  393. hyphens: manual;
  394. }
  395. /* -- hlist styles ---------------------------------------------------------- */
  396. table.hlist {
  397. margin: 1em 0;
  398. }
  399. table.hlist td {
  400. vertical-align: top;
  401. }
  402. /* -- object description styles --------------------------------------------- */
  403. .sig {
  404. font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
  405. }
  406. .sig-name, code.descname {
  407. background-color: transparent;
  408. font-weight: bold;
  409. }
  410. .sig-name {
  411. font-size: 1.1em;
  412. }
  413. code.descname {
  414. font-size: 1.2em;
  415. }
  416. .sig-prename, code.descclassname {
  417. background-color: transparent;
  418. }
  419. .optional {
  420. font-size: 1.3em;
  421. }
  422. .sig-paren {
  423. font-size: larger;
  424. }
  425. .sig-param.n {
  426. font-style: italic;
  427. }
  428. /* C++ specific styling */
  429. .sig-inline.c-texpr,
  430. .sig-inline.cpp-texpr {
  431. font-family: unset;
  432. }
  433. .sig.c .k, .sig.c .kt,
  434. .sig.cpp .k, .sig.cpp .kt {
  435. color: #0033B3;
  436. }
  437. .sig.c .m,
  438. .sig.cpp .m {
  439. color: #1750EB;
  440. }
  441. .sig.c .s, .sig.c .sc,
  442. .sig.cpp .s, .sig.cpp .sc {
  443. color: #067D17;
  444. }
  445. /* -- other body styles ----------------------------------------------------- */
  446. ol.arabic {
  447. list-style: decimal;
  448. }
  449. ol.loweralpha {
  450. list-style: lower-alpha;
  451. }
  452. ol.upperalpha {
  453. list-style: upper-alpha;
  454. }
  455. ol.lowerroman {
  456. list-style: lower-roman;
  457. }
  458. ol.upperroman {
  459. list-style: upper-roman;
  460. }
  461. :not(li) > ol > li:first-child > :first-child,
  462. :not(li) > ul > li:first-child > :first-child {
  463. margin-top: 0px;
  464. }
  465. :not(li) > ol > li:last-child > :last-child,
  466. :not(li) > ul > li:last-child > :last-child {
  467. margin-bottom: 0px;
  468. }
  469. ol.simple ol p,
  470. ol.simple ul p,
  471. ul.simple ol p,
  472. ul.simple ul p {
  473. margin-top: 0;
  474. }
  475. ol.simple > li:not(:first-child) > p,
  476. ul.simple > li:not(:first-child) > p {
  477. margin-top: 0;
  478. }
  479. ol.simple p,
  480. ul.simple p {
  481. margin-bottom: 0;
  482. }
  483. aside.footnote > span,
  484. div.citation > span {
  485. float: left;
  486. }
  487. aside.footnote > span:last-of-type,
  488. div.citation > span:last-of-type {
  489. padding-right: 0.5em;
  490. }
  491. aside.footnote > p {
  492. margin-left: 2em;
  493. }
  494. div.citation > p {
  495. margin-left: 4em;
  496. }
  497. aside.footnote > p:last-of-type,
  498. div.citation > p:last-of-type {
  499. margin-bottom: 0em;
  500. }
  501. aside.footnote > p:last-of-type:after,
  502. div.citation > p:last-of-type:after {
  503. content: "";
  504. clear: both;
  505. }
  506. dl.field-list {
  507. display: grid;
  508. grid-template-columns: fit-content(30%) auto;
  509. }
  510. dl.field-list > dt {
  511. font-weight: bold;
  512. word-break: break-word;
  513. padding-left: 0.5em;
  514. padding-right: 5px;
  515. }
  516. dl.field-list > dd {
  517. padding-left: 0.5em;
  518. margin-top: 0em;
  519. margin-left: 0em;
  520. margin-bottom: 0em;
  521. }
  522. dl {
  523. margin-bottom: 15px;
  524. }
  525. dd > :first-child {
  526. margin-top: 0px;
  527. }
  528. dd ul, dd table {
  529. margin-bottom: 10px;
  530. }
  531. dd {
  532. margin-top: 3px;
  533. margin-bottom: 10px;
  534. margin-left: 30px;
  535. }
  536. .sig dd {
  537. margin-top: 0px;
  538. margin-bottom: 0px;
  539. }
  540. .sig dl {
  541. margin-top: 0px;
  542. margin-bottom: 0px;
  543. }
  544. dl > dd:last-child,
  545. dl > dd:last-child > :last-child {
  546. margin-bottom: 0;
  547. }
  548. dt:target, span.highlighted {
  549. background-color: #fbe54e;
  550. }
  551. rect.highlighted {
  552. fill: #fbe54e;
  553. }
  554. dl.glossary dt {
  555. font-weight: bold;
  556. font-size: 1.1em;
  557. }
  558. .versionmodified {
  559. font-style: italic;
  560. }
  561. .system-message {
  562. background-color: #fda;
  563. padding: 5px;
  564. border: 3px solid red;
  565. }
  566. .footnote:target {
  567. background-color: #ffa;
  568. }
  569. .line-block {
  570. display: block;
  571. margin-top: 1em;
  572. margin-bottom: 1em;
  573. }
  574. .line-block .line-block {
  575. margin-top: 0;
  576. margin-bottom: 0;
  577. margin-left: 1.5em;
  578. }
  579. .guilabel, .menuselection {
  580. font-family: sans-serif;
  581. }
  582. .accelerator {
  583. text-decoration: underline;
  584. }
  585. .classifier {
  586. font-style: oblique;
  587. }
  588. .classifier:before {
  589. font-style: normal;
  590. margin: 0 0.5em;
  591. content: ":";
  592. display: inline-block;
  593. }
  594. abbr, acronym {
  595. border-bottom: dotted 1px;
  596. cursor: help;
  597. }
  598. .translated {
  599. background-color: rgba(207, 255, 207, 0.2)
  600. }
  601. .untranslated {
  602. background-color: rgba(255, 207, 207, 0.2)
  603. }
  604. /* -- code displays --------------------------------------------------------- */
  605. pre {
  606. overflow: auto;
  607. overflow-y: hidden; /* fixes display issues on Chrome browsers */
  608. }
  609. pre, div[class*="highlight-"] {
  610. clear: both;
  611. }
  612. span.pre {
  613. -moz-hyphens: none;
  614. -ms-hyphens: none;
  615. -webkit-hyphens: none;
  616. hyphens: none;
  617. white-space: nowrap;
  618. }
  619. div[class*="highlight-"] {
  620. margin: 1em 0;
  621. }
  622. td.linenos pre {
  623. border: 0;
  624. background-color: transparent;
  625. color: #aaa;
  626. }
  627. table.highlighttable {
  628. display: block;
  629. }
  630. table.highlighttable tbody {
  631. display: block;
  632. }
  633. table.highlighttable tr {
  634. display: flex;
  635. }
  636. table.highlighttable td {
  637. margin: 0;
  638. padding: 0;
  639. }
  640. table.highlighttable td.linenos {
  641. padding-right: 0.5em;
  642. }
  643. table.highlighttable td.code {
  644. flex: 1;
  645. overflow: hidden;
  646. }
  647. .highlight .hll {
  648. display: block;
  649. }
  650. div.highlight pre,
  651. table.highlighttable pre {
  652. margin: 0;
  653. }
  654. div.code-block-caption + div {
  655. margin-top: 0;
  656. }
  657. div.code-block-caption {
  658. margin-top: 1em;
  659. padding: 2px 5px;
  660. font-size: small;
  661. }
  662. div.code-block-caption code {
  663. background-color: transparent;
  664. }
  665. table.highlighttable td.linenos,
  666. span.linenos,
  667. div.highlight span.gp { /* gp: Generic.Prompt */
  668. user-select: none;
  669. -webkit-user-select: text; /* Safari fallback only */
  670. -webkit-user-select: none; /* Chrome/Safari */
  671. -moz-user-select: none; /* Firefox */
  672. -ms-user-select: none; /* IE10+ */
  673. }
  674. div.code-block-caption span.caption-number {
  675. padding: 0.1em 0.3em;
  676. font-style: italic;
  677. }
  678. div.code-block-caption span.caption-text {
  679. }
  680. div.literal-block-wrapper {
  681. margin: 1em 0;
  682. }
  683. code.xref, a code {
  684. background-color: transparent;
  685. font-weight: bold;
  686. }
  687. h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  688. background-color: transparent;
  689. }
  690. .viewcode-link {
  691. float: right;
  692. }
  693. .viewcode-back {
  694. float: right;
  695. font-family: sans-serif;
  696. }
  697. div.viewcode-block:target {
  698. margin: -1px -10px;
  699. padding: 0 10px;
  700. }
  701. /* -- math display ---------------------------------------------------------- */
  702. img.math {
  703. vertical-align: middle;
  704. }
  705. div.body div.math p {
  706. text-align: center;
  707. }
  708. span.eqno {
  709. float: right;
  710. }
  711. span.eqno a.headerlink {
  712. position: absolute;
  713. z-index: 1;
  714. }
  715. div.math:hover a.headerlink {
  716. visibility: visible;
  717. }
  718. /* -- printout stylesheet --------------------------------------------------- */
  719. @media print {
  720. div.document,
  721. div.documentwrapper,
  722. div.bodywrapper {
  723. margin: 0 !important;
  724. width: 100%;
  725. }
  726. div.sphinxsidebar,
  727. div.related,
  728. div.footer,
  729. #top-link {
  730. display: none;
  731. }
  732. }