basic.css 9.4KB

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