celery.css_t 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. /*
  2. * celery.css_t
  3. * ~~~~~~~~~~~~
  4. *
  5. * :copyright: Copyright 2010 by Armin Ronacher.
  6. * :license: BSD, see LICENSE for details.
  7. */
  8. {% set page_width = 940 %}
  9. {% set sidebar_width = 220 %}
  10. {% set body_font_stack = 'Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif' %}
  11. {% set headline_font_stack = 'Futura, "Trebuchet MS", Arial, sans-serif' %}
  12. {% set code_font_stack = "'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace" %}
  13. @import url("basic.css");
  14. /* -- page layout ----------------------------------------------------------- */
  15. body {
  16. font-family: {{ body_font_stack }};
  17. font-size: 17px;
  18. background-color: white;
  19. color: #000;
  20. margin: 30px 0 0 0;
  21. padding: 0;
  22. }
  23. div.document {
  24. width: {{ page_width }}px;
  25. margin: 0 auto;
  26. }
  27. div.related {
  28. width: {{ page_width - 20 }}px;
  29. padding: 5px 10px;
  30. background: #F2FCEE;
  31. margin: 15px auto 15px auto;
  32. }
  33. div.documentwrapper {
  34. float: left;
  35. width: 100%;
  36. }
  37. div.bodywrapper {
  38. margin: 0 0 0 {{ sidebar_width }}px;
  39. }
  40. div.sphinxsidebar {
  41. width: {{ sidebar_width }}px;
  42. }
  43. hr {
  44. border: 1px solid #B1B4B6;
  45. }
  46. div.body {
  47. background-color: #ffffff;
  48. color: #3E4349;
  49. padding: 0 30px 0 30px;
  50. }
  51. img.celerylogo {
  52. padding: 0 0 10px 10px;
  53. float: right;
  54. }
  55. div.footer {
  56. width: {{ page_width - 15 }}px;
  57. margin: 10px auto 30px auto;
  58. padding-right: 15px;
  59. font-size: 14px;
  60. color: #888;
  61. text-align: right;
  62. }
  63. div.footer a {
  64. color: #888;
  65. }
  66. div.sphinxsidebar a {
  67. color: #444;
  68. text-decoration: none;
  69. border-bottom: 1px dashed #DCF0D5;
  70. }
  71. div.sphinxsidebar a:hover {
  72. border-bottom: 1px solid #999;
  73. }
  74. div.sphinxsidebar {
  75. font-size: 14px;
  76. line-height: 1.5;
  77. }
  78. div.sphinxsidebarwrapper {
  79. padding: 7px 10px;
  80. }
  81. div.sphinxsidebarwrapper p.logo {
  82. padding: 0 0 20px 0;
  83. margin: 0;
  84. }
  85. div.sphinxsidebar h3,
  86. div.sphinxsidebar h4 {
  87. font-family: {{ headline_font_stack }};
  88. color: #444;
  89. font-size: 24px;
  90. font-weight: normal;
  91. margin: 0 0 5px 0;
  92. padding: 0;
  93. }
  94. div.sphinxsidebar h4 {
  95. font-size: 20px;
  96. }
  97. div.sphinxsidebar h3 a {
  98. color: #444;
  99. }
  100. div.sphinxsidebar p.logo a,
  101. div.sphinxsidebar h3 a,
  102. div.sphinxsidebar p.logo a:hover,
  103. div.sphinxsidebar h3 a:hover {
  104. border: none;
  105. }
  106. div.sphinxsidebar p {
  107. color: #555;
  108. margin: 10px 0;
  109. }
  110. div.sphinxsidebar ul {
  111. margin: 10px 0;
  112. padding: 0;
  113. color: #000;
  114. }
  115. div.sphinxsidebar input {
  116. border: 1px solid #ccc;
  117. font-family: {{ body_font_stack }};
  118. font-size: 1em;
  119. }
  120. /* -- body styles ----------------------------------------------------------- */
  121. a {
  122. color: #348613;
  123. text-decoration: underline;
  124. }
  125. a:hover {
  126. color: #59B833;
  127. text-decoration: underline;
  128. }
  129. div.body h1,
  130. div.body h2,
  131. div.body h3,
  132. div.body h4,
  133. div.body h5,
  134. div.body h6 {
  135. font-family: {{ headline_font_stack }};
  136. font-weight: normal;
  137. margin: 30px 0px 10px 0px;
  138. padding: 0;
  139. }
  140. div.body h1 { margin-top: 0; padding-top: 0; font-size: 200%; }
  141. div.body h2 { font-size: 180%; }
  142. div.body h3 { font-size: 150%; }
  143. div.body h4 { font-size: 130%; }
  144. div.body h5 { font-size: 100%; }
  145. div.body h6 { font-size: 100%; }
  146. div.body h1 a.toc-backref,
  147. div.body h2 a.toc-backref,
  148. div.body h3 a.toc-backref,
  149. div.body h4 a.toc-backref,
  150. div.body h5 a.toc-backref,
  151. div.body h6 a.toc-backref {
  152. color: inherit!important;
  153. text-decoration: none;
  154. }
  155. a.headerlink {
  156. color: #ddd;
  157. padding: 0 4px;
  158. text-decoration: none;
  159. }
  160. a.headerlink:hover {
  161. color: #444;
  162. background: #eaeaea;
  163. }
  164. div.body p, div.body dd, div.body li {
  165. line-height: 1.4em;
  166. }
  167. div.admonition {
  168. background: #fafafa;
  169. margin: 20px -30px;
  170. padding: 10px 30px;
  171. border-top: 1px solid #ccc;
  172. border-bottom: 1px solid #ccc;
  173. }
  174. div.admonition p.admonition-title {
  175. font-family: {{ headline_font_stack }};
  176. font-weight: normal;
  177. font-size: 24px;
  178. margin: 0 0 10px 0;
  179. padding: 0;
  180. line-height: 1;
  181. }
  182. div.admonition p.last {
  183. margin-bottom: 0;
  184. }
  185. div.highlight{
  186. background-color: white;
  187. }
  188. dt:target, .highlight {
  189. background: #FAF3E8;
  190. }
  191. div.note {
  192. background-color: #eee;
  193. border: 1px solid #ccc;
  194. }
  195. div.seealso {
  196. background-color: #ffc;
  197. border: 1px solid #ff6;
  198. }
  199. div.topic {
  200. background-color: #eee;
  201. }
  202. div.warning {
  203. background-color: #ffe4e4;
  204. border: 1px solid #f66;
  205. }
  206. p.admonition-title {
  207. display: inline;
  208. }
  209. p.admonition-title:after {
  210. content: ":";
  211. }
  212. pre, tt {
  213. font-family: {{ code_font_stack }};
  214. font-size: 0.9em;
  215. }
  216. img.screenshot {
  217. }
  218. tt.descname, tt.descclassname {
  219. font-size: 0.95em;
  220. }
  221. tt.descname {
  222. padding-right: 0.08em;
  223. }
  224. img.screenshot {
  225. -moz-box-shadow: 2px 2px 4px #eee;
  226. -webkit-box-shadow: 2px 2px 4px #eee;
  227. box-shadow: 2px 2px 4px #eee;
  228. }
  229. table.docutils {
  230. border: 1px solid #888;
  231. -moz-box-shadow: 2px 2px 4px #eee;
  232. -webkit-box-shadow: 2px 2px 4px #eee;
  233. box-shadow: 2px 2px 4px #eee;
  234. }
  235. table.docutils td, table.docutils th {
  236. border: 1px solid #888;
  237. padding: 0.25em 0.7em;
  238. }
  239. table.field-list, table.footnote {
  240. border: none;
  241. -moz-box-shadow: none;
  242. -webkit-box-shadow: none;
  243. box-shadow: none;
  244. }
  245. table.footnote {
  246. margin: 15px 0;
  247. width: 100%;
  248. border: 1px solid #eee;
  249. background: #fdfdfd;
  250. font-size: 0.9em;
  251. }
  252. table.footnote + table.footnote {
  253. margin-top: -15px;
  254. border-top: none;
  255. }
  256. table.field-list th {
  257. padding: 0 0.8em 0 0;
  258. }
  259. table.field-list td {
  260. padding: 0;
  261. }
  262. table.footnote td.label {
  263. width: 0px;
  264. padding: 0.3em 0 0.3em 0.5em;
  265. }
  266. table.footnote td {
  267. padding: 0.3em 0.5em;
  268. }
  269. dl {
  270. margin: 0;
  271. padding: 0;
  272. }
  273. dl dd {
  274. margin-left: 30px;
  275. }
  276. blockquote {
  277. margin: 0 0 0 30px;
  278. padding: 0;
  279. }
  280. ul {
  281. margin: 10px 0 10px 30px;
  282. padding: 0;
  283. }
  284. pre {
  285. background: #F0FFEB;
  286. padding: 7px 10px;
  287. margin: 15px 0;
  288. border: 1px solid #C7ECB8;
  289. border-radius: 2px;
  290. -moz-border-radius: 2px;
  291. -webkit-border-radius: 2px;
  292. line-height: 1.3em;
  293. }
  294. tt {
  295. background: #F0FFEB;
  296. color: #222;
  297. /* padding: 1px 2px; */
  298. }
  299. tt.xref, a tt {
  300. background: #F0FFEB;
  301. border-bottom: 1px solid white;
  302. }
  303. a.reference {
  304. text-decoration: none;
  305. border-bottom: 1px dashed #DCF0D5;
  306. }
  307. a.reference:hover {
  308. border-bottom: 1px solid #6D4100;
  309. }
  310. a.footnote-reference {
  311. text-decoration: none;
  312. font-size: 0.7em;
  313. vertical-align: top;
  314. border-bottom: 1px dashed #DCF0D5;
  315. }
  316. a.footnote-reference:hover {
  317. border-bottom: 1px solid #6D4100;
  318. }
  319. a:hover tt {
  320. background: #EEE;
  321. }