basic.css 9.3KB

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