basic.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  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: flex;
  411. flex-wrap: wrap;
  412. }
  413. dl.field-list > dt {
  414. flex-basis: 20%;
  415. font-weight: bold;
  416. word-break: break-word;
  417. }
  418. dl.field-list > dt:after {
  419. content: ":";
  420. }
  421. dl.field-list > dd {
  422. flex-basis: 70%;
  423. padding-left: 1em;
  424. margin-left: 0em;
  425. margin-bottom: 0em;
  426. }
  427. dl {
  428. margin-bottom: 15px;
  429. }
  430. dd > p:first-child {
  431. margin-top: 0px;
  432. }
  433. dd ul, dd table {
  434. margin-bottom: 10px;
  435. }
  436. dd {
  437. margin-top: 3px;
  438. margin-bottom: 10px;
  439. margin-left: 30px;
  440. }
  441. dt:target, span.highlighted {
  442. background-color: #fbe54e;
  443. }
  444. rect.highlighted {
  445. fill: #fbe54e;
  446. }
  447. dl.glossary dt {
  448. font-weight: bold;
  449. font-size: 1.1em;
  450. }
  451. .optional {
  452. font-size: 1.3em;
  453. }
  454. .sig-paren {
  455. font-size: larger;
  456. }
  457. .versionmodified {
  458. font-style: italic;
  459. }
  460. .system-message {
  461. background-color: #fda;
  462. padding: 5px;
  463. border: 3px solid red;
  464. }
  465. .footnote:target {
  466. background-color: #ffa;
  467. }
  468. .line-block {
  469. display: block;
  470. margin-top: 1em;
  471. margin-bottom: 1em;
  472. }
  473. .line-block .line-block {
  474. margin-top: 0;
  475. margin-bottom: 0;
  476. margin-left: 1.5em;
  477. }
  478. .guilabel, .menuselection {
  479. font-family: sans-serif;
  480. }
  481. .accelerator {
  482. text-decoration: underline;
  483. }
  484. .classifier {
  485. font-style: oblique;
  486. }
  487. .classifier:before {
  488. font-style: normal;
  489. margin: 0.5em;
  490. content: ":";
  491. }
  492. abbr, acronym {
  493. border-bottom: dotted 1px;
  494. cursor: help;
  495. }
  496. /* -- code displays --------------------------------------------------------- */
  497. pre {
  498. overflow: auto;
  499. overflow-y: hidden; /* fixes display issues on Chrome browsers */
  500. }
  501. span.pre {
  502. -moz-hyphens: none;
  503. -ms-hyphens: none;
  504. -webkit-hyphens: none;
  505. hyphens: none;
  506. }
  507. td.linenos pre {
  508. padding: 5px 0px;
  509. border: 0;
  510. background-color: transparent;
  511. color: #aaa;
  512. }
  513. table.highlighttable {
  514. margin-left: 0.5em;
  515. }
  516. table.highlighttable td {
  517. padding: 0 0.5em 0 0.5em;
  518. }
  519. div.code-block-caption {
  520. padding: 2px 5px;
  521. font-size: small;
  522. }
  523. div.code-block-caption code {
  524. background-color: transparent;
  525. }
  526. div.code-block-caption + div > div.highlight > pre {
  527. margin-top: 0;
  528. }
  529. div.code-block-caption span.caption-number {
  530. padding: 0.1em 0.3em;
  531. font-style: italic;
  532. }
  533. div.code-block-caption span.caption-text {
  534. }
  535. div.literal-block-wrapper {
  536. padding: 1em 1em 0;
  537. }
  538. div.literal-block-wrapper div.highlight {
  539. margin: 0;
  540. }
  541. code.descname {
  542. background-color: transparent;
  543. font-weight: bold;
  544. font-size: 1.2em;
  545. }
  546. code.descclassname {
  547. background-color: transparent;
  548. }
  549. code.xref, a code {
  550. background-color: transparent;
  551. font-weight: bold;
  552. }
  553. h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  554. background-color: transparent;
  555. }
  556. .viewcode-link {
  557. float: right;
  558. }
  559. .viewcode-back {
  560. float: right;
  561. font-family: sans-serif;
  562. }
  563. div.viewcode-block:target {
  564. margin: -1px -10px;
  565. padding: 0 10px;
  566. }
  567. /* -- math display ---------------------------------------------------------- */
  568. img.math {
  569. vertical-align: middle;
  570. }
  571. div.body div.math p {
  572. text-align: center;
  573. }
  574. span.eqno {
  575. float: right;
  576. }
  577. span.eqno a.headerlink {
  578. position: relative;
  579. left: 0px;
  580. z-index: 1;
  581. }
  582. div.math:hover a.headerlink {
  583. visibility: visible;
  584. }
  585. /* -- printout stylesheet --------------------------------------------------- */
  586. @media print {
  587. div.document,
  588. div.documentwrapper,
  589. div.bodywrapper {
  590. margin: 0 !important;
  591. width: 100%;
  592. }
  593. div.sphinxsidebar,
  594. div.related,
  595. div.footer,
  596. #top-link {
  597. display: none;
  598. }
  599. }