PageRenderTime 54ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/_static/basic.css

https://bitbucket.org/ianb/silverlining/
CSS | 417 lines | 306 code | 92 blank | 19 comment | 0 complexity | 3275114906b3a0b43e8f451dd3587e07 MD5 | raw file
Possible License(s): GPL-2.0
  1. /**
  2. * Sphinx stylesheet -- basic theme
  3. * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. */
  5. /* -- main layout ----------------------------------------------------------- */
  6. div.clearer {
  7. clear: both;
  8. }
  9. /* -- relbar ---------------------------------------------------------------- */
  10. div.related {
  11. width: 100%;
  12. font-size: 90%;
  13. }
  14. div.related h3 {
  15. display: none;
  16. }
  17. div.related ul {
  18. margin: 0;
  19. padding: 0 0 0 10px;
  20. list-style: none;
  21. }
  22. div.related li {
  23. display: inline;
  24. }
  25. div.related li.right {
  26. float: right;
  27. margin-right: 5px;
  28. }
  29. /* -- sidebar --------------------------------------------------------------- */
  30. div.sphinxsidebarwrapper {
  31. padding: 10px 5px 0 10px;
  32. }
  33. div.sphinxsidebar {
  34. float: left;
  35. width: 230px;
  36. margin-left: -100%;
  37. font-size: 90%;
  38. }
  39. div.sphinxsidebar ul {
  40. list-style: none;
  41. }
  42. div.sphinxsidebar ul ul,
  43. div.sphinxsidebar ul.want-points {
  44. margin-left: 20px;
  45. list-style: square;
  46. }
  47. div.sphinxsidebar ul ul {
  48. margin-top: 0;
  49. margin-bottom: 0;
  50. }
  51. div.sphinxsidebar form {
  52. margin-top: 10px;
  53. }
  54. div.sphinxsidebar input {
  55. border: 1px solid #98dbcc;
  56. font-family: sans-serif;
  57. font-size: 1em;
  58. }
  59. img {
  60. border: 0;
  61. }
  62. /* -- search page ----------------------------------------------------------- */
  63. ul.search {
  64. margin: 10px 0 0 20px;
  65. padding: 0;
  66. }
  67. ul.search li {
  68. padding: 5px 0 5px 20px;
  69. background-image: url(file.png);
  70. background-repeat: no-repeat;
  71. background-position: 0 7px;
  72. }
  73. ul.search li a {
  74. font-weight: bold;
  75. }
  76. ul.search li div.context {
  77. color: #888;
  78. margin: 2px 0 0 30px;
  79. text-align: left;
  80. }
  81. ul.keywordmatches li.goodmatch a {
  82. font-weight: bold;
  83. }
  84. /* -- index page ------------------------------------------------------------ */
  85. table.contentstable {
  86. width: 90%;
  87. }
  88. table.contentstable p.biglink {
  89. line-height: 150%;
  90. }
  91. a.biglink {
  92. font-size: 1.3em;
  93. }
  94. span.linkdescr {
  95. font-style: italic;
  96. padding-top: 5px;
  97. font-size: 90%;
  98. }
  99. /* -- general index --------------------------------------------------------- */
  100. table.indextable td {
  101. text-align: left;
  102. vertical-align: top;
  103. }
  104. table.indextable dl, table.indextable dd {
  105. margin-top: 0;
  106. margin-bottom: 0;
  107. }
  108. table.indextable tr.pcap {
  109. height: 10px;
  110. }
  111. table.indextable tr.cap {
  112. margin-top: 10px;
  113. background-color: #f2f2f2;
  114. }
  115. img.toggler {
  116. margin-right: 3px;
  117. margin-top: 3px;
  118. cursor: pointer;
  119. }
  120. /* -- general body styles --------------------------------------------------- */
  121. a.headerlink {
  122. visibility: hidden;
  123. }
  124. h1:hover > a.headerlink,
  125. h2:hover > a.headerlink,
  126. h3:hover > a.headerlink,
  127. h4:hover > a.headerlink,
  128. h5:hover > a.headerlink,
  129. h6:hover > a.headerlink,
  130. dt:hover > a.headerlink {
  131. visibility: visible;
  132. }
  133. div.body p.caption {
  134. text-align: inherit;
  135. }
  136. div.body td {
  137. text-align: left;
  138. }
  139. .field-list ul {
  140. padding-left: 1em;
  141. }
  142. .first {
  143. margin-top: 0 !important;
  144. }
  145. p.rubric {
  146. margin-top: 30px;
  147. font-weight: bold;
  148. }
  149. /* -- sidebars -------------------------------------------------------------- */
  150. div.sidebar {
  151. margin: 0 0 0.5em 1em;
  152. border: 1px solid #ddb;
  153. padding: 7px 7px 0 7px;
  154. background-color: #ffe;
  155. width: 40%;
  156. float: right;
  157. }
  158. p.sidebar-title {
  159. font-weight: bold;
  160. }
  161. /* -- topics ---------------------------------------------------------------- */
  162. div.topic {
  163. border: 1px solid #ccc;
  164. padding: 7px 7px 0 7px;
  165. margin: 10px 0 10px 0;
  166. }
  167. p.topic-title {
  168. font-size: 1.1em;
  169. font-weight: bold;
  170. margin-top: 10px;
  171. }
  172. /* -- admonitions ----------------------------------------------------------- */
  173. div.admonition {
  174. margin-top: 10px;
  175. margin-bottom: 10px;
  176. padding: 7px;
  177. }
  178. div.admonition dt {
  179. font-weight: bold;
  180. }
  181. div.admonition dl {
  182. margin-bottom: 0;
  183. }
  184. p.admonition-title {
  185. margin: 0px 10px 5px 0px;
  186. font-weight: bold;
  187. }
  188. div.body p.centered {
  189. text-align: center;
  190. margin-top: 25px;
  191. }
  192. /* -- tables ---------------------------------------------------------------- */
  193. table.docutils {
  194. border: 0;
  195. border-collapse: collapse;
  196. }
  197. table.docutils td, table.docutils th {
  198. padding: 1px 8px 1px 0;
  199. border-top: 0;
  200. border-left: 0;
  201. border-right: 0;
  202. border-bottom: 1px solid #aaa;
  203. }
  204. table.field-list td, table.field-list th {
  205. border: 0 !important;
  206. }
  207. table.footnote td, table.footnote th {
  208. border: 0 !important;
  209. }
  210. th {
  211. text-align: left;
  212. padding-right: 5px;
  213. }
  214. /* -- other body styles ----------------------------------------------------- */
  215. dl {
  216. margin-bottom: 15px;
  217. }
  218. dd p {
  219. margin-top: 0px;
  220. }
  221. dd ul, dd table {
  222. margin-bottom: 10px;
  223. }
  224. dd {
  225. margin-top: 3px;
  226. margin-bottom: 10px;
  227. margin-left: 30px;
  228. }
  229. dt:target, .highlight {
  230. background-color: #fbe54e;
  231. }
  232. dl.glossary dt {
  233. font-weight: bold;
  234. font-size: 1.1em;
  235. }
  236. .field-list ul {
  237. margin: 0;
  238. padding-left: 1em;
  239. }
  240. .field-list p {
  241. margin: 0;
  242. }
  243. .refcount {
  244. color: #060;
  245. }
  246. .optional {
  247. font-size: 1.3em;
  248. }
  249. .versionmodified {
  250. font-style: italic;
  251. }
  252. .system-message {
  253. background-color: #fda;
  254. padding: 5px;
  255. border: 3px solid red;
  256. }
  257. .footnote:target {
  258. background-color: #ffa
  259. }
  260. .line-block {
  261. display: block;
  262. margin-top: 1em;
  263. margin-bottom: 1em;
  264. }
  265. .line-block .line-block {
  266. margin-top: 0;
  267. margin-bottom: 0;
  268. margin-left: 1.5em;
  269. }
  270. /* -- code displays --------------------------------------------------------- */
  271. pre {
  272. overflow: auto;
  273. }
  274. td.linenos pre {
  275. padding: 5px 0px;
  276. border: 0;
  277. background-color: transparent;
  278. color: #aaa;
  279. }
  280. table.highlighttable {
  281. margin-left: 0.5em;
  282. }
  283. table.highlighttable td {
  284. padding: 0 0.5em 0 0.5em;
  285. }
  286. tt.descname {
  287. background-color: transparent;
  288. font-weight: bold;
  289. font-size: 1.2em;
  290. }
  291. tt.descclassname {
  292. background-color: transparent;
  293. }
  294. tt.xref, a tt {
  295. background-color: transparent;
  296. font-weight: bold;
  297. }
  298. h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
  299. background-color: transparent;
  300. }
  301. /* -- math display ---------------------------------------------------------- */
  302. img.math {
  303. vertical-align: middle;
  304. }
  305. div.body div.math p {
  306. text-align: center;
  307. }
  308. span.eqno {
  309. float: right;
  310. }
  311. /* -- printout stylesheet --------------------------------------------------- */
  312. @media print {
  313. div.document,
  314. div.documentwrapper,
  315. div.bodywrapper {
  316. margin: 0 !important;
  317. width: 100%;
  318. }
  319. div.sphinxsidebar,
  320. div.related,
  321. div.footer,
  322. #top-link {
  323. display: none;
  324. }
  325. }