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;
254 background: transparent url("astropy_logo_32.png") no-repeat 10px 4px;
255 background-image: url("astropy_logo.svg"), none;
256 background-size: 32px 32px;
271 div.topbar .brand:hover, div.topbar ul li a.homelink:hover {
272 background-color: #333;
273 background-color: rgba(255, 255, 255, 0.05);
278 list-style-type: none;
284 text-decoration: none;
289 display: inline-block;
297 text-decoration: none;
302 vertical-align: middle;
306 div.topbar ul li a:hover {
308 text-decoration: none;
312 position: relative; /* Fixed this to relative */
313 display: inline-block;
317 div.dropdown-content {
318 display: none; /* Fix this at none */
319 background-color: DimGray;
323 box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
329 div.dropdown:hover .dropdown-content {
333 div.dropdown-content a {
337 div.dropdown-content a:hover {
341 div.dropdown a:hover {
345 div.dropdown z:hover {
362 border-left: 5px solid transparent;
363 border-right: 5px solid transparent;
364 border-top: 5px solid white;
372 div.topbar ul li a.homelink {
378 background: transparent url("astropy_linkout_20.png") no-repeat 10px 5px;
379 background-image: url("astropy_linkout.svg"), none;
380 background-size: 91px 20px;
388 filter: alpha(opacity=100);
395 background-color: #444;
396 background-color: rgba(255, 255, 255, 0.3);
397 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
403 color: rgba(255, 255, 255, 0.75);
404 border: 1px solid #111;
405 -webkit-border-radius: 4px;
406 -moz-border-radius: 4px;
408 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
409 -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
410 box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 0px rgba(255, 255, 255, 0.25);
411 -webkit-transition: none;
412 -moz-transition: none;
413 -ms-transition: none;
417 div.topbar input:-moz-placeholder {
420 div.topbar input::-webkit-input-placeholder {
423 div.topbar input:hover {
424 background-color: #bfbfbf;
425 background-color: rgba(255, 255, 255, 0.5);
428 div.topbar input:focus, div.topbar input.focused {
430 background-color: #ffffff;
432 text-shadow: 0 1px 0 #ffffff;
435 -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
436 -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
437 box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
441 /* Relation bar (breadcrumbs, prev, next) ------------------------------------*/
454 vertical-align: middle;
455 background-color: #fff;
456 border-bottom: 1px solid #bbb;
464 /* Footer --------------------------------------------------------------------*/
468 margin: 10px 10px 0px;
470 border-top: 1px solid #bbb;
479 /* Sphinx sidebar ------------------------------------------------------------*/
484 background-color: #eee;
485 border: 1px solid #bbb;
486 word-wrap: break-word;
487 /* overflow-wrap is the canonical name for word-wrap in the CSS3 text draft.
488 We include it here mainly for future-proofing. */
489 overflow-wrap: break-word;
492 div.sphinxsidebarwrapper {
493 padding: 0px 0px 0px 5px;
496 div.sphinxsidebar h3 {
497 font-family: 'Trebuchet MS', sans-serif;
500 margin: 5px 0px 0px 5px;
504 div.sphinxsidebar h4 {
505 font-family: 'Trebuchet MS', sans-serif;
511 div.sphinxsidebar p {
513 div.sphinxsidebar p.topless {
514 margin: 5px 10px 10px 10px;
516 div.sphinxsidebar ul {
517 margin: 0px 0px 0px 5px;
521 div.sphinxsidebar ul ul {
523 list-style-type: disc;
526 /* If showing the global TOC (toctree),
527 color the current page differently */
528 div.sphinxsidebar a.current {
531 div.sphinxsidebar a.current:hover {
536 /* document, documentwrapper, body, bodywrapper ----------------------------- */
544 div.documentwrapper {
550 background-color: #ffffff;
551 padding: 0 0 0px 20px;
560 /* Header links ------------------------------------------------------------- */
564 padding: 0 4px 0 4px;
565 text-decoration: none;
569 background-color: #0069d6;
571 text-decoration: none;
575 /* Admonitions and warnings ------------------------------------------------- */
577 /* Shared by admonitions and warnings */
582 -moz-border-radius: 3px;
583 -webkit-border-radius: 3px;
587 margin: 0.5em 1em 0.5em 1em;
592 margin: 0.4em 1em 0.4em 1em;
594 div.admonition p.admonition-title,
595 div.warning p.admonition-title {
597 padding: 0.1em 0 0.1em 0.5em;
602 div.admonition ul, div.admonition ol,
603 div.warning ul, div.warning ol {
604 margin: 0.1em 0.5em 0.5em 3em;
608 /* Admonitions only */
610 border: 1px solid #609060;
611 background-color: #e9ffe9;
613 div.admonition p.admonition-title {
614 background-color: #70A070;
619 border: 1px solid #900000;
620 background-color: #ffe9e9;
622 div.warning p.admonition-title {
623 background-color: #b04040;
627 /* Figures ------------------------------------------------------------------ */
629 .figure.align-center {
633 /* This is a div for containing multiple figures side-by-side, for use with
634 * .. container:: figures */
636 border: 1px solid #CCCCCC;
637 background-color: #F8F8F8;
642 div.figures .figure {
645 display: inline-block;
658 border-left: 5px solid rgb(238, 238, 238) !important;
661 table.field-list th.field-name {
662 display: inline-block;
663 padding: 1px 8px 1px 5px;
665 background-color: rgb(238, 238, 238);
666 border-radius: 0 3px 3px 0;
667 -webkit-border-radius: 0 3px 3px 0;