@import "sphinxdoc.css"; /** * This is mainly a copy of Numpy's css with some tweaks and simplifications. */ /* * Make class and method headers stand out */ dl.class dt, dl.exception dt { border-top: 1px solid #AAAAAA; background-color: #F2F2F2; } dl.method dt, dl.function dt { border-top: 1px solid #CCCCCC; background-color: #F2F2F2; } h1, h2, h3, h4 { border-top: 1px solid #777777; background-color: #F2F2F2; } /* Tweaks to the sphinxdoc theme to put the sidebar on the left instead of the * the right (ironically, this overrides the sphinxdoc's themes overrides to * sphinx's basic.css */ div.sphinxsidebar { float: left; padding: 0.5em 0 15px 15px; } div.bodywrapper { margin: 0 0 0 240px; border-right: none; border-left: 1px solid #CCCCCC; } /** * Spacing fixes */ body { margin: 0 auto; max-width: 1280px; } body { counter-reset: fig-num; } div.body p.caption { counter-increment: fig-num; text-align: center; } p.caption:before { content: "Figure " counter(fig-num) ": " } div.figure, div.table { text-align: center; border-top: 1px solid #888888; border-bottom: 1px solid #888888; padding-top: 12px; padding-bottom: 12px; margin-top: 12px; margin-bottom: 12px; } div.body p, div.body dd, div.body li { line-height: 125%; } table { margin: 0; } table.field-list td { padding-left: 16px; } ul.simple { margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; } /* spacing around blockquoted fields in parameters/attributes/returns */ td.field-body > blockquote { margin-top: 0.1em; margin-bottom: 0.5em; } /* spacing around example code */ div.highlight > pre, div.highlight-python > pre { padding: 5px; } /* spacing in see also definition lists */ dl.last > dd { margin-top: 1px; margin-bottom: 5px; margin-left: 30px; } /* /\** */ /* * Hide dummy toctrees */ /* *\/ */ /* ul { */ /* padding-top: 0; */ /* padding-bottom: 0; */ /* margin-top: 0; */ /* margin-bottom: 0; */ /* } */ /* ul li { */ /* padding-top: 0; */ /* padding-bottom: 0; */ /* margin-top: 0; */ /* margin-bottom: 0; */ /* } */ /* ul li a.reference { */ /* padding-top: 0; */ /* padding-bottom: 0; */ /* margin-top: 0; */ /* margin-bottom: 0; */ /* } */ /** * STScI colors */ .field-list th { color: #4070A0; } p.rubric { color: #4070A0; } tt { border: none; } div.sphinxsidebar h3, div.sphinxsidebar h4 { background-image: url('stsci_background.png'); border: 1px solid #4070A0; } /** * Extra admonitions */ div.tip { background-color: #ffffe4; border: 1px solid #ee6; } div.plot-output { clear-after: both; } div.plot-output .figure { float: left; text-align: center; margin-bottom: 0; padding-bottom: 0; } div.plot-output .caption { margin-top: 2; padding-top: 0; } div.plot-output p.admonition-title { display: none; } div.plot-output:after { content: ""; display: block; height: 0; clear: both; } /** * Styling for field lists */ table.field-list th { background-color: none; padding: 0; } table.field-list { border-spacing: 0px; } /** * Styling for footnotes */ table.footnote td, table.footnote th { border: none; }