basic.css 9.3 KB

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