basic.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  1. /*
  2. * basic.css
  3. * ~~~~~~~~~
  4. *
  5. * Sphinx stylesheet -- basic theme.
  6. *
  7. * :copyright: Copyright 2007-2019 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. /* -- relbar ---------------------------------------------------------------- */
  16. div.related {
  17. width: 100%;
  18. font-size: 90%;
  19. }
  20. div.related h3 {
  21. display: none;
  22. }
  23. div.related ul {
  24. margin: 0;
  25. padding: 0 0 0 10px;
  26. list-style: none;
  27. }
  28. div.related li {
  29. display: inline;
  30. }
  31. div.related li.right {
  32. float: right;
  33. margin-right: 5px;
  34. }
  35. /* -- sidebar --------------------------------------------------------------- */
  36. div.sphinxsidebarwrapper {
  37. padding: 10px 5px 0 10px;
  38. }
  39. div.sphinxsidebar {
  40. float: left;
  41. width: 230px;
  42. margin-left: -100%;
  43. font-size: 90%;
  44. word-wrap: break-word;
  45. overflow-wrap : break-word;
  46. }
  47. div.sphinxsidebar ul {
  48. list-style: none;
  49. }
  50. div.sphinxsidebar ul ul,
  51. div.sphinxsidebar ul.want-points {
  52. margin-left: 20px;
  53. list-style: square;
  54. }
  55. div.sphinxsidebar ul ul {
  56. margin-top: 0;
  57. margin-bottom: 0;
  58. }
  59. div.sphinxsidebar form {
  60. margin-top: 10px;
  61. }
  62. div.sphinxsidebar input {
  63. border: 1px solid #98dbcc;
  64. font-family: sans-serif;
  65. font-size: 1em;
  66. }
  67. div.sphinxsidebar #searchbox form.search {
  68. overflow: hidden;
  69. }
  70. div.sphinxsidebar #searchbox input[type="text"] {
  71. float: left;
  72. width: 80%;
  73. padding: 0.25em;
  74. box-sizing: border-box;
  75. }
  76. div.sphinxsidebar #searchbox input[type="submit"] {
  77. float: left;
  78. width: 20%;
  79. border-left: none;
  80. padding: 0.25em;
  81. box-sizing: border-box;
  82. }
  83. img {
  84. border: 0;
  85. max-width: 100%;
  86. }
  87. /* -- search page ----------------------------------------------------------- */
  88. ul.search {
  89. margin: 10px 0 0 20px;
  90. padding: 0;
  91. }
  92. ul.search li {
  93. padding: 5px 0 5px 20px;
  94. background-image: url(file.png);
  95. background-repeat: no-repeat;
  96. background-position: 0 7px;
  97. }
  98. ul.search li a {
  99. font-weight: bold;
  100. }
  101. ul.search li div.context {
  102. color: #888;
  103. margin: 2px 0 0 30px;
  104. text-align: left;
  105. }
  106. ul.keywordmatches li.goodmatch a {
  107. font-weight: bold;
  108. }
  109. /* -- index page ------------------------------------------------------------ */
  110. table.contentstable {
  111. width: 90%;
  112. margin-left: auto;
  113. margin-right: auto;
  114. }
  115. table.contentstable p.biglink {
  116. line-height: 150%;
  117. }
  118. a.biglink {
  119. font-size: 1.3em;
  120. }
  121. span.linkdescr {
  122. font-style: italic;
  123. padding-top: 5px;
  124. font-size: 90%;
  125. }
  126. /* -- general index --------------------------------------------------------- */
  127. table.indextable {
  128. width: 100%;
  129. }
  130. table.indextable td {
  131. text-align: left;
  132. vertical-align: top;
  133. }
  134. table.indextable ul {
  135. margin-top: 0;
  136. margin-bottom: 0;
  137. list-style-type: none;
  138. }
  139. table.indextable > tbody > tr > td > ul {
  140. padding-left: 0em;
  141. }
  142. table.indextable tr.pcap {
  143. height: 10px;
  144. }
  145. table.indextable tr.cap {
  146. margin-top: 10px;
  147. background-color: #f2f2f2;
  148. }
  149. img.toggler {
  150. margin-right: 3px;
  151. margin-top: 3px;
  152. cursor: pointer;
  153. }
  154. div.modindex-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. div.genindex-jumpbox {
  161. border-top: 1px solid #ddd;
  162. border-bottom: 1px solid #ddd;
  163. margin: 1em 0 1em 0;
  164. padding: 0.4em;
  165. }
  166. /* -- domain module index --------------------------------------------------- */
  167. table.modindextable td {
  168. padding: 2px;
  169. border-collapse: collapse;
  170. }
  171. /* -- general body styles --------------------------------------------------- */
  172. div.body {
  173. min-width: 450px;
  174. max-width: 800px;
  175. }
  176. div.body p, div.body dd, div.body li, div.body blockquote {
  177. -moz-hyphens: auto;
  178. -ms-hyphens: auto;
  179. -webkit-hyphens: auto;
  180. hyphens: auto;
  181. }
  182. a.headerlink {
  183. visibility: hidden;
  184. }
  185. a.brackets:before,
  186. span.brackets > a:before{
  187. content: "[";
  188. }
  189. a.brackets:after,
  190. span.brackets > a:after {
  191. content: "]";
  192. }
  193. h1:hover > a.headerlink,
  194. h2:hover > a.headerlink,
  195. h3:hover > a.headerlink,
  196. h4:hover > a.headerlink,
  197. h5:hover > a.headerlink,
  198. h6:hover > a.headerlink,
  199. dt:hover > a.headerlink,
  200. caption:hover > a.headerlink,
  201. p.caption:hover > a.headerlink,
  202. div.code-block-caption:hover > a.headerlink {
  203. visibility: visible;
  204. }
  205. div.body p.caption {
  206. text-align: inherit;
  207. }
  208. div.body td {
  209. text-align: left;
  210. }
  211. .first {
  212. margin-top: 0 !important;
  213. }
  214. p.rubric {
  215. margin-top: 30px;
  216. font-weight: bold;
  217. }
  218. img.align-left, .figure.align-left, object.align-left {
  219. clear: left;
  220. float: left;
  221. margin-right: 1em;
  222. }
  223. img.align-right, .figure.align-right, object.align-right {
  224. clear: right;
  225. float: right;
  226. margin-left: 1em;
  227. }
  228. img.align-center, .figure.align-center, object.align-center {
  229. display: block;
  230. margin-left: auto;
  231. margin-right: auto;
  232. }
  233. img.align-default, .figure.align-default {
  234. display: block;
  235. margin-left: auto;
  236. margin-right: auto;
  237. }
  238. .align-left {
  239. text-align: left;
  240. }
  241. .align-center {
  242. text-align: center;
  243. }
  244. .align-default {
  245. text-align: center;
  246. }
  247. .align-right {
  248. text-align: right;
  249. }
  250. /* -- sidebars -------------------------------------------------------------- */
  251. div.sidebar {
  252. margin: 0 0 0.5em 1em;
  253. border: 1px solid #ddb;
  254. padding: 7px 7px 0 7px;
  255. background-color: #ffe;
  256. width: 40%;
  257. float: right;
  258. }
  259. p.sidebar-title {
  260. font-weight: bold;
  261. }
  262. /* -- topics ---------------------------------------------------------------- */
  263. div.topic {
  264. border: 1px solid #ccc;
  265. padding: 7px 7px 0 7px;
  266. margin: 10px 0 10px 0;
  267. }
  268. p.topic-title {
  269. font-size: 1.1em;
  270. font-weight: bold;
  271. margin-top: 10px;
  272. }
  273. /* -- admonitions ----------------------------------------------------------- */
  274. div.admonition {
  275. margin-top: 10px;
  276. margin-bottom: 10px;
  277. padding: 7px;
  278. }
  279. div.admonition dt {
  280. font-weight: bold;
  281. }
  282. div.admonition dl {
  283. margin-bottom: 0;
  284. }
  285. p.admonition-title {
  286. margin: 0px 10px 5px 0px;
  287. font-weight: bold;
  288. }
  289. div.body p.centered {
  290. text-align: center;
  291. margin-top: 25px;
  292. }
  293. /* -- tables ---------------------------------------------------------------- */
  294. table.docutils {
  295. border: 0;
  296. border-collapse: collapse;
  297. }
  298. table.align-center {
  299. margin-left: auto;
  300. margin-right: auto;
  301. }
  302. table.align-default {
  303. margin-left: auto;
  304. margin-right: auto;
  305. }
  306. table caption span.caption-number {
  307. font-style: italic;
  308. }
  309. table caption span.caption-text {
  310. }
  311. table.docutils td, table.docutils th {
  312. padding: 1px 8px 1px 5px;
  313. border-top: 0;
  314. border-left: 0;
  315. border-right: 0;
  316. border-bottom: 1px solid #aaa;
  317. }
  318. table.footnote td, table.footnote th {
  319. border: 0 !important;
  320. }
  321. th {
  322. text-align: left;
  323. padding-right: 5px;
  324. }
  325. table.citation {
  326. border-left: solid 1px gray;
  327. margin-left: 1px;
  328. }
  329. table.citation td {
  330. border-bottom: none;
  331. }
  332. th > p:first-child,
  333. td > p:first-child {
  334. margin-top: 0px;
  335. }
  336. th > p:last-child,
  337. td > p:last-child {
  338. margin-bottom: 0px;
  339. }
  340. /* -- figures --------------------------------------------------------------- */
  341. div.figure {
  342. margin: 0.5em;
  343. padding: 0.5em;
  344. }
  345. div.figure p.caption {
  346. padding: 0.3em;
  347. }
  348. div.figure p.caption span.caption-number {
  349. font-style: italic;
  350. }
  351. div.figure p.caption span.caption-text {
  352. }
  353. /* -- field list styles ----------------------------------------------------- */
  354. table.field-list td, table.field-list th {
  355. border: 0 !important;
  356. }
  357. .field-list ul {
  358. margin: 0;
  359. padding-left: 1em;
  360. }
  361. .field-list p {
  362. margin: 0;
  363. }
  364. .field-name {
  365. -moz-hyphens: manual;
  366. -ms-hyphens: manual;
  367. -webkit-hyphens: manual;
  368. hyphens: manual;
  369. }
  370. /* -- hlist styles ---------------------------------------------------------- */
  371. table.hlist td {
  372. vertical-align: top;
  373. }
  374. /* -- other body styles ----------------------------------------------------- */
  375. ol.arabic {
  376. list-style: decimal;
  377. }
  378. ol.loweralpha {
  379. list-style: lower-alpha;
  380. }
  381. ol.upperalpha {
  382. list-style: upper-alpha;
  383. }
  384. ol.lowerroman {
  385. list-style: lower-roman;
  386. }
  387. ol.upperroman {
  388. list-style: upper-roman;
  389. }
  390. li > p:first-child {
  391. margin-top: 0px;
  392. }
  393. li > p:last-child {
  394. margin-bottom: 0px;
  395. }
  396. dl.footnote > dt,
  397. dl.citation > dt {
  398. float: left;
  399. }
  400. dl.footnote > dd,
  401. dl.citation > dd {
  402. margin-bottom: 0em;
  403. }
  404. dl.footnote > dd:after,
  405. dl.citation > dd:after {
  406. content: "";
  407. clear: both;
  408. }
  409. dl.field-list {
  410. display: grid;
  411. grid-template-columns: fit-content(30%) auto;
  412. }
  413. dl.field-list > dt {
  414. font-weight: bold;
  415. word-break: break-word;
  416. padding-left: 0.5em;
  417. padding-right: 5px;
  418. }
  419. dl.field-list > dt:after {
  420. content: ":";
  421. }
  422. dl.field-list > dd {
  423. padding-left: 0.5em;
  424. margin-top: 0em;
  425. margin-left: 0em;
  426. margin-bottom: 0em;
  427. }
  428. dl {
  429. margin-bottom: 15px;
  430. }
  431. dd > p:first-child {
  432. margin-top: 0px;
  433. }
  434. dd ul, dd table {
  435. margin-bottom: 10px;
  436. }
  437. dd {
  438. margin-top: 3px;
  439. margin-bottom: 10px;
  440. margin-left: 30px;
  441. }
  442. dt:target, span.highlighted {
  443. background-color: #fbe54e;
  444. }
  445. rect.highlighted {
  446. fill: #fbe54e;
  447. }
  448. dl.glossary dt {
  449. font-weight: bold;
  450. font-size: 1.1em;
  451. }
  452. .optional {
  453. font-size: 1.3em;
  454. }
  455. .sig-paren {
  456. font-size: larger;
  457. }
  458. .versionmodified {
  459. font-style: italic;
  460. }
  461. .system-message {
  462. background-color: #fda;
  463. padding: 5px;
  464. border: 3px solid red;
  465. }
  466. .footnote:target {
  467. background-color: #ffa;
  468. }
  469. .line-block {
  470. display: block;
  471. margin-top: 1em;
  472. margin-bottom: 1em;
  473. }
  474. .line-block .line-block {
  475. margin-top: 0;
  476. margin-bottom: 0;
  477. margin-left: 1.5em;
  478. }
  479. .guilabel, .menuselection {
  480. font-family: sans-serif;
  481. }
  482. .accelerator {
  483. text-decoration: underline;
  484. }
  485. .classifier {
  486. font-style: oblique;
  487. }
  488. .classifier:before {
  489. font-style: normal;
  490. margin: 0.5em;
  491. content: ":";
  492. }
  493. abbr, acronym {
  494. border-bottom: dotted 1px;
  495. cursor: help;
  496. }
  497. /* -- code displays --------------------------------------------------------- */
  498. pre {
  499. overflow: auto;
  500. overflow-y: hidden; /* fixes display issues on Chrome browsers */
  501. }
  502. span.pre {
  503. -moz-hyphens: none;
  504. -ms-hyphens: none;
  505. -webkit-hyphens: none;
  506. hyphens: none;
  507. }
  508. td.linenos pre {
  509. padding: 5px 0px;
  510. border: 0;
  511. background-color: transparent;
  512. color: #aaa;
  513. }
  514. table.highlighttable {
  515. margin-left: 0.5em;
  516. }
  517. table.highlighttable td {
  518. padding: 0 0.5em 0 0.5em;
  519. }
  520. div.code-block-caption {
  521. padding: 2px 5px;
  522. font-size: small;
  523. }
  524. div.code-block-caption code {
  525. background-color: transparent;
  526. }
  527. div.code-block-caption + div > div.highlight > pre {
  528. margin-top: 0;
  529. }
  530. div.code-block-caption span.caption-number {
  531. padding: 0.1em 0.3em;
  532. font-style: italic;
  533. }
  534. div.code-block-caption span.caption-text {
  535. }
  536. div.literal-block-wrapper {
  537. padding: 1em 1em 0;
  538. }
  539. div.literal-block-wrapper div.highlight {
  540. margin: 0;
  541. }
  542. code.descname {
  543. background-color: transparent;
  544. font-weight: bold;
  545. font-size: 1.2em;
  546. }
  547. code.descclassname {
  548. background-color: transparent;
  549. }
  550. code.xref, a code {
  551. background-color: transparent;
  552. font-weight: bold;
  553. }
  554. h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  555. background-color: transparent;
  556. }
  557. .viewcode-link {
  558. float: right;
  559. }
  560. .viewcode-back {
  561. float: right;
  562. font-family: sans-serif;
  563. }
  564. div.viewcode-block:target {
  565. margin: -1px -10px;
  566. padding: 0 10px;
  567. }
  568. /* -- math display ---------------------------------------------------------- */
  569. img.math {
  570. vertical-align: middle;
  571. }
  572. div.body div.math p {
  573. text-align: center;
  574. }
  575. span.eqno {
  576. float: right;
  577. }
  578. span.eqno a.headerlink {
  579. position: relative;
  580. left: 0px;
  581. z-index: 1;
  582. }
  583. div.math:hover a.headerlink {
  584. visibility: visible;
  585. }
  586. /* -- printout stylesheet --------------------------------------------------- */
  587. @media print {
  588. div.document,
  589. div.documentwrapper,
  590. div.bodywrapper {
  591. margin: 0 !important;
  592. width: 100%;
  593. }
  594. div.sphinxsidebar,
  595. div.related,
  596. div.footer,
  597. #top-link {
  598. display: none;
  599. }
  600. }