Debian Codegraph @

astropy_sphinx_theme/bootstrap-astropy/static/bootstrap-astropy.css

raw
1 /*!
2 * Bootstrap v1.4.0
3 *
4 * Copyright 2011 Twitter, Inc
5 * Licensed under the Apache License v2.0
6 * http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * Heavily modified by Kyle Barbary for the AstroPy Project for use with Sphinx.
9 */
10
11 @import url("basic.css");
12
13 body {
14 background-color: #ffffff;
15 margin: 0;
16 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
17 font-size: 13px;
18 font-weight: normal;
19 line-height: 18px;
20 color: #404040;
21 }
22
23 /* Hyperlinks ----------------------------------------------------------------*/
24
25 a {
26 color: #0069d6;
27 text-decoration: none;
28 line-height: inherit;
29 font-weight: inherit;
30 }
31
32 a:hover {
33 color: #00438a;
34 text-decoration: underline;
35 }
36
37 /* Typography ----------------------------------------------------------------*/
38
39 h1,
40 h2,
41 h3,
42 h4,
43 h5,
44 h6 {
45 color: #404040;
46 margin: 0.7em 0 0 0;
47 line-height: 1.5em;
48 }
49 h1 {
50 font-size: 24px;
51 margin: 0;
52 }
53 h2 {
54 font-size: 21px;
55 line-height: 1.2em;
56 margin: 1em 0 0.5em 0;
57 border-bottom: 1px solid #404040;
58 }
59 h3 {
60 font-size: 18px;
61 }
62 h4 {
63 font-size: 16px;
64 }
65 h5 {
66 font-size: 14px;
67 }
68 h6 {
69 font-size: 13px;
70 text-transform: uppercase;
71 }
72
73 p {
74 font-size: 13px;
75 font-weight: normal;
76 line-height: 18px;
77 margin-top: 0px;
78 margin-bottom: 9px;
79 }
80
81 ul,
82 ol {
83 margin-left: 0;
84 padding: 0 0 0 25px;
85 }
86 ul ul,
87 ul ol,
88 ol ol,
89 ol ul {
90 margin-bottom: 0;
91 }
92 ul {
93 list-style: disc;
94 }
95 ol {
96 list-style: decimal;
97 }
98 li {
99 line-height: 18px;
100 color: #404040;
101 }
102 ul.unstyled {
103 list-style: none;
104 margin-left: 0;
105 }
106 dl {
107 margin-bottom: 18px;
108 }
109 dl dt,
110 dl dd {
111 line-height: 18px;
112 }
113 dl dd {
114 margin-left: 9px;
115 }
116 hr {
117 margin: 20px 0 19px;
118 border: 0;
119 border-bottom: 1px solid #eee;
120 }
121 strong {
122 font-style: inherit;
123 font-weight: bold;
124 }
125 em {
126 font-style: italic;
127 font-weight: inherit;
128 line-height: inherit;
129 }
130 .muted {
131 color: #bfbfbf;
132 }
133
134 address {
135 display: block;
136 line-height: 18px;
137 margin-bottom: 18px;
138 }
139 code,
140 pre {
141 padding: 0 3px 2px;
142 font-family: monospace;
143 -webkit-border-radius: 3px;
144 -moz-border-radius: 3px;
145 border-radius: 3px;
146 }
147 tt {
148 font-family: monospace;
149 }
150 code {
151 padding: 1px 3px;
152 }
153 pre {
154 display: block;
155 padding: 8.5px;
156 margin: 0 0 18px;
157 line-height: 18px;
158 border: 1px solid #ddd;
159 border: 1px solid rgba(0, 0, 0, 0.12);
160 -webkit-border-radius: 3px;
161 -moz-border-radius: 3px;
162 border-radius: 3px;
163 white-space: pre;
164 word-wrap: break-word;
165 }
166
167 img {
168 margin: 9px 0;
169 }
170
171 /* format inline code with a rounded box */
172 tt,
173 code {
174 margin: 0 2px;
175 padding: 0 5px;
176 border: 1px solid #ddd;
177 border: 1px solid rgba(0, 0, 0, 0.12);
178 border-radius: 3px;
179 }
180
181 code.xref,
182 a code {
183 margin: 0;
184 padding: 0 1px 0 1px;
185 background-color: transparent;
186 border: none;
187 }
188
189 /* all code has same box background color, even in headers */
190 h1 tt,
191 h2 tt,
192 h3 tt,
193 h4 tt,
194 h5 tt,
195 h6 tt,
196 h1 code,
197 h2 code,
198 h3 code,
199 h4 code,
200 h5 code,
201 h6 code,
202 pre,
203 code,
204 tt {
205 background-color: #f8f8f8;
206 }
207
208 /* override box for links & other sphinx-specific stuff */
209 tt.xref,
210 a tt,
211 tt.descname,
212 tt.descclassname {
213 padding: 0 1px 0 1px;
214 border: none;
215 }
216
217 /* override box for related bar at the top of the page */
218 .related tt {
219 border: none;
220 padding: 0 1px 0 1px;
221 background-color: transparent;
222 font-weight: bold;
223 }
224
225 th {
226 background-color: #dddddd;
227 }
228
229 .viewcode-back {
230 font-family: sans-serif;
231 }
232
233 div.viewcode-block:target {
234 background-color: #f4debf;
235 border-top: 1px solid #ac9;
236 border-bottom: 1px solid #ac9;
237 }
238
239 table.docutils {
240 border-spacing: 5px;
241 border-collapse: separate;
242 }
243
244 /* Topbar --------------------------------------------------------------------*/
245
246 div.topbar {
247 height: 40px;
248 position: absolute;
249 top: 0;
250 left: 0;
251 right: 0;
252 z-index: 10000;
253 padding: 0px 10px;
254 background-color: #222;
255 background-color: #222222;
256 background-repeat: repeat-x;
257 background-image: -khtml-gradient(
258 linear,
259 left top,
260 left bottom,
261 from(#333333),
262 to(#222222)
263 );
264 background-image: -moz-linear-gradient(top, #333333, #222222);
265 background-image: -ms-linear-gradient(top, #333333, #222222);
266 background-image: -webkit-gradient(
267 linear,
268 left top,
269 left bottom,
270 color-stop(0%, #333333),
271 color-stop(100%, #222222)
272 );
273 background-image: -webkit-linear-gradient(top, #333333, #222222);
274 background-image: -o-linear-gradient(top, #333333, #222222);
275 background-image: linear-gradient(to top, #333333, #222222);
276 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
277 overflow-x: hidden;
278 overflow-y: hidden;
279 width: 100%;
280 }
281
282 div.topbar a.brand {
283 font-family: "Source Sans Pro", sans-serif;
284 font-size: 26px;
285 color: #ffffff;
286 font-weight: 600;
287 text-decoration: none;
288 float: left;
289 display: block;
290 height: 32px;
291 padding: 8px 12px 0px 45px;
292 margin-left: -10px;
293 background: transparent url("astropy_logo_32.png") no-repeat 10px 4px;
294 background-image: url("astropy_logo.svg"), none;
295 background-size: 32px 32px;
296 }
297
298 #logotext1 {
299 }
300
301 #logotext2 {
302 font-weight: 200;
303 color: #ff5000;
304 }
305 #logotext3 {
306 font-weight: 200;
307 }
308
309 div.topbar .brand:hover,
310 div.topbar ul li a.homelink:hover {
311 background-color: #333;
312 background-color: rgba(255, 255, 255, 0.05);
313 }
314
315 div.topbar ul {
316 font-size: 110%;
317 list-style-type: none;
318 margin: 0;
319 padding: 0 0 0 10px;
320 float: right;
321 color: #bfbfbf;
322 text-align: center;
323 text-decoration: none;
324 height: 100%;
325 }
326 div.topbar ul li {
327 float: left;
328 display: inline-block;
329 height: 30px;
330 margin: 5px;
331 padding: 0px;
332 }
333
334 div.topbar ul li a {
335 color: #bfbfbf;
336 text-decoration: none;
337 padding: 5px;
338 display: block;
339 height: auto;
340 text-align: center;
341 vertical-align: middle;
342 border-radius: 4px;
343 }
344
345 div.topbar ul li a:hover {
346 color: #ffffff;
347 text-decoration: none;
348 }
349
350 div.dropdown {
351 position: relative; /* Fixed this to relative */
352 display: inline-block;
353 z-index: 999999;
354 }
355
356 div.dropdown-content {
357 display: none; /* Fix this at none */
358 background-color: DimGray;
359 color: White;
360 width: 235px;
361 height: 155px;
362 box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
363 padding-top: 3px;
364 padding-right: 15px;
365 position: fixed;
366 }
367
368 div.dropdown:hover .dropdown-content {
369 display: block;
370 }
371
372 div.dropdown-content a {
373 display: block;
374 }
375
376 div.dropdown-content a:hover {
377 color: white;
378 }
379
380 div.dropdown a:hover {
381 color: #ff5000;
382 }
383
384 div.dropdown z:hover {
385 color: #ff5000;
386 width: 10px;
387 display: none;
388 }
389
390 div.dropdown z {
391 color: white;
392 }
393
394 div.dropdown:after {
395 content: "";
396 position: absolute;
397 right: -13px;
398 top: 9px;
399 width: 0;
400 height: 0;
401 border-left: 5px solid transparent;
402 border-right: 5px solid transparent;
403 border-top: 5px solid white;
404 z-index: 999999;
405 }
406
407 div.dropdown:hover {
408 cursor: pointer;
409 }
410
411 div.topbar ul li a.homelink {
412 width: 112px;
413 display: block;
414 height: 20px;
415 padding: 5px 0px;
416 background: transparent url("astropy_linkout_20.png") no-repeat 10px 5px;
417 background-image: url("astropy_linkout.svg"), none;
418 background-size: 91px 20px;
419 }
420
421 div.topbar form {
422 text-align: left;
423 margin: 0 0 0 5px;
424 position: relative;
425 filter: alpha(opacity=100);
426 -khtml-opacity: 1;
427 -moz-opacity: 1;
428 opacity: 1;
429 }
430
431 div.topbar input {
432 background-color: #444;
433 background-color: rgba(255, 255, 255, 0.3);
434 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
435 font-size: medium;
436 font-weight: 200;
437 line-height: 1;
438 padding: 4px 9px;
439 color: #ffffff;
440 color: rgba(255, 255, 255, 0.75);
441 border: 1px solid #111;
442 -webkit-border-radius: 4px;
443 -moz-border-radius: 4px;
444 border-radius: 4px;
445 -webkit-box-shadow:
446 inset 0 1px 2px rgba(0, 0, 0, 0.1),
447 0 1px 0px rgba(255, 255, 255, 0.25);
448 -moz-box-shadow:
449 inset 0 1px 2px rgba(0, 0, 0, 0.1),
450 0 1px 0px rgba(255, 255, 255, 0.25);
451 box-shadow:
452 inset 0 1px 2px rgba(0, 0, 0, 0.1),
453 0 1px 0px rgba(255, 255, 255, 0.25);
454 -webkit-transition: none;
455 -moz-transition: none;
456 -ms-transition: none;
457 -o-transition: none;
458 transition: none;
459 }
460 div.topbar input:-moz-placeholder {
461 color: #e6e6e6;
462 }
463 div.topbar input::-webkit-input-placeholder {
464 color: #e6e6e6;
465 }
466 div.topbar input:hover {
467 background-color: #bfbfbf;
468 background-color: rgba(255, 255, 255, 0.5);
469 color: #ffffff;
470 }
471 div.topbar input:focus,
472 div.topbar input.focused {
473 outline: 0;
474 background-color: #ffffff;
475 color: #404040;
476 text-shadow: 0 1px 0 #ffffff;
477 border: 0;
478 padding: 5px 10px;
479 -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
480 -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
481 box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
482 }
483
484 /* Relation bar (breadcrumbs, prev, next) ------------------------------------*/
485
486 div.related {
487 height: 21px;
488 width: auto;
489 margin: 0 10px;
490 position: relative;
491 top: 42px;
492 clear: both;
493 left: 0;
494 right: 0;
495 z-index: 999;
496 font-size: 100%;
497 vertical-align: middle;
498 background-color: #fff;
499 border-bottom: 1px solid #bbb;
500 }
501 div.related ul {
502 padding: 0;
503 margin: 0;
504 }
505
506 /* Footer --------------------------------------------------------------------*/
507
508 footer {
509 display: block;
510 margin: 10px 10px 0px;
511 padding: 10px 0 0 0;
512 border-top: 1px solid #bbb;
513 }
514 .pull-right {
515 float: right;
516 width: 30em;
517 text-align: right;
518 }
519
520 /* Sphinx sidebar ------------------------------------------------------------*/
521
522 div.sphinxsidebar {
523 font-size: inherit;
524 border-radius: 3px;
525 background-color: #eee;
526 border: 1px solid #bbb;
527 word-wrap: break-word;
528 /* overflow-wrap is the canonical name for word-wrap in the CSS3 text draft.
529 We include it here mainly for future-proofing. */
530 overflow-wrap: break-word;
531 }
532
533 div.sphinxsidebarwrapper {
534 padding: 0px 0px 0px 5px;
535 }
536
537 div.sphinxsidebar h3 {
538 font-family: "Trebuchet MS", sans-serif;
539 font-size: 1.4em;
540 font-weight: normal;
541 margin: 5px 0px 0px 5px;
542 padding: 0;
543 line-height: 1.6em;
544 }
545 div.sphinxsidebar h4 {
546 font-family: "Trebuchet MS", sans-serif;
547 font-size: 1.3em;
548 font-weight: normal;
549 margin: 5px 0 0 0;
550 padding: 0;
551 }
552 div.sphinxsidebar p {
553 }
554 div.sphinxsidebar p.topless {
555 margin: 5px 10px 10px 10px;
556 }
557 div.sphinxsidebar ul {
558 margin: 0px 0px 0px 5px;
559 padding: 0;
560 overflow-x: auto;
561 }
562
563 div.sphinxsidebar ul ul {
564 margin-left: 15px;
565 list-style-type: disc;
566 }
567
568 /* If showing the global TOC (toctree),
569 color the current page differently */
570 div.sphinxsidebar a.current {
571 color: #404040;
572 }
573 div.sphinxsidebar a.current:hover {
574 color: #404040;
575 }
576
577 /* document, documentwrapper, body, bodywrapper ----------------------------- */
578
579 div.document {
580 margin-top: 72px;
581 margin-left: 10px;
582 margin-right: 10px;
583 }
584
585 div.documentwrapper {
586 float: left;
587 width: 100%;
588 }
589
590 div.body {
591 background-color: #ffffff;
592 padding: 0 0 0px 20px;
593 }
594
595 div.bodywrapper {
596 margin: 0 0 0 230px;
597 max-width: 55em;
598 }
599
600 /* Header links ------------------------------------------------------------- */
601
602 a.headerlink {
603 font-size: 0.8em;
604 padding: 0 4px 0 4px;
605 text-decoration: none;
606 }
607
608 a.headerlink:hover {
609 background-color: #0069d6;
610 color: white;
611 text-decoration: none;
612 }
613
614 /* Admonitions and warnings ------------------------------------------------- */
615
616 /* Shared by admonitions and warnings */
617 div.admonition,
618 div.warning {
619 padding: 0px;
620 border-radius: 3px;
621 -moz-border-radius: 3px;
622 -webkit-border-radius: 3px;
623 }
624 div.admonition p,
625 div.warning p {
626 margin: 0.5em 1em 0.5em 1em;
627 padding: 0;
628 }
629 div.admonition pre,
630 div.warning pre {
631 margin: 0.4em 1em 0.4em 1em;
632 }
633 div.admonition p.admonition-title,
634 div.warning p.admonition-title {
635 margin: 0;
636 padding: 0.1em 0 0.1em 0.5em;
637 color: white;
638 font-weight: bold;
639 font-size: 1.1em;
640 }
641 div.admonition ul,
642 div.admonition ol,
643 div.warning ul,
644 div.warning ol {
645 margin: 0.1em 0.5em 0.5em 3em;
646 padding: 0;
647 }
648
649 /* Admonitions only */
650 div.admonition {
651 border: 1px solid #609060;
652 background-color: #e9ffe9;
653 }
654 div.admonition p.admonition-title {
655 background-color: #70a070;
656 }
657
658 /* Warnings only */
659 div.warning {
660 border: 1px solid #900000;
661 background-color: #ffe9e9;
662 }
663 div.warning p.admonition-title {
664 background-color: #b04040;
665 }
666
667 /* Figures ------------------------------------------------------------------ */
668
669 .figure.align-center {
670 clear: none;
671 }
672
673 /* This is a div for containing multiple figures side-by-side, for use with
674 * .. container:: figures */
675 div.figures {
676 border: 1px solid #cccccc;
677 background-color: #f8f8f8;
678 margin: 1em;
679 text-align: center;
680 }
681
682 div.figures .figure {
683 clear: none;
684 float: none;
685 display: inline-block;
686 border: none;
687 margin-left: 0.5em;
688 margin-right: 0.5em;
689 }
690
691 .field-list th {
692 white-space: nowrap;
693 }
694
695 table.field-list {
696 border-spacing: 0px;
697 margin-left: 1px;
698 border-left: 5px solid rgb(238, 238, 238) !important;
699 }
700
701 table.field-list th.field-name {
702 display: inline-block;
703 padding: 1px 8px 1px 5px;
704 white-space: nowrap;
705 background-color: rgb(238, 238, 238);
706 border-radius: 0 3px 3px 0;
707 -webkit-border-radius: 0 3px 3px 0;
708 }