basic.css 10 KB

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