4 * Copyright 2011 Twitter, Inc
5 * Licensed under the Apache License v2.0
6 * http://www.apache.org/licenses/LICENSE-2.0
8 * Heavily modified by Kyle Barbary for the AstroPy Project for use with Sphinx.
11 @import url("basic.css");
14 background-color: #ffffff;
16 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
23 /* Hyperlinks ----------------------------------------------------------------*/
27 text-decoration: none;
34 text-decoration: underline;
37 /* Typography ----------------------------------------------------------------*/
51 margin: 1em 0 0.5em 0;
52 border-bottom: 1px solid #404040;
65 text-transform: uppercase;
80 ul ul, ul ol, ol ol, ol ul {
109 border-bottom: 1px solid #eee;
117 font-weight: inherit;
118 line-height: inherit;
131 font-family: monospace;
132 -webkit-border-radius: 3px;
133 -moz-border-radius: 3px;
137 font-family: monospace;
147 border: 1px solid #ddd;
148 border: 1px solid rgba(0, 0, 0, 0.12);
149 -webkit-border-radius: 3px;
150 -moz-border-radius: 3px;
153 word-wrap: break-word;
160 /* format inline code with a rounded box */
164 border: 1px solid #ddd;
165 border: 1px solid rgba(0, 0, 0, 0.12);
171 padding: 0 1px 0 1px;
172 background-color: transparent;
176 /* all code has same box background color, even in headers */
177 h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt,
178 h1 code, h2 code, h3 code, h4 code, h5 code, h6 code,
180 background-color: #f8f8f8;
183 /* override box for links & other sphinx-specifc stuff */
184 tt.xref, a tt, tt.descname, tt.descclassname {
185 padding: 0 1px 0 1px;
189 /* override box for related bar at the top of the page */
192 padding: 0 1px 0 1px;
193 background-color: transparent;
198 background-color: #dddddd;
202 font-family: sans-serif;
205 div.viewcode-block:target {
206 background-color: #f4debf;
207 border-top: 1px solid #ac9;
208 border-bottom: 1px solid #ac9;
213 border-collapse: separate;
216 /* Topbar --------------------------------------------------------------------*/
226 background-color: #222;
227 background-color: #222222;
228 background-repeat: repeat-x;
229 background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222));
230 background-image: -moz-linear-gradient(top, #333333, #222222);
231 background-image: -ms-linear-gradient(top, #333333, #222222);
232 background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222));
233 background-image: -webkit-linear-gradient(top, #333333, #222222);
234 background-image: -o-linear-gradient(top, #333333, #222222);
235 background-image: linear-gradient(to top, #333333, #222222);
236 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
243 font-family: 'Source Sans Pro', sans-serif;
247 text-decoration: none;
251 padding: 8px 12px 0px 45px;
253 background: transparent url("astropy_logo_32.png") no-repeat 10px 4px;
254 background-image: url("astropy_logo.svg"), none;
255 background-size: 32px 32px;
269 div.topbar .brand:hover, div.topbar ul li a.homelink:hover {
270 background-color: #333;
271 background-color: rgba(255, 255, 255, 0.05);
276 list-style-type: none;
282 text-decoration: none;
287 display: inline-block;
295 text-decoration: none;
300 vertical-align: middle;
304 div.topbar ul li a:hover {
306 text-decoration: none;
310 position: relative; /* Fixed this to relative */
311 display: inline-block;
315 div.dropdown-content {
316 display: none; /* Fix this at none */
317 background-color: DimGray;
321 box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
327 div.dropdown:hover .dropdown-content {
331 div.dropdown-content a {
335 div.dropdown-content a:hover {
339 div.dropdown a:hover {
343 div.dropdown z:hover {
360 border-left: 5px solid transparent;
361 border-right: 5px solid transparent;
362 border-top: 5px solid white;
370 div.topbar ul li a.homelink {
375 background: transparent url("astropy_linkout_20.png") no-repeat 10px 5px;
376 background-image: url("astropy_linkout.svg"), none;
377 background-size: 91px 20px;
384 filter: alpha(opacity=100);
391 background-color: #444;
392 background-color: rgba(255, 255, 255, 0.3);
393 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
399 color: rgba(255, 255, 255, 0.75);
400 border: 1px solid #111;
401 -webkit-border-radius: 4px;
402 -moz-border-radius: 4px;
404 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
405 -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
406 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
407 -webkit-transition: none;
408 -moz-transition: none;
409 -ms-transition: none;
413 div.topbar input:-moz-placeholder {
416 div.topbar input::-webkit-input-placeholder {
419 div.topbar input:hover {
420 background-color: #bfbfbf;
421 background-color: rgba(255, 255, 255, 0.5);
424 div.topbar input:focus, div.topbar input.focused {
426 background-color: #ffffff;
428 text-shadow: 0 1px 0 #ffffff;
431 -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
432 -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
433 box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
437 /* Relation bar (breadcrumbs, prev, next) ------------------------------------*/
450 vertical-align: middle;
451 background-color: #fff;
452 border-bottom: 1px solid #bbb;
460 /* Footer --------------------------------------------------------------------*/
464 margin: 10px 10px 0px;
466 border-top: 1px solid #bbb;
475 /* Sphinx sidebar ------------------------------------------------------------*/
480 background-color: #eee;
481 border: 1px solid #bbb;
482 word-wrap: break-word;
483 /* overflow-wrap is the canonical name for word-wrap in the CSS3 text draft.
484 We include it here mainly for future-proofing. */
485 overflow-wrap: break-word;
488 div.sphinxsidebarwrapper {
489 padding: 0px 0px 0px 5px;
492 div.sphinxsidebar h3 {
493 font-family: 'Trebuchet MS', sans-serif;
496 margin: 5px 0px 0px 5px;
500 div.sphinxsidebar h4 {
501 font-family: 'Trebuchet MS', sans-serif;
507 div.sphinxsidebar p {
509 div.sphinxsidebar p.topless {
510 margin: 5px 10px 10px 10px;
512 div.sphinxsidebar ul {
513 margin: 0px 0px 0px 5px;
517 div.sphinxsidebar ul ul {
519 list-style-type: disc;
522 /* If showing the global TOC (toctree),
523 color the current page differently */
524 div.sphinxsidebar a.current {
527 div.sphinxsidebar a.current:hover {
532 /* document, documentwrapper, body, bodywrapper ----------------------------- */
540 div.documentwrapper {
546 background-color: #ffffff;
547 padding: 0 0 0px 20px;
556 /* Header links ------------------------------------------------------------- */
560 padding: 0 4px 0 4px;
561 text-decoration: none;
565 background-color: #0069d6;
567 text-decoration: none;
571 /* Admonitions and warnings ------------------------------------------------- */
573 /* Shared by admonitions and warnings */
578 -moz-border-radius: 3px;
579 -webkit-border-radius: 3px;
583 margin: 0.5em 1em 0.5em 1em;
588 margin: 0.4em 1em 0.4em 1em;
590 div.admonition p.admonition-title,
591 div.warning p.admonition-title {
593 padding: 0.1em 0 0.1em 0.5em;
598 div.admonition ul, div.admonition ol,
599 div.warning ul, div.warning ol {
600 margin: 0.1em 0.5em 0.5em 3em;
604 /* Admonitions only */
606 border: 1px solid #609060;
607 background-color: #e9ffe9;
609 div.admonition p.admonition-title {
610 background-color: #70A070;
615 border: 1px solid #900000;
616 background-color: #ffe9e9;
618 div.warning p.admonition-title {
619 background-color: #b04040;
623 /* Figures ------------------------------------------------------------------ */
625 .figure.align-center {
629 /* This is a div for containing multiple figures side-by-side, for use with
630 * .. container:: figures */
632 border: 1px solid #CCCCCC;
633 background-color: #F8F8F8;
638 div.figures .figure {
641 display: inline-block;
654 border-left: 5px solid rgb(238, 238, 238) !important;
657 table.field-list th.field-name {
658 display: inline-block;
659 padding: 1px 8px 1px 5px;
661 background-color: rgb(238, 238, 238);
662 border-radius: 0 3px 3px 0;
663 -webkit-border-radius: 0 3px 3px 0;