basic.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639
  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, .highlighted {
  352. background-color: #fbe54e;
  353. }
  354. dl.glossary dt {
  355. font-weight: bold;
  356. font-size: 1.1em;
  357. }
  358. .optional {
  359. font-size: 1.3em;
  360. }
  361. .sig-paren {
  362. font-size: larger;
  363. }
  364. .versionmodified {
  365. font-style: italic;
  366. }
  367. .system-message {
  368. background-color: #fda;
  369. padding: 5px;
  370. border: 3px solid red;
  371. }
  372. .footnote:target {
  373. background-color: #ffa;
  374. }
  375. .line-block {
  376. display: block;
  377. margin-top: 1em;
  378. margin-bottom: 1em;
  379. }
  380. .line-block .line-block {
  381. margin-top: 0;
  382. margin-bottom: 0;
  383. margin-left: 1.5em;
  384. }
  385. .guilabel, .menuselection {
  386. font-family: sans-serif;
  387. }
  388. .accelerator {
  389. text-decoration: underline;
  390. }
  391. .classifier {
  392. font-style: oblique;
  393. }
  394. abbr, acronym {
  395. border-bottom: dotted 1px;
  396. cursor: help;
  397. }
  398. /* -- code displays --------------------------------------------------------- */
  399. pre {
  400. overflow: auto;
  401. overflow-y: hidden; /* fixes display issues on Chrome browsers */
  402. }
  403. span.pre {
  404. -moz-hyphens: none;
  405. -ms-hyphens: none;
  406. -webkit-hyphens: none;
  407. hyphens: none;
  408. }
  409. td.linenos pre {
  410. padding: 5px 0px;
  411. border: 0;
  412. background-color: transparent;
  413. color: #aaa;
  414. }
  415. table.highlighttable {
  416. margin-left: 0.5em;
  417. }
  418. table.highlighttable td {
  419. padding: 0 0.5em 0 0.5em;
  420. }
  421. div.code-block-caption {
  422. padding: 2px 5px;
  423. font-size: small;
  424. }
  425. div.code-block-caption code {
  426. background-color: transparent;
  427. }
  428. div.code-block-caption + div > div.highlight > pre {
  429. margin-top: 0;
  430. }
  431. div.code-block-caption span.caption-number {
  432. padding: 0.1em 0.3em;
  433. font-style: italic;
  434. }
  435. div.code-block-caption span.caption-text {
  436. }
  437. div.literal-block-wrapper {
  438. padding: 1em 1em 0;
  439. }
  440. div.literal-block-wrapper div.highlight {
  441. margin: 0;
  442. }
  443. code.descname {
  444. background-color: transparent;
  445. font-weight: bold;
  446. font-size: 1.2em;
  447. }
  448. code.descclassname {
  449. background-color: transparent;
  450. }
  451. code.xref, a code {
  452. background-color: transparent;
  453. font-weight: bold;
  454. }
  455. h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  456. background-color: transparent;
  457. }
  458. .viewcode-link {
  459. float: right;
  460. }
  461. .viewcode-back {
  462. float: right;
  463. font-family: sans-serif;
  464. }
  465. div.viewcode-block:target {
  466. margin: -1px -10px;
  467. padding: 0 10px;
  468. }
  469. /* -- math display ---------------------------------------------------------- */
  470. img.math {
  471. vertical-align: middle;
  472. }
  473. div.body div.math p {
  474. text-align: center;
  475. }
  476. span.eqno {
  477. float: right;
  478. }
  479. span.eqno a.headerlink {
  480. position: relative;
  481. left: 0px;
  482. z-index: 1;
  483. }
  484. div.math:hover a.headerlink {
  485. visibility: visible;
  486. }
  487. /* -- printout stylesheet --------------------------------------------------- */
  488. @media print {
  489. div.document,
  490. div.documentwrapper,
  491. div.bodywrapper {
  492. margin: 0 !important;
  493. width: 100%;
  494. }
  495. div.sphinxsidebar,
  496. div.related,
  497. div.footer,
  498. #top-link {
  499. display: none;
  500. }
  501. }