basic.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928
  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: 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. 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. 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. /* Docutils 0.17 and older (footnotes & citations) */
  484. dl.footnote > dt,
  485. dl.citation > dt {
  486. float: left;
  487. margin-right: 0.5em;
  488. }
  489. dl.footnote > dd,
  490. dl.citation > dd {
  491. margin-bottom: 0em;
  492. }
  493. dl.footnote > dd:after,
  494. dl.citation > dd:after {
  495. content: "";
  496. clear: both;
  497. }
  498. /* Docutils 0.18+ (footnotes & citations) */
  499. aside.footnote > span,
  500. div.citation > span {
  501. float: left;
  502. }
  503. aside.footnote > span:last-of-type,
  504. div.citation > span:last-of-type {
  505. padding-right: 0.5em;
  506. }
  507. aside.footnote > p {
  508. margin-left: 2em;
  509. }
  510. div.citation > p {
  511. margin-left: 4em;
  512. }
  513. aside.footnote > p:last-of-type,
  514. div.citation > p:last-of-type {
  515. margin-bottom: 0em;
  516. }
  517. aside.footnote > p:last-of-type:after,
  518. div.citation > p:last-of-type:after {
  519. content: "";
  520. clear: both;
  521. }
  522. /* Footnotes & citations ends */
  523. dl.field-list {
  524. display: grid;
  525. grid-template-columns: fit-content(30%) auto;
  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. dl.field-list > dt:after {
  534. content: ":";
  535. }
  536. dl.field-list > dd {
  537. padding-left: 0.5em;
  538. margin-top: 0em;
  539. margin-left: 0em;
  540. margin-bottom: 0em;
  541. }
  542. dl {
  543. margin-bottom: 15px;
  544. }
  545. dd > :first-child {
  546. margin-top: 0px;
  547. }
  548. dd ul, dd table {
  549. margin-bottom: 10px;
  550. }
  551. dd {
  552. margin-top: 3px;
  553. margin-bottom: 10px;
  554. margin-left: 30px;
  555. }
  556. dl > dd:last-child,
  557. dl > dd:last-child > :last-child {
  558. margin-bottom: 0;
  559. }
  560. dt:target, span.highlighted {
  561. background-color: #fbe54e;
  562. }
  563. rect.highlighted {
  564. fill: #fbe54e;
  565. }
  566. dl.glossary dt {
  567. font-weight: bold;
  568. font-size: 1.1em;
  569. }
  570. .versionmodified {
  571. font-style: italic;
  572. }
  573. .system-message {
  574. background-color: #fda;
  575. padding: 5px;
  576. border: 3px solid red;
  577. }
  578. .footnote:target {
  579. background-color: #ffa;
  580. }
  581. .line-block {
  582. display: block;
  583. margin-top: 1em;
  584. margin-bottom: 1em;
  585. }
  586. .line-block .line-block {
  587. margin-top: 0;
  588. margin-bottom: 0;
  589. margin-left: 1.5em;
  590. }
  591. .guilabel, .menuselection {
  592. font-family: sans-serif;
  593. }
  594. .accelerator {
  595. text-decoration: underline;
  596. }
  597. .classifier {
  598. font-style: oblique;
  599. }
  600. .classifier:before {
  601. font-style: normal;
  602. margin: 0 0.5em;
  603. content: ":";
  604. display: inline-block;
  605. }
  606. abbr, acronym {
  607. border-bottom: dotted 1px;
  608. cursor: help;
  609. }
  610. /* -- code displays --------------------------------------------------------- */
  611. pre {
  612. overflow: auto;
  613. overflow-y: hidden; /* fixes display issues on Chrome browsers */
  614. }
  615. pre, div[class*="highlight-"] {
  616. clear: both;
  617. }
  618. span.pre {
  619. -moz-hyphens: none;
  620. -ms-hyphens: none;
  621. -webkit-hyphens: none;
  622. hyphens: none;
  623. white-space: nowrap;
  624. }
  625. div[class*="highlight-"] {
  626. margin: 1em 0;
  627. }
  628. td.linenos pre {
  629. border: 0;
  630. background-color: transparent;
  631. color: #aaa;
  632. }
  633. table.highlighttable {
  634. display: block;
  635. }
  636. table.highlighttable tbody {
  637. display: block;
  638. }
  639. table.highlighttable tr {
  640. display: flex;
  641. }
  642. table.highlighttable td {
  643. margin: 0;
  644. padding: 0;
  645. }
  646. table.highlighttable td.linenos {
  647. padding-right: 0.5em;
  648. }
  649. table.highlighttable td.code {
  650. flex: 1;
  651. overflow: hidden;
  652. }
  653. .highlight .hll {
  654. display: block;
  655. }
  656. div.highlight pre,
  657. table.highlighttable pre {
  658. margin: 0;
  659. }
  660. div.code-block-caption + div {
  661. margin-top: 0;
  662. }
  663. div.code-block-caption {
  664. margin-top: 1em;
  665. padding: 2px 5px;
  666. font-size: small;
  667. }
  668. div.code-block-caption code {
  669. background-color: transparent;
  670. }
  671. table.highlighttable td.linenos,
  672. span.linenos,
  673. div.highlight span.gp { /* gp: Generic.Prompt */
  674. user-select: none;
  675. -webkit-user-select: text; /* Safari fallback only */
  676. -webkit-user-select: none; /* Chrome/Safari */
  677. -moz-user-select: none; /* Firefox */
  678. -ms-user-select: none; /* IE10+ */
  679. }
  680. div.code-block-caption span.caption-number {
  681. padding: 0.1em 0.3em;
  682. font-style: italic;
  683. }
  684. div.code-block-caption span.caption-text {
  685. }
  686. div.literal-block-wrapper {
  687. margin: 1em 0;
  688. }
  689. code.xref, a code {
  690. background-color: transparent;
  691. font-weight: bold;
  692. }
  693. h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  694. background-color: transparent;
  695. }
  696. .viewcode-link {
  697. float: right;
  698. }
  699. .viewcode-back {
  700. float: right;
  701. font-family: sans-serif;
  702. }
  703. div.viewcode-block:target {
  704. margin: -1px -10px;
  705. padding: 0 10px;
  706. }
  707. /* -- math display ---------------------------------------------------------- */
  708. img.math {
  709. vertical-align: middle;
  710. }
  711. div.body div.math p {
  712. text-align: center;
  713. }
  714. span.eqno {
  715. float: right;
  716. }
  717. span.eqno a.headerlink {
  718. position: absolute;
  719. z-index: 1;
  720. }
  721. div.math:hover a.headerlink {
  722. visibility: visible;
  723. }
  724. /* -- printout stylesheet --------------------------------------------------- */
  725. @media print {
  726. div.document,
  727. div.documentwrapper,
  728. div.bodywrapper {
  729. margin: 0 !important;
  730. width: 100%;
  731. }
  732. div.sphinxsidebar,
  733. div.related,
  734. div.footer,
  735. #top-link {
  736. display: none;
  737. }
  738. }