basic.css 9.5 KB

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