basic.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856
  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. /* -- 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 div.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, object.align-left {
  224. clear: left;
  225. float: left;
  226. margin-right: 1em;
  227. }
  228. img.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, object.align-center {
  234. display: block;
  235. margin-left: auto;
  236. margin-right: auto;
  237. }
  238. img.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. margin: 0 0 0.5em 1em;
  258. border: 1px solid #ddb;
  259. padding: 7px;
  260. background-color: #ffe;
  261. width: 40%;
  262. float: right;
  263. clear: right;
  264. overflow-x: auto;
  265. }
  266. p.sidebar-title {
  267. font-weight: bold;
  268. }
  269. div.admonition, div.topic, blockquote {
  270. clear: left;
  271. }
  272. /* -- topics ---------------------------------------------------------------- */
  273. div.topic {
  274. border: 1px solid #ccc;
  275. padding: 7px;
  276. margin: 10px 0 10px 0;
  277. }
  278. p.topic-title {
  279. font-size: 1.1em;
  280. font-weight: bold;
  281. margin-top: 10px;
  282. }
  283. /* -- admonitions ----------------------------------------------------------- */
  284. div.admonition {
  285. margin-top: 10px;
  286. margin-bottom: 10px;
  287. padding: 7px;
  288. }
  289. div.admonition dt {
  290. font-weight: bold;
  291. }
  292. p.admonition-title {
  293. margin: 0px 10px 5px 0px;
  294. font-weight: bold;
  295. }
  296. div.body p.centered {
  297. text-align: center;
  298. margin-top: 25px;
  299. }
  300. /* -- content of sidebars/topics/admonitions -------------------------------- */
  301. div.sidebar > :last-child,
  302. div.topic > :last-child,
  303. div.admonition > :last-child {
  304. margin-bottom: 0;
  305. }
  306. div.sidebar::after,
  307. div.topic::after,
  308. div.admonition::after,
  309. blockquote::after {
  310. display: block;
  311. content: '';
  312. clear: both;
  313. }
  314. /* -- tables ---------------------------------------------------------------- */
  315. table.docutils {
  316. margin-top: 10px;
  317. margin-bottom: 10px;
  318. border: 0;
  319. border-collapse: collapse;
  320. }
  321. table.align-center {
  322. margin-left: auto;
  323. margin-right: auto;
  324. }
  325. table.align-default {
  326. margin-left: auto;
  327. margin-right: auto;
  328. }
  329. table caption span.caption-number {
  330. font-style: italic;
  331. }
  332. table caption span.caption-text {
  333. }
  334. table.docutils td, table.docutils th {
  335. padding: 1px 8px 1px 5px;
  336. border-top: 0;
  337. border-left: 0;
  338. border-right: 0;
  339. border-bottom: 1px solid #aaa;
  340. }
  341. table.footnote td, table.footnote th {
  342. border: 0 !important;
  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 {
  365. margin: 0.5em;
  366. padding: 0.5em;
  367. }
  368. div.figure p.caption {
  369. padding: 0.3em;
  370. }
  371. div.figure p.caption span.caption-number {
  372. font-style: italic;
  373. }
  374. div.figure p.caption span.caption-text {
  375. }
  376. /* -- field list styles ----------------------------------------------------- */
  377. table.field-list td, table.field-list th {
  378. border: 0 !important;
  379. }
  380. .field-list ul {
  381. margin: 0;
  382. padding-left: 1em;
  383. }
  384. .field-list p {
  385. margin: 0;
  386. }
  387. .field-name {
  388. -moz-hyphens: manual;
  389. -ms-hyphens: manual;
  390. -webkit-hyphens: manual;
  391. hyphens: manual;
  392. }
  393. /* -- hlist styles ---------------------------------------------------------- */
  394. table.hlist {
  395. margin: 1em 0;
  396. }
  397. table.hlist td {
  398. vertical-align: top;
  399. }
  400. /* -- other body styles ----------------------------------------------------- */
  401. ol.arabic {
  402. list-style: decimal;
  403. }
  404. ol.loweralpha {
  405. list-style: lower-alpha;
  406. }
  407. ol.upperalpha {
  408. list-style: upper-alpha;
  409. }
  410. ol.lowerroman {
  411. list-style: lower-roman;
  412. }
  413. ol.upperroman {
  414. list-style: upper-roman;
  415. }
  416. :not(li) > ol > li:first-child > :first-child,
  417. :not(li) > ul > li:first-child > :first-child {
  418. margin-top: 0px;
  419. }
  420. :not(li) > ol > li:last-child > :last-child,
  421. :not(li) > ul > li:last-child > :last-child {
  422. margin-bottom: 0px;
  423. }
  424. ol.simple ol p,
  425. ol.simple ul p,
  426. ul.simple ol p,
  427. ul.simple ul p {
  428. margin-top: 0;
  429. }
  430. ol.simple > li:not(:first-child) > p,
  431. ul.simple > li:not(:first-child) > p {
  432. margin-top: 0;
  433. }
  434. ol.simple p,
  435. ul.simple p {
  436. margin-bottom: 0;
  437. }
  438. dl.footnote > dt,
  439. dl.citation > dt {
  440. float: left;
  441. margin-right: 0.5em;
  442. }
  443. dl.footnote > dd,
  444. dl.citation > dd {
  445. margin-bottom: 0em;
  446. }
  447. dl.footnote > dd:after,
  448. dl.citation > dd:after {
  449. content: "";
  450. clear: both;
  451. }
  452. dl.field-list {
  453. display: grid;
  454. grid-template-columns: fit-content(30%) auto;
  455. }
  456. dl.field-list > dt {
  457. font-weight: bold;
  458. word-break: break-word;
  459. padding-left: 0.5em;
  460. padding-right: 5px;
  461. }
  462. dl.field-list > dt:after {
  463. content: ":";
  464. }
  465. dl.field-list > dd {
  466. padding-left: 0.5em;
  467. margin-top: 0em;
  468. margin-left: 0em;
  469. margin-bottom: 0em;
  470. }
  471. dl {
  472. margin-bottom: 15px;
  473. }
  474. dd > :first-child {
  475. margin-top: 0px;
  476. }
  477. dd ul, dd table {
  478. margin-bottom: 10px;
  479. }
  480. dd {
  481. margin-top: 3px;
  482. margin-bottom: 10px;
  483. margin-left: 30px;
  484. }
  485. dl > dd:last-child,
  486. dl > dd:last-child > :last-child {
  487. margin-bottom: 0;
  488. }
  489. dt:target, span.highlighted {
  490. background-color: #fbe54e;
  491. }
  492. rect.highlighted {
  493. fill: #fbe54e;
  494. }
  495. dl.glossary dt {
  496. font-weight: bold;
  497. font-size: 1.1em;
  498. }
  499. .optional {
  500. font-size: 1.3em;
  501. }
  502. .sig-paren {
  503. font-size: larger;
  504. }
  505. .versionmodified {
  506. font-style: italic;
  507. }
  508. .system-message {
  509. background-color: #fda;
  510. padding: 5px;
  511. border: 3px solid red;
  512. }
  513. .footnote:target {
  514. background-color: #ffa;
  515. }
  516. .line-block {
  517. display: block;
  518. margin-top: 1em;
  519. margin-bottom: 1em;
  520. }
  521. .line-block .line-block {
  522. margin-top: 0;
  523. margin-bottom: 0;
  524. margin-left: 1.5em;
  525. }
  526. .guilabel, .menuselection {
  527. font-family: sans-serif;
  528. }
  529. .accelerator {
  530. text-decoration: underline;
  531. }
  532. .classifier {
  533. font-style: oblique;
  534. }
  535. .classifier:before {
  536. font-style: normal;
  537. margin: 0.5em;
  538. content: ":";
  539. }
  540. abbr, acronym {
  541. border-bottom: dotted 1px;
  542. cursor: help;
  543. }
  544. /* -- code displays --------------------------------------------------------- */
  545. pre {
  546. overflow: auto;
  547. overflow-y: hidden; /* fixes display issues on Chrome browsers */
  548. }
  549. pre, div[class*="highlight-"] {
  550. clear: both;
  551. }
  552. span.pre {
  553. -moz-hyphens: none;
  554. -ms-hyphens: none;
  555. -webkit-hyphens: none;
  556. hyphens: none;
  557. }
  558. div[class*="highlight-"] {
  559. margin: 1em 0;
  560. }
  561. td.linenos pre {
  562. border: 0;
  563. background-color: transparent;
  564. color: #aaa;
  565. }
  566. table.highlighttable {
  567. display: block;
  568. }
  569. table.highlighttable tbody {
  570. display: block;
  571. }
  572. table.highlighttable tr {
  573. display: flex;
  574. }
  575. table.highlighttable td {
  576. margin: 0;
  577. padding: 0;
  578. }
  579. table.highlighttable td.linenos {
  580. padding-right: 0.5em;
  581. }
  582. table.highlighttable td.code {
  583. flex: 1;
  584. overflow: hidden;
  585. }
  586. .highlight .hll {
  587. display: block;
  588. }
  589. div.highlight pre,
  590. table.highlighttable pre {
  591. margin: 0;
  592. }
  593. div.code-block-caption + div {
  594. margin-top: 0;
  595. }
  596. div.code-block-caption {
  597. margin-top: 1em;
  598. padding: 2px 5px;
  599. font-size: small;
  600. }
  601. div.code-block-caption code {
  602. background-color: transparent;
  603. }
  604. table.highlighttable td.linenos,
  605. span.linenos,
  606. div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
  607. user-select: none;
  608. }
  609. div.code-block-caption span.caption-number {
  610. padding: 0.1em 0.3em;
  611. font-style: italic;
  612. }
  613. div.code-block-caption span.caption-text {
  614. }
  615. div.literal-block-wrapper {
  616. margin: 1em 0;
  617. }
  618. code.descname {
  619. background-color: transparent;
  620. font-weight: bold;
  621. font-size: 1.2em;
  622. }
  623. code.descclassname {
  624. background-color: transparent;
  625. }
  626. code.xref, a code {
  627. background-color: transparent;
  628. font-weight: bold;
  629. }
  630. h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  631. background-color: transparent;
  632. }
  633. .viewcode-link {
  634. float: right;
  635. }
  636. .viewcode-back {
  637. float: right;
  638. font-family: sans-serif;
  639. }
  640. div.viewcode-block:target {
  641. margin: -1px -10px;
  642. padding: 0 10px;
  643. }
  644. /* -- math display ---------------------------------------------------------- */
  645. img.math {
  646. vertical-align: middle;
  647. }
  648. div.body div.math p {
  649. text-align: center;
  650. }
  651. span.eqno {
  652. float: right;
  653. }
  654. span.eqno a.headerlink {
  655. position: absolute;
  656. z-index: 1;
  657. }
  658. div.math:hover a.headerlink {
  659. visibility: visible;
  660. }
  661. /* -- printout stylesheet --------------------------------------------------- */
  662. @media print {
  663. div.document,
  664. div.documentwrapper,
  665. div.bodywrapper {
  666. margin: 0 !important;
  667. width: 100%;
  668. }
  669. div.sphinxsidebar,
  670. div.related,
  671. div.footer,
  672. #top-link {
  673. display: none;
  674. }
  675. }