blob: 85c9436a9d9adba017ce00f5474120d7d7c1436a [file] [log] [blame]
Jeff Thompsonfa306642013-06-17 15:06:57 -07001/*
2 * default.css_t
3 * ~~~~~~~~~~~~~
4 *
5 * Sphinx stylesheet -- default theme.
6 *
7 * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
8 * :license: BSD, see LICENSE for details.
9 *
10 */
11
12@import url("basic.css");
13
14/* -- page layout ----------------------------------------------------------- */
15
16body {
17 font-family: {{ theme_bodyfont }};
18 font-size: 100%;
19 background-color: {{ theme_footerbgcolor }};
20 color: #000;
21 margin: 0;
22 padding: 0;
23}
24
25div.document {
26 background-color: {{ theme_sidebarbgcolor }};
27}
28
29div.documentwrapper {
30 float: left;
31 width: 100%;
32}
33
34div.bodywrapper {
35 margin: 0 0 0 {{ theme_sidebarwidth|toint }}px;
36}
37
38div.body {
39 background-color: {{ theme_bgcolor }};
40 color: {{ theme_textcolor }};
41 padding: 0 20px 30px 20px;
42}
43
44{%- if theme_rightsidebar|tobool %}
45div.bodywrapper {
46 margin: 0 {{ theme_sidebarwidth|toint }}px 0 0;
47}
48{%- endif %}
49
50div.footer {
51 color: {{ theme_footertextcolor }};
52 width: 100%;
53 padding: 9px 0 9px 0;
54 text-align: center;
55 font-size: 75%;
56}
57
58div.footer a {
59 color: {{ theme_footertextcolor }};
60 text-decoration: underline;
61}
62
63div.related {
64 background-color: {{ theme_relbarbgcolor }};
65 line-height: 30px;
66 color: {{ theme_relbartextcolor }};
67}
68
69div.related a {
70 color: {{ theme_relbarlinkcolor }};
71}
72
73div.sphinxsidebar {
74 {%- if theme_stickysidebar|tobool %}
75 top: 30px;
76 bottom: 0;
77 margin: 0;
78 position: fixed;
79 overflow: auto;
80 height: auto;
81 {%- endif %}
82 {%- if theme_rightsidebar|tobool %}
83 float: right;
84 {%- if theme_stickysidebar|tobool %}
85 right: 0;
86 {%- endif %}
87 {%- endif %}
88}
89
90{%- if theme_stickysidebar|tobool %}
91/* this is nice, but it it leads to hidden headings when jumping
92 to an anchor */
93/*
94div.related {
95 position: fixed;
96}
97
98div.documentwrapper {
99 margin-top: 30px;
100}
101*/
102{%- endif %}
103
104div.sphinxsidebar h3 {
105 font-family: {{ theme_headfont }};
106 color: {{ theme_sidebartextcolor }};
107 font-size: 1.4em;
108 font-weight: normal;
109 margin: 0;
110 padding: 0;
111}
112
113div.sphinxsidebar h3 a {
114 color: {{ theme_sidebartextcolor }};
115}
116
117div.sphinxsidebar h4 {
118 font-family: {{ theme_headfont }};
119 color: {{ theme_sidebartextcolor }};
120 font-size: 1.3em;
121 font-weight: normal;
122 margin: 5px 0 0 0;
123 padding: 0;
124}
125
126div.sphinxsidebar p {
127 color: {{ theme_sidebartextcolor }};
128}
129
130div.sphinxsidebar p.topless {
131 margin: 5px 10px 10px 10px;
132}
133
134div.sphinxsidebar ul {
135 margin: 10px;
136 padding: 0;
137 color: {{ theme_sidebartextcolor }};
138}
139
140div.sphinxsidebar a {
141 color: {{ theme_sidebarlinkcolor }};
142}
143
144div.sphinxsidebar input {
145 border: 1px solid {{ theme_sidebarlinkcolor }};
146 font-family: sans-serif;
147 font-size: 1em;
148}
149
150{% if theme_collapsiblesidebar|tobool %}
151/* for collapsible sidebar */
152div#sidebarbutton {
153 background-color: {{ theme_sidebarbtncolor }};
154}
155{% endif %}
156
157/* -- hyperlink styles ------------------------------------------------------ */
158
159a {
160 color: {{ theme_linkcolor }};
161 text-decoration: none;
162}
163
164a:visited {
165 color: {{ theme_visitedlinkcolor }};
166 text-decoration: none;
167}
168
169a:hover {
170 text-decoration: underline;
171}
172
173{% if theme_externalrefs|tobool %}
174a.external {
175 text-decoration: none;
176 border-bottom: 1px dashed {{ theme_linkcolor }};
177}
178
179a.external:hover {
180 text-decoration: none;
181 border-bottom: none;
182}
183
184a.external:visited {
185 text-decoration: none;
186 border-bottom: 1px dashed {{ theme_visitedlinkcolor }};
187}
188{% endif %}
189
190/* -- body styles ----------------------------------------------------------- */
191
192div.body h1,
193div.body h2,
194div.body h3,
195div.body h4,
196div.body h5,
197div.body h6 {
198 font-family: {{ theme_headfont }};
199 background-color: {{ theme_headbgcolor }};
200 font-weight: normal;
201 color: {{ theme_headtextcolor }};
202 border-bottom: 1px solid #ccc;
203 margin: 20px -20px 10px -20px;
204 padding: 3px 0 3px 10px;
205}
206
207div.body h1 { margin-top: 0; font-size: 200%; }
208div.body h2 { font-size: 160%; }
209div.body h3 { font-size: 140%; }
210div.body h4 { font-size: 120%; }
211div.body h5 { font-size: 110%; }
212div.body h6 { font-size: 100%; }
213
214a.headerlink {
215 color: {{ theme_headlinkcolor }};
216 font-size: 0.8em;
217 padding: 0 4px 0 4px;
218 text-decoration: none;
219}
220
221a.headerlink:hover {
222 background-color: {{ theme_headlinkcolor }};
223 color: white;
224}
225
226div.body p, div.body dd, div.body li {
227 text-align: justify;
228 line-height: 130%;
229}
230
231div.admonition p.admonition-title + p {
232 display: inline;
233}
234
235div.admonition p {
236 margin-bottom: 5px;
237}
238
239div.admonition pre {
240 margin-bottom: 5px;
241}
242
243div.admonition ul, div.admonition ol {
244 margin-bottom: 5px;
245}
246
247div.note {
248 background-color: #eee;
249 border: 1px solid #ccc;
250}
251
252div.seealso {
253 background-color: #ffc;
254 border: 1px solid #ff6;
255}
256
257div.topic {
258 background-color: #eee;
259}
260
261div.warning {
262 background-color: #ffe4e4;
263 border: 1px solid #f66;
264}
265
266p.admonition-title {
267 display: inline;
268}
269
270p.admonition-title:after {
271 content: ":";
272}
273
274pre {
275 padding: 5px;
276 background-color: {{ theme_codebgcolor }};
277 color: {{ theme_codetextcolor }};
278 line-height: 120%;
279 border: 1px solid #ac9;
280 border-left: none;
281 border-right: none;
282}
283
284tt {
285 background-color: #ecf0f3;
286 padding: 0 1px 0 1px;
287 font-size: 0.95em;
288}
289
290th {
291 background-color: #ede;
292}
293
294.warning tt {
295 background: #efc2c2;
296}
297
298.note tt {
299 background: #d6d6d6;
300}
301
302.viewcode-back {
303 font-family: {{ theme_bodyfont }};
304}
305
306div.viewcode-block:target {
307 background-color: #f4debf;
308 border-top: 1px solid #ac9;
309 border-bottom: 1px solid #ac9;
310}