celery.css_t 6.5 KB

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