comparison docs/_static/alabaster.css_t @ 11:7571f5c89090

Simple error message now output to HTML. Detailed error goes to standard error. Other changes: * Remove information on time taken (riboplot). * Remove striped table styles (not used. unusable on sorting). * log before re-raising errors.
author Vimalkumar Velayudhan <vimal@biotechcoder.com>
date Wed, 19 Aug 2015 10:14:52 +0100
parents
children 628f82e72d72
comparison
equal deleted inserted replaced
10:8964641b04ef 11:7571f5c89090
1 {% set sidebar_width = '300px' %}
2
3 {% set theme_sidebar_header = theme_sidebar_header or theme_gray_1 %}
4 {% set theme_sidebar_link = theme_sidebar_link or theme_gray_1 %}
5 {% set theme_anchor_hover_fg = theme_anchor_hover_fg or theme_gray_1 %}
6
7 {% set theme_note_bg = theme_note_bg or theme_gray_2 %}
8 {% set theme_footnote_border = theme_footnote_border or theme_gray_2 %}
9 {% set theme_pre_bg = theme_pre_bg or theme_gray_2 %}
10
11 {% set theme_warn_bg = theme_warn_bg or theme_pink_1 %}
12 {% set theme_warn_border = theme_warn_border or theme_pink_2 %}
13
14 {% set theme_seealso_bg = theme_seealso_bg or theme_gray_2 %}
15
16 {% set theme_narrow_sidebar_link = theme_narrow_sidebar_link or theme_gray_3 %}
17 {% set theme_sidebar_hr = theme_sidebar_hr or theme_gray_3 %}
18
19
20 @import url("basic.css");
21
22 /* -- page layout ----------------------------------------------------------- */
23
24 html {
25 position: relative;
26 min-height: 100%;
27 }
28
29 body {
30 font-family: {{ theme_font_family }};
31 font-weight: 300;
32 font-size: 18px;
33 line-height: 1.6;
34 background-color: #ffffff;
35 color: #333;
36 margin: 20px 0px 50px 0px;
37 padding: 0;
38 }
39
40 div.document {
41 margin: 0px 30px;
42 }
43
44 div.documentwrapper {
45 float: left;
46 width: 100%;
47 }
48
49 div.bodywrapper {
50 margin: 0 0 0 320px;
51 padding-left: 1px;
52 border-left: 1px dotted #f0f0f0;
53 }
54
55 div.sphinxsidebar {
56 width: {{ sidebar_width }};
57 }
58
59 hr {
60 border: 1px solid #B1B4B6;
61 }
62
63 div.body {
64 background-color: #ffffff;
65 color: {{ theme_body_text }};
66 padding: 0 30px 0 30px;
67 }
68
69 div.footer {
70 position: absolute;
71 bottom: 0;
72 width: 100%;
73 height: 50px;
74 font-size: 0.4em;
75 color: {{ theme_footer_text }};
76 text-align: center;
77 }
78
79 div.footer a {
80 color: {{ theme_footer_text }};
81 }
82
83 div.related {
84 display: none;
85 }
86
87 div.sphinxsidebar a {
88 color: {{ theme_link }};
89 text-decoration: none;
90 /*border-bottom: 1px dotted {{ theme_sidebar_link_underscore }};*/
91 }
92
93 div.sphinxsidebar a:hover {
94 border-bottom: 1px solid {{ theme_sidebar_link_underscore }};
95 }
96
97 div.sphinxsidebar {
98 font-size: 16px;
99 line-height: 1.5;
100 }
101
102 div.sphinxsidebarwrapper {
103 padding: 18px 10px;
104 }
105
106 div.sphinxsidebarwrapper p.logo {
107 padding: 0;
108 margin: -10px 0 0 0px;
109 text-align: center;
110 }
111
112 div.sphinxsidebarwrapper h1.logo {
113 margin-top: -10px;
114 text-align: center;
115 margin-bottom: 20px;
116 text-align: {{ theme_logo_text_align }};
117 font-family: {{ theme_head_font_family }}
118 }
119
120 div.sphinxsidebarwrapper h1.logo-name {
121 margin-top: 0px;
122 }
123
124 div.sphinxsidebarwrapper p.blurb {
125 margin-top: 0;
126 font-style: {{ theme_description_font_style }};
127 }
128
129 div.sphinxsidebar h3,
130 div.sphinxsidebar h4 {
131 font-family: {{ theme_head_font_family }};
132 color: {{ theme_sidebar_header }};
133 font-size: 24px;
134 font-weight: normal;
135 margin: 0 0 5px 0;
136 padding: 0;
137 }
138
139 div.sphinxsidebar h4 {
140 font-size: 20px;
141 }
142
143 div.sphinxsidebar h3 a {
144 color: {{ theme_link }};
145 }
146
147 div.sphinxsidebar p.logo a,
148 div.sphinxsidebar h3 a,
149 div.sphinxsidebar p.logo a:hover,
150 div.sphinxsidebar h3 a:hover {
151 border: none;
152 }
153
154 div.sphinxsidebar p {
155 color: {{ theme_sidebar_text }};
156 margin: 10px 0;
157 }
158
159 div.sphinxsidebar ul {
160 margin: 10px 0;
161 padding: 0;
162 color: {{ theme_sidebar_list }};
163 }
164
165 div.sphinxsidebar ul li.toctree-l1 > a {
166 font-size: 120%;
167 }
168
169 div.sphinxsidebar ul li.toctree-l2 > a {
170 font-size: 110%;
171 }
172
173 div.sphinxsidebar input {
174 border: 1px solid {{ theme_sidebar_search_button }};
175 font-family: {{ theme_font_family }};
176 font-size: 1.1em;
177 }
178
179 div.sphinxsidebar hr {
180 border: none;
181 height: 1px;
182 color: {{ theme_sidebar_link_underscore }};
183 background: {{ theme_sidebar_link_underscore }};
184
185 text-align: left;
186 margin-left: 0;
187 width: 50%;
188 }
189
190 /* -- body styles ----------------------------------------------------------- */
191
192 a {
193 color: {{ theme_link }};
194 text-decoration: underline;
195 }
196
197 a:hover {
198 color: {{ theme_link_hover }};
199 text-decoration: underline;
200 }
201
202 div.body h1,
203 div.body h2,
204 div.body h3,
205 div.body h4,
206 div.body h5,
207 div.body h6 {
208 font-family: {{ theme_head_font_family }};
209 font-weight: 400;
210 line-height: 1.4;
211 margin: 30px 0px 10px 0px;
212 padding: 0;
213 color: #666;
214 }
215
216 div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
217 div.body h2 { font-size: 180%; }
218 div.body h3 { font-size: 150%; }
219 div.body h4 { font-size: 130%; }
220 div.body h5 { font-size: 100%; }
221 div.body h6 { font-size: 100%; }
222
223 a.headerlink {
224 color: {{ theme_anchor }};
225 padding: 0 4px;
226 text-decoration: none;
227 }
228
229 a.headerlink:hover {
230 color: {{ theme_anchor_hover_fg }};
231 background: {{ theme_anchor_hover_bg }};
232 }
233
234 div.admonition {
235 margin: 20px 0px;
236 padding: 10px 30px;
237 background-color: {{ theme_warn_bg }};
238 border: 1px solid {{ theme_warn_border }};
239 }
240
241 div.admonition tt.xref, div.admonition a tt {
242 border-bottom: 1px solid #fafafa;
243 }
244
245 dd div.admonition {
246 margin-left: -60px;
247 padding-left: 60px;
248 }
249
250 div.admonition p.admonition-title {
251 margin: 0 0 10px 0;
252 padding: 0;
253 line-height: 1;
254 }
255
256 div.admonition p.last {
257 margin-bottom: 0;
258 }
259
260 div.highlight {
261 background-color: white;
262 }
263
264 dt:target, .highlight {
265 background: #FAF3E8;
266 }
267
268 div.note {
269 background-color: {{ theme_note_bg }};
270 border: 1px solid {{ theme_note_border }};
271 }
272
273 div.seealso {
274 background-color: {{ theme_seealso_bg }};
275 border: 1px solid {{ theme_seealso_border }};
276 }
277
278 div.topic {
279 background-color: #eee;
280 }
281
282 p.admonition-title {
283 display: inline;
284 }
285
286 p.admonition-title:after {
287 content: ":";
288 }
289
290 em {
291 color: #313131;
292 }
293
294 pre, tt, code {
295 font-family: {{theme_code_font_family}};
296 font-size: {{ theme_code_font_size }};
297 font-weight: 400;
298 }
299
300 img.screenshot {
301 }
302
303 tt.descname, tt.descclassname, code.descname, code.descclassname {
304 font-size: 0.95em;
305 }
306
307 tt.descname, code.descname {
308 padding-right: 0.08em;
309 }
310
311 img.screenshot {
312 -moz-box-shadow: 2px 2px 4px #eee;
313 -webkit-box-shadow: 2px 2px 4px #eee;
314 box-shadow: 2px 2px 4px #eee;
315 }
316
317 table.docutils {
318 border: 1px solid #888;
319 -moz-box-shadow: 2px 2px 4px #eee;
320 -webkit-box-shadow: 2px 2px 4px #eee;
321 box-shadow: 2px 2px 4px #eee;
322 }
323
324 table.docutils td, table.docutils th {
325 border: 1px solid #888;
326 padding: 0.25em 0.7em;
327 }
328
329 table.field-list, table.footnote {
330 border: none;
331 -moz-box-shadow: none;
332 -webkit-box-shadow: none;
333 box-shadow: none;
334 }
335
336 table.footnote {
337 margin: 15px 0;
338 width: 100%;
339 border: 1px solid {{ theme_footnote_border }};
340 background: {{ theme_footnote_bg }};
341 font-size: 0.9em;
342 }
343
344 table.footnote + table.footnote {
345 margin-top: -15px;
346 border-top: none;
347 }
348
349 table.field-list th {
350 padding: 0 0.8em 0 0;
351 }
352
353 table.field-list td {
354 padding: 0;
355 }
356
357 table.footnote td.label {
358 width: 0px;
359 padding: 0.3em 0 0.3em 0.5em;
360 }
361
362 table.footnote td {
363 padding: 0.3em 0.5em;
364 }
365
366 dl {
367 margin: 0;
368 padding: 0;
369 }
370
371 dl dd {
372 margin-left: 30px;
373 }
374
375 blockquote {
376 margin: 0 0 0 30px;
377 padding: 0;
378 }
379
380 ul, ol {
381 margin: 10px 0 10px 30px;
382 padding: 0;
383 }
384
385 pre {
386 background: {{ theme_pre_bg }};
387 padding: 7px 30px;
388 margin: 15px 0px;
389 line-height: 1.3em;
390 }
391
392 dl pre, blockquote pre, li pre {
393 margin-left: -60px;
394 padding-left: 60px;
395 }
396
397 dl dl pre {
398 margin-left: -90px;
399 padding-left: 90px;
400 }
401
402 tt, code {
403 background-color: {{ theme_pre_bg }};
404 color: #444;
405 /* padding: 1px 2px; */
406 }
407
408 tt.xref, code.xref, a tt {
409 background-color: #FBFBFB;
410 border-bottom: 1px solid white;
411 }
412
413 a.reference {
414 text-decoration: none;
415 color: {{ theme_link }}
416 }
417
418 a.reference:hover {
419 color: {{ theme_link_hover }};
420 border-bottom: 1px solid {{ theme_link_hover }};
421 }
422
423 a.footnote-reference {
424 text-decoration: none;
425 font-size: 0.7em;
426 vertical-align: top;
427 border-bottom: 1px dotted {{ theme_link }};
428 }
429
430 a.footnote-reference:hover {
431 border-bottom: 1px solid {{ theme_link_hover }};
432 }
433
434 a:hover tt, a:hover code {
435 background: #EEE;
436 }
437
438
439 @media screen and (max-width: 870px) {
440
441 div.sphinxsidebar {
442 display: none;
443 }
444
445 div.document {
446 width: 100%;
447
448 }
449
450 div.documentwrapper {
451 margin-left: 0;
452 margin-top: 0;
453 margin-right: 0;
454 margin-bottom: 0;
455 }
456
457 div.bodywrapper {
458 margin-top: 0;
459 margin-right: 0;
460 margin-bottom: 0;
461 margin-left: 0;
462 border-left: 0px;
463 }
464
465 ul {
466 margin-left: 0;
467 }
468
469 .document {
470 width: auto;
471 }
472
473 .footer {
474 width: auto;
475 }
476
477 .bodywrapper {
478 margin: 0;
479 }
480
481 .footer {
482 width: auto;
483 }
484
485 .github {
486 display: none;
487 }
488
489
490
491 }
492
493
494
495 @media screen and (max-width: 875px) {
496
497 body {
498 margin: 0;
499 padding: 20px 30px;
500 }
501
502 div.documentwrapper {
503 float: none;
504 background: white;
505 }
506
507 div.sphinxsidebar {
508 display: block;
509 float: none;
510 width: 102.5%;
511 margin: 50px -30px -20px -30px;
512 padding: 10px 20px;
513 background: {{ theme_narrow_sidebar_bg }};
514 color: {{ theme_narrow_sidebar_fg }};
515 }
516
517 div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p,
518 div.sphinxsidebar h3 a {
519 color: white;
520 }
521
522 div.sphinxsidebar a {
523 color: {{ theme_narrow_sidebar_link }};
524 }
525
526 div.sphinxsidebar p.logo {
527 display: none;
528 }
529
530 div.document {
531 width: 100%;
532 margin: 0;
533 }
534
535 div.related {
536 display: block;
537 margin: 0;
538 padding: 10px 0 20px 0;
539 }
540
541 div.related ul,
542 div.related ul li {
543 margin: 0;
544 padding: 0;
545 }
546
547 div.footer {
548 display: none;
549 }
550
551 div.bodywrapper {
552 margin: 0;
553 }
554
555 div.body {
556 min-height: 0;
557 padding: 0;
558 }
559
560 .rtd_doc_footer {
561 display: none;
562 }
563
564 .document {
565 width: auto;
566 }
567
568 .footer {
569 width: auto;
570 }
571
572 .footer {
573 width: auto;
574 }
575
576 .github {
577 display: none;
578 }
579 }
580
581
582 /* misc. */
583
584 .revsys-inline {
585 display: none!important;
586 }
587
588 /* Make nested-list/multi-paragraph items look better in Releases changelog
589 * pages. Without this, docutils' magical list fuckery causes inconsistent
590 * formatting between different release sub-lists.
591 */
592 div#changelog > div.section > ul > li > p:only-child {
593 margin-bottom: 0;
594 }
595
596 /* Hide fugly table cell borders in ..bibliography:: directive output */
597 table.docutils.citation, table.docutils.citation td, table.docutils.citation th {
598 border:none;
599 }
600
601 #searchbox {
602 margin-top: 1.5em;
603 margin-bottom: 1.5em;
604 }
605
606 div.sphinxsidebar #searchbox input[type="text"] {
607 width: 220px;
608 }
609
610 div.sphinxsidebar #searchbox input[type="submit"] {
611 width: 40px;
612 }