basic.css 9.9 KB

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