agogo.css_t 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452
  1. /*
  2. * agogo.css_t
  3. * ~~~~~~~~~~~
  4. *
  5. * Sphinx stylesheet -- agogo theme.
  6. *
  7. * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
  8. * :license: BSD, see LICENSE for details.
  9. *
  10. */
  11. * {
  12. margin: 0px;
  13. padding: 0px;
  14. }
  15. body {
  16. font-family: {{ theme_bodyfont }};
  17. line-height: 1.4em;
  18. color: black;
  19. background-color: {{ theme_bgcolor }};
  20. }
  21. /* Page layout */
  22. div.header, div.content, div.footer {
  23. width: {{ theme_pagewidth }};
  24. margin-left: auto;
  25. margin-right: auto;
  26. }
  27. div.header-wrapper {
  28. background: {{ theme_headerbg }};
  29. border-bottom: 3px solid #2e3436;
  30. }
  31. /* Default body styles */
  32. a {
  33. color: {{ theme_linkcolor }};
  34. }
  35. div.bodywrapper a, div.footer a {
  36. text-decoration: underline;
  37. }
  38. .clearer {
  39. clear: both;
  40. }
  41. .left {
  42. float: left;
  43. }
  44. .right {
  45. float: right;
  46. }
  47. .line-block {
  48. display: block;
  49. margin-top: 1em;
  50. margin-bottom: 1em;
  51. }
  52. .line-block .line-block {
  53. margin-top: 0;
  54. margin-bottom: 0;
  55. margin-left: 1.5em;
  56. }
  57. h1, h2, h3, h4 {
  58. font-family: {{ theme_headerfont }};
  59. font-weight: normal;
  60. color: {{ theme_headercolor2 }};
  61. margin-bottom: .8em;
  62. }
  63. h1 {
  64. color: {{ theme_headercolor1 }};
  65. }
  66. h2 {
  67. padding-bottom: .5em;
  68. border-bottom: 1px solid {{ theme_headercolor2 }};
  69. }
  70. a.headerlink {
  71. visibility: hidden;
  72. color: #dddddd;
  73. padding-left: .3em;
  74. }
  75. h1:hover > a.headerlink,
  76. h2:hover > a.headerlink,
  77. h3:hover > a.headerlink,
  78. h4:hover > a.headerlink,
  79. h5:hover > a.headerlink,
  80. h6:hover > a.headerlink,
  81. dt:hover > a.headerlink {
  82. visibility: visible;
  83. }
  84. img {
  85. border: 0;
  86. }
  87. div.admonition {
  88. margin-top: 10px;
  89. margin-bottom: 10px;
  90. padding: 2px 7px 1px 7px;
  91. border-left: 0.2em solid black;
  92. }
  93. p.admonition-title {
  94. margin: 0px 10px 5px 0px;
  95. font-weight: bold;
  96. }
  97. dt:target, .highlighted {
  98. background-color: #fbe54e;
  99. }
  100. /* Header */
  101. div.header {
  102. padding-top: 10px;
  103. padding-bottom: 10px;
  104. }
  105. div.header h1 {
  106. font-family: {{ theme_headerfont }};
  107. font-weight: normal;
  108. font-size: 180%;
  109. letter-spacing: .08em;
  110. }
  111. div.header h1 a {
  112. color: white;
  113. }
  114. div.header div.rel {
  115. margin-top: 1em;
  116. }
  117. div.header div.rel a {
  118. color: {{ theme_headerlinkcolor }};
  119. letter-spacing: .1em;
  120. text-transform: uppercase;
  121. }
  122. p.logo {
  123. float: right;
  124. }
  125. img.logo {
  126. border: 0;
  127. }
  128. /* Content */
  129. div.content-wrapper {
  130. background-color: white;
  131. padding-top: 20px;
  132. padding-bottom: 20px;
  133. }
  134. div.document {
  135. width: {{ theme_documentwidth }};
  136. float: left;
  137. }
  138. div.body {
  139. padding-right: 2em;
  140. text-align: {{ theme_textalign }};
  141. }
  142. div.document ul {
  143. margin: 1.5em;
  144. list-style-type: square;
  145. }
  146. div.document dd {
  147. margin-left: 1.2em;
  148. margin-top: .4em;
  149. margin-bottom: 1em;
  150. }
  151. div.document .section {
  152. margin-top: 1.7em;
  153. }
  154. div.document .section:first-child {
  155. margin-top: 0px;
  156. }
  157. div.document div.highlight {
  158. padding: 3px;
  159. background-color: #eeeeec;
  160. border-top: 2px solid #dddddd;
  161. border-bottom: 2px solid #dddddd;
  162. margin-top: .8em;
  163. margin-bottom: .8em;
  164. }
  165. div.document h2 {
  166. margin-top: .7em;
  167. }
  168. div.document p {
  169. margin-bottom: .5em;
  170. }
  171. div.document li.toctree-l1 {
  172. margin-bottom: 1em;
  173. }
  174. div.document .descname {
  175. font-weight: bold;
  176. }
  177. div.document .docutils.literal {
  178. background-color: #eeeeec;
  179. padding: 1px;
  180. }
  181. div.document .docutils.xref.literal {
  182. background-color: transparent;
  183. padding: 0px;
  184. }
  185. div.document blockquote {
  186. margin: 1em;
  187. }
  188. div.document ol {
  189. margin: 1.5em;
  190. }
  191. /* Sidebar */
  192. div.sidebar {
  193. width: {{ theme_sidebarwidth }};
  194. float: right;
  195. font-size: .9em;
  196. }
  197. div.sidebar a, div.header a {
  198. text-decoration: none;
  199. }
  200. div.sidebar a:hover, div.header a:hover {
  201. text-decoration: underline;
  202. }
  203. div.sidebar h3 {
  204. color: #2e3436;
  205. text-transform: uppercase;
  206. font-size: 130%;
  207. letter-spacing: .1em;
  208. }
  209. div.sidebar ul {
  210. list-style-type: none;
  211. }
  212. div.sidebar li.toctree-l1 a {
  213. display: block;
  214. padding: 1px;
  215. border: 1px solid #dddddd;
  216. background-color: #eeeeec;
  217. margin-bottom: .4em;
  218. padding-left: 3px;
  219. color: #2e3436;
  220. }
  221. div.sidebar li.toctree-l2 a {
  222. background-color: transparent;
  223. border: none;
  224. margin-left: 1em;
  225. border-bottom: 1px solid #dddddd;
  226. }
  227. div.sidebar li.toctree-l3 a {
  228. background-color: transparent;
  229. border: none;
  230. margin-left: 2em;
  231. border-bottom: 1px solid #dddddd;
  232. }
  233. div.sidebar li.toctree-l2:last-child a {
  234. border-bottom: none;
  235. }
  236. div.sidebar li.toctree-l1.current a {
  237. border-right: 5px solid {{ theme_headerlinkcolor }};
  238. }
  239. div.sidebar li.toctree-l1.current li.toctree-l2 a {
  240. border-right: none;
  241. }
  242. /* Footer */
  243. div.footer-wrapper {
  244. background: {{ theme_footerbg }};
  245. border-top: 4px solid #babdb6;
  246. padding-top: 10px;
  247. padding-bottom: 10px;
  248. min-height: 80px;
  249. }
  250. div.footer, div.footer a {
  251. color: #888a85;
  252. }
  253. div.footer .right {
  254. text-align: right;
  255. }
  256. div.footer .left {
  257. text-transform: uppercase;
  258. }
  259. /* Styles copied from basic theme */
  260. img.align-left, .figure.align-left, object.align-left {
  261. clear: left;
  262. float: left;
  263. margin-right: 1em;
  264. }
  265. img.align-right, .figure.align-right, object.align-right {
  266. clear: right;
  267. float: right;
  268. margin-left: 1em;
  269. }
  270. img.align-center, .figure.align-center, object.align-center {
  271. display: block;
  272. margin-left: auto;
  273. margin-right: auto;
  274. }
  275. .align-left {
  276. text-align: left;
  277. }
  278. .align-center {
  279. clear: both;
  280. text-align: center;
  281. }
  282. .align-right {
  283. text-align: right;
  284. }
  285. /* -- search page ----------------------------------------------------------- */
  286. ul.search {
  287. margin: 10px 0 0 20px;
  288. padding: 0;
  289. }
  290. ul.search li {
  291. padding: 5px 0 5px 20px;
  292. background-image: url(file.png);
  293. background-repeat: no-repeat;
  294. background-position: 0 7px;
  295. }
  296. ul.search li a {
  297. font-weight: bold;
  298. }
  299. ul.search li div.context {
  300. color: #888;
  301. margin: 2px 0 0 30px;
  302. text-align: left;
  303. }
  304. ul.keywordmatches li.goodmatch a {
  305. font-weight: bold;
  306. }
  307. /* -- index page ------------------------------------------------------------ */
  308. table.contentstable {
  309. width: 90%;
  310. }
  311. table.contentstable p.biglink {
  312. line-height: 150%;
  313. }
  314. a.biglink {
  315. font-size: 1.3em;
  316. }
  317. span.linkdescr {
  318. font-style: italic;
  319. padding-top: 5px;
  320. font-size: 90%;
  321. }
  322. /* -- general index --------------------------------------------------------- */
  323. table.indextable td {
  324. text-align: left;
  325. vertical-align: top;
  326. }
  327. table.indextable dl, table.indextable dd {
  328. margin-top: 0;
  329. margin-bottom: 0;
  330. }
  331. table.indextable tr.pcap {
  332. height: 10px;
  333. }
  334. table.indextable tr.cap {
  335. margin-top: 10px;
  336. background-color: #f2f2f2;
  337. }
  338. img.toggler {
  339. margin-right: 3px;
  340. margin-top: 3px;
  341. cursor: pointer;
  342. }
  343. /* -- viewcode extension ---------------------------------------------------- */
  344. .viewcode-link {
  345. float: right;
  346. }
  347. .viewcode-back {
  348. float: right;
  349. font-family:: {{ theme_bodyfont }};
  350. }
  351. div.viewcode-block:target {
  352. margin: -1px -3px;
  353. padding: 0 3px;
  354. background-color: #f4debf;
  355. border-top: 1px solid #ac9;
  356. border-bottom: 1px solid #ac9;
  357. }