basic.css 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665
  1. /*
  2. * basic.css
  3. * ~~~~~~~~~
  4. *
  5. * Sphinx stylesheet -- basic theme.
  6. *
  7. * :copyright: Copyright 2007-2018 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 input[type="text"] {
  68. float: left;
  69. width: 80%;
  70. padding: 0.25em;
  71. box-sizing: border-box;
  72. }
  73. div.sphinxsidebar #searchbox input[type="submit"] {
  74. float: left;
  75. width: 20%;
  76. border-left: none;
  77. padding: 0.25em;
  78. box-sizing: border-box;
  79. }
  80. img {
  81. border: 0;
  82. max-width: 100%;
  83. }
  84. /* -- search page ----------------------------------------------------------- */
  85. ul.search {
  86. margin: 10px 0 0 20px;
  87. padding: 0;
  88. }
  89. ul.search li {
  90. padding: 5px 0 5px 20px;
  91. background-image: url(file.png);
  92. background-repeat: no-repeat;
  93. background-position: 0 7px;
  94. }
  95. ul.search li a {
  96. font-weight: bold;
  97. }
  98. ul.search li div.context {
  99. color: #888;
  100. margin: 2px 0 0 30px;
  101. text-align: left;
  102. }
  103. ul.keywordmatches li.goodmatch a {
  104. font-weight: bold;
  105. }
  106. /* -- index page ------------------------------------------------------------ */
  107. table.contentstable {
  108. width: 90%;
  109. margin-left: auto;
  110. margin-right: auto;
  111. }
  112. table.contentstable p.biglink {
  113. line-height: 150%;
  114. }
  115. a.biglink {
  116. font-size: 1.3em;
  117. }
  118. span.linkdescr {
  119. font-style: italic;
  120. padding-top: 5px;
  121. font-size: 90%;
  122. }
  123. /* -- general index --------------------------------------------------------- */
  124. table.indextable {
  125. width: 100%;
  126. }
  127. table.indextable td {
  128. text-align: left;
  129. vertical-align: top;
  130. }
  131. table.indextable ul {
  132. margin-top: 0;
  133. margin-bottom: 0;
  134. list-style-type: none;
  135. }
  136. table.indextable > tbody > tr > td > ul {
  137. padding-left: 0em;
  138. }
  139. table.indextable tr.pcap {
  140. height: 10px;
  141. }
  142. table.indextable tr.cap {
  143. margin-top: 10px;
  144. background-color: #f2f2f2;
  145. }
  146. img.toggler {
  147. margin-right: 3px;
  148. margin-top: 3px;
  149. cursor: pointer;
  150. }
  151. div.modindex-jumpbox {
  152. border-top: 1px solid #ddd;
  153. border-bottom: 1px solid #ddd;
  154. margin: 1em 0 1em 0;
  155. padding: 0.4em;
  156. }
  157. div.genindex-jumpbox {
  158. border-top: 1px solid #ddd;
  159. border-bottom: 1px solid #ddd;
  160. margin: 1em 0 1em 0;
  161. padding: 0.4em;
  162. }
  163. /* -- domain module index --------------------------------------------------- */
  164. table.modindextable td {
  165. padding: 2px;
  166. border-collapse: collapse;
  167. }
  168. /* -- general body styles --------------------------------------------------- */
  169. div.body {
  170. min-width: 450px;
  171. max-width: 800px;
  172. }
  173. div.body p, div.body dd, div.body li, div.body blockquote {
  174. -moz-hyphens: auto;
  175. -ms-hyphens: auto;
  176. -webkit-hyphens: auto;
  177. hyphens: auto;
  178. }
  179. a.headerlink {
  180. visibility: hidden;
  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, object.align-left {
  208. clear: left;
  209. float: left;
  210. margin-right: 1em;
  211. }
  212. img.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, object.align-center {
  218. display: block;
  219. margin-left: auto;
  220. margin-right: auto;
  221. }
  222. .align-left {
  223. text-align: left;
  224. }
  225. .align-center {
  226. text-align: center;
  227. }
  228. .align-right {
  229. text-align: right;
  230. }
  231. /* -- sidebars -------------------------------------------------------------- */
  232. div.sidebar {
  233. margin: 0 0 0.5em 1em;
  234. border: 1px solid #ddb;
  235. padding: 7px 7px 0 7px;
  236. background-color: #ffe;
  237. width: 40%;
  238. float: right;
  239. }
  240. p.sidebar-title {
  241. font-weight: bold;
  242. }
  243. /* -- topics ---------------------------------------------------------------- */
  244. div.topic {
  245. border: 1px solid #ccc;
  246. padding: 7px 7px 0 7px;
  247. margin: 10px 0 10px 0;
  248. }
  249. p.topic-title {
  250. font-size: 1.1em;
  251. font-weight: bold;
  252. margin-top: 10px;
  253. }
  254. /* -- admonitions ----------------------------------------------------------- */
  255. div.admonition {
  256. margin-top: 10px;
  257. margin-bottom: 10px;
  258. padding: 7px;
  259. }
  260. div.admonition dt {
  261. font-weight: bold;
  262. }
  263. div.admonition dl {
  264. margin-bottom: 0;
  265. }
  266. p.admonition-title {
  267. margin: 0px 10px 5px 0px;
  268. font-weight: bold;
  269. }
  270. div.body p.centered {
  271. text-align: center;
  272. margin-top: 25px;
  273. }
  274. /* -- tables ---------------------------------------------------------------- */
  275. table.docutils {
  276. border: 0;
  277. border-collapse: collapse;
  278. }
  279. table.align-center {
  280. margin-left: auto;
  281. margin-right: auto;
  282. }
  283. table caption span.caption-number {
  284. font-style: italic;
  285. }
  286. table caption span.caption-text {
  287. }
  288. table.docutils td, table.docutils th {
  289. padding: 1px 8px 1px 5px;
  290. border-top: 0;
  291. border-left: 0;
  292. border-right: 0;
  293. border-bottom: 1px solid #aaa;
  294. }
  295. table.footnote td, table.footnote th {
  296. border: 0 !important;
  297. }
  298. th {
  299. text-align: left;
  300. padding-right: 5px;
  301. }
  302. table.citation {
  303. border-left: solid 1px gray;
  304. margin-left: 1px;
  305. }
  306. table.citation td {
  307. border-bottom: none;
  308. }
  309. /* -- figures --------------------------------------------------------------- */
  310. div.figure {
  311. margin: 0.5em;
  312. padding: 0.5em;
  313. }
  314. div.figure p.caption {
  315. padding: 0.3em;
  316. }
  317. div.figure p.caption span.caption-number {
  318. font-style: italic;
  319. }
  320. div.figure p.caption span.caption-text {
  321. }
  322. /* -- field list styles ----------------------------------------------------- */
  323. table.field-list td, table.field-list th {
  324. border: 0 !important;
  325. }
  326. .field-list ul {
  327. margin: 0;
  328. padding-left: 1em;
  329. }
  330. .field-list p {
  331. margin: 0;
  332. }
  333. .field-name {
  334. -moz-hyphens: manual;
  335. -ms-hyphens: manual;
  336. -webkit-hyphens: manual;
  337. hyphens: manual;
  338. }
  339. /* -- other body styles ----------------------------------------------------- */
  340. ol.arabic {
  341. list-style: decimal;
  342. }
  343. ol.loweralpha {
  344. list-style: lower-alpha;
  345. }
  346. ol.upperalpha {
  347. list-style: upper-alpha;
  348. }
  349. ol.lowerroman {
  350. list-style: lower-roman;
  351. }
  352. ol.upperroman {
  353. list-style: upper-roman;
  354. }
  355. dl {
  356. margin-bottom: 15px;
  357. }
  358. dd p {
  359. margin-top: 0px;
  360. }
  361. dd ul, dd table {
  362. margin-bottom: 10px;
  363. }
  364. dd {
  365. margin-top: 3px;
  366. margin-bottom: 10px;
  367. margin-left: 30px;
  368. }
  369. dt:target, span.highlighted {
  370. background-color: #fbe54e;
  371. }
  372. rect.highlighted {
  373. fill: #fbe54e;
  374. }
  375. dl.glossary dt {
  376. font-weight: bold;
  377. font-size: 1.1em;
  378. }
  379. .optional {
  380. font-size: 1.3em;
  381. }
  382. .sig-paren {
  383. font-size: larger;
  384. }
  385. .versionmodified {
  386. font-style: italic;
  387. }
  388. .system-message {
  389. background-color: #fda;
  390. padding: 5px;
  391. border: 3px solid red;
  392. }
  393. .footnote:target {
  394. background-color: #ffa;
  395. }
  396. .line-block {
  397. display: block;
  398. margin-top: 1em;
  399. margin-bottom: 1em;
  400. }
  401. .line-block .line-block {
  402. margin-top: 0;
  403. margin-bottom: 0;
  404. margin-left: 1.5em;
  405. }
  406. .guilabel, .menuselection {
  407. font-family: sans-serif;
  408. }
  409. .accelerator {
  410. text-decoration: underline;
  411. }
  412. .classifier {
  413. font-style: oblique;
  414. }
  415. abbr, acronym {
  416. border-bottom: dotted 1px;
  417. cursor: help;
  418. }
  419. /* -- code displays --------------------------------------------------------- */
  420. pre {
  421. overflow: auto;
  422. overflow-y: hidden; /* fixes display issues on Chrome browsers */
  423. }
  424. span.pre {
  425. -moz-hyphens: none;
  426. -ms-hyphens: none;
  427. -webkit-hyphens: none;
  428. hyphens: none;
  429. }
  430. td.linenos pre {
  431. padding: 5px 0px;
  432. border: 0;
  433. background-color: transparent;
  434. color: #aaa;
  435. }
  436. table.highlighttable {
  437. margin-left: 0.5em;
  438. }
  439. table.highlighttable td {
  440. padding: 0 0.5em 0 0.5em;
  441. }
  442. div.code-block-caption {
  443. padding: 2px 5px;
  444. font-size: small;
  445. }
  446. div.code-block-caption code {
  447. background-color: transparent;
  448. }
  449. div.code-block-caption + div > div.highlight > pre {
  450. margin-top: 0;
  451. }
  452. div.code-block-caption span.caption-number {
  453. padding: 0.1em 0.3em;
  454. font-style: italic;
  455. }
  456. div.code-block-caption span.caption-text {
  457. }
  458. div.literal-block-wrapper {
  459. padding: 1em 1em 0;
  460. }
  461. div.literal-block-wrapper div.highlight {
  462. margin: 0;
  463. }
  464. code.descname {
  465. background-color: transparent;
  466. font-weight: bold;
  467. font-size: 1.2em;
  468. }
  469. code.descclassname {
  470. background-color: transparent;
  471. }
  472. code.xref, a code {
  473. background-color: transparent;
  474. font-weight: bold;
  475. }
  476. h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  477. background-color: transparent;
  478. }
  479. .viewcode-link {
  480. float: right;
  481. }
  482. .viewcode-back {
  483. float: right;
  484. font-family: sans-serif;
  485. }
  486. div.viewcode-block:target {
  487. margin: -1px -10px;
  488. padding: 0 10px;
  489. }
  490. /* -- math display ---------------------------------------------------------- */
  491. img.math {
  492. vertical-align: middle;
  493. }
  494. div.body div.math p {
  495. text-align: center;
  496. }
  497. span.eqno {
  498. float: right;
  499. }
  500. span.eqno a.headerlink {
  501. position: relative;
  502. left: 0px;
  503. z-index: 1;
  504. }
  505. div.math:hover a.headerlink {
  506. visibility: visible;
  507. }
  508. /* -- printout stylesheet --------------------------------------------------- */
  509. @media print {
  510. div.document,
  511. div.documentwrapper,
  512. div.bodywrapper {
  513. margin: 0 !important;
  514. width: 100%;
  515. }
  516. div.sphinxsidebar,
  517. div.related,
  518. div.footer,
  519. #top-link {
  520. display: none;
  521. }
  522. }