basic.css 14 KB

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