basic.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861
  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, .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. /* -- other body styles ----------------------------------------------------- */
  406. ol.arabic {
  407. list-style: decimal;
  408. }
  409. ol.loweralpha {
  410. list-style: lower-alpha;
  411. }
  412. ol.upperalpha {
  413. list-style: upper-alpha;
  414. }
  415. ol.lowerroman {
  416. list-style: lower-roman;
  417. }
  418. ol.upperroman {
  419. list-style: upper-roman;
  420. }
  421. :not(li) > ol > li:first-child > :first-child,
  422. :not(li) > ul > li:first-child > :first-child {
  423. margin-top: 0px;
  424. }
  425. :not(li) > ol > li:last-child > :last-child,
  426. :not(li) > ul > li:last-child > :last-child {
  427. margin-bottom: 0px;
  428. }
  429. ol.simple ol p,
  430. ol.simple ul p,
  431. ul.simple ol p,
  432. ul.simple ul p {
  433. margin-top: 0;
  434. }
  435. ol.simple > li:not(:first-child) > p,
  436. ul.simple > li:not(:first-child) > p {
  437. margin-top: 0;
  438. }
  439. ol.simple p,
  440. ul.simple p {
  441. margin-bottom: 0;
  442. }
  443. dl.footnote > dt,
  444. dl.citation > dt {
  445. float: left;
  446. margin-right: 0.5em;
  447. }
  448. dl.footnote > dd,
  449. dl.citation > dd {
  450. margin-bottom: 0em;
  451. }
  452. dl.footnote > dd:after,
  453. dl.citation > dd:after {
  454. content: "";
  455. clear: both;
  456. }
  457. dl.field-list {
  458. display: grid;
  459. grid-template-columns: fit-content(30%) auto;
  460. }
  461. dl.field-list > dt {
  462. font-weight: bold;
  463. word-break: break-word;
  464. padding-left: 0.5em;
  465. padding-right: 5px;
  466. }
  467. dl.field-list > dt:after {
  468. content: ":";
  469. }
  470. dl.field-list > dd {
  471. padding-left: 0.5em;
  472. margin-top: 0em;
  473. margin-left: 0em;
  474. margin-bottom: 0em;
  475. }
  476. dl {
  477. margin-bottom: 15px;
  478. }
  479. dd > :first-child {
  480. margin-top: 0px;
  481. }
  482. dd ul, dd table {
  483. margin-bottom: 10px;
  484. }
  485. dd {
  486. margin-top: 3px;
  487. margin-bottom: 10px;
  488. margin-left: 30px;
  489. }
  490. dl > dd:last-child,
  491. dl > dd:last-child > :last-child {
  492. margin-bottom: 0;
  493. }
  494. dt:target, span.highlighted {
  495. background-color: #fbe54e;
  496. }
  497. rect.highlighted {
  498. fill: #fbe54e;
  499. }
  500. dl.glossary dt {
  501. font-weight: bold;
  502. font-size: 1.1em;
  503. }
  504. .optional {
  505. font-size: 1.3em;
  506. }
  507. .sig-paren {
  508. font-size: larger;
  509. }
  510. .versionmodified {
  511. font-style: italic;
  512. }
  513. .system-message {
  514. background-color: #fda;
  515. padding: 5px;
  516. border: 3px solid red;
  517. }
  518. .footnote:target {
  519. background-color: #ffa;
  520. }
  521. .line-block {
  522. display: block;
  523. margin-top: 1em;
  524. margin-bottom: 1em;
  525. }
  526. .line-block .line-block {
  527. margin-top: 0;
  528. margin-bottom: 0;
  529. margin-left: 1.5em;
  530. }
  531. .guilabel, .menuselection {
  532. font-family: sans-serif;
  533. }
  534. .accelerator {
  535. text-decoration: underline;
  536. }
  537. .classifier {
  538. font-style: oblique;
  539. }
  540. .classifier:before {
  541. font-style: normal;
  542. margin: 0.5em;
  543. content: ":";
  544. }
  545. abbr, acronym {
  546. border-bottom: dotted 1px;
  547. cursor: help;
  548. }
  549. /* -- code displays --------------------------------------------------------- */
  550. pre {
  551. overflow: auto;
  552. overflow-y: hidden; /* fixes display issues on Chrome browsers */
  553. }
  554. pre, div[class*="highlight-"] {
  555. clear: both;
  556. }
  557. span.pre {
  558. -moz-hyphens: none;
  559. -ms-hyphens: none;
  560. -webkit-hyphens: none;
  561. hyphens: none;
  562. }
  563. div[class*="highlight-"] {
  564. margin: 1em 0;
  565. }
  566. td.linenos pre {
  567. border: 0;
  568. background-color: transparent;
  569. color: #aaa;
  570. }
  571. table.highlighttable {
  572. display: block;
  573. }
  574. table.highlighttable tbody {
  575. display: block;
  576. }
  577. table.highlighttable tr {
  578. display: flex;
  579. }
  580. table.highlighttable td {
  581. margin: 0;
  582. padding: 0;
  583. }
  584. table.highlighttable td.linenos {
  585. padding-right: 0.5em;
  586. }
  587. table.highlighttable td.code {
  588. flex: 1;
  589. overflow: hidden;
  590. }
  591. .highlight .hll {
  592. display: block;
  593. }
  594. div.highlight pre,
  595. table.highlighttable pre {
  596. margin: 0;
  597. }
  598. div.code-block-caption + div {
  599. margin-top: 0;
  600. }
  601. div.code-block-caption {
  602. margin-top: 1em;
  603. padding: 2px 5px;
  604. font-size: small;
  605. }
  606. div.code-block-caption code {
  607. background-color: transparent;
  608. }
  609. table.highlighttable td.linenos,
  610. span.linenos,
  611. div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
  612. user-select: none;
  613. }
  614. div.code-block-caption span.caption-number {
  615. padding: 0.1em 0.3em;
  616. font-style: italic;
  617. }
  618. div.code-block-caption span.caption-text {
  619. }
  620. div.literal-block-wrapper {
  621. margin: 1em 0;
  622. }
  623. code.descname {
  624. background-color: transparent;
  625. font-weight: bold;
  626. font-size: 1.2em;
  627. }
  628. code.descclassname {
  629. background-color: transparent;
  630. }
  631. code.xref, a code {
  632. background-color: transparent;
  633. font-weight: bold;
  634. }
  635. h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  636. background-color: transparent;
  637. }
  638. .viewcode-link {
  639. float: right;
  640. }
  641. .viewcode-back {
  642. float: right;
  643. font-family: sans-serif;
  644. }
  645. div.viewcode-block:target {
  646. margin: -1px -10px;
  647. padding: 0 10px;
  648. }
  649. /* -- math display ---------------------------------------------------------- */
  650. img.math {
  651. vertical-align: middle;
  652. }
  653. div.body div.math p {
  654. text-align: center;
  655. }
  656. span.eqno {
  657. float: right;
  658. }
  659. span.eqno a.headerlink {
  660. position: absolute;
  661. z-index: 1;
  662. }
  663. div.math:hover a.headerlink {
  664. visibility: visible;
  665. }
  666. /* -- printout stylesheet --------------------------------------------------- */
  667. @media print {
  668. div.document,
  669. div.documentwrapper,
  670. div.bodywrapper {
  671. margin: 0 !important;
  672. width: 100%;
  673. }
  674. div.sphinxsidebar,
  675. div.related,
  676. div.footer,
  677. #top-link {
  678. display: none;
  679. }
  680. }