basic.css 10.0 KB

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