basic.css 8.3 KB

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