blob: 85a43185aab67b727f153375155e9899a16cd697 [file] [log] [blame]
Georg Brandlc8c358a2009-04-09 19:01:04 +00001/**
2 * Sphinx stylesheet -- basic theme
3 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 */
5
6/* -- main layout ----------------------------------------------------------- */
7
Georg Brandlc8c358a2009-04-09 19:01:04 +00008div.clearer {
9 clear: both;
10}
11
12/* -- relbar ---------------------------------------------------------------- */
13
14div.related {
15 width: 100%;
16 font-size: 90%;
17}
18
19div.related h3 {
20 display: none;
21}
22
23div.related ul {
24 margin: 0;
25 padding: 0 0 0 10px;
26 list-style: none;
27}
28
29div.related li {
30 display: inline;
31}
32
33div.related li.right {
34 float: right;
35 margin-right: 5px;
36}
37
38/* -- sidebar --------------------------------------------------------------- */
39
40div.sphinxsidebarwrapper {
Ezio Melotti8ad0eac2013-10-14 22:01:28 +030041 position: relative;
42 top: 0;
Georg Brandlc8c358a2009-04-09 19:01:04 +000043 padding: 10px 5px 0 10px;
Ezio Melottid1076db2012-11-03 18:25:04 +020044 word-wrap: break-word;
Georg Brandlc8c358a2009-04-09 19:01:04 +000045}
46
47div.sphinxsidebar {
48 float: left;
49 width: 230px;
50 margin-left: -100%;
51 font-size: 90%;
52}
53
54div.sphinxsidebar ul {
55 list-style: none;
56}
57
58div.sphinxsidebar ul ul,
59div.sphinxsidebar ul.want-points {
60 margin-left: 20px;
61 list-style: square;
62}
63
64div.sphinxsidebar ul ul {
65 margin-top: 0;
66 margin-bottom: 0;
67}
68
69div.sphinxsidebar form {
70 margin-top: 10px;
71}
72
73div.sphinxsidebar input {
74 border: 1px solid #98dbcc;
75 font-family: sans-serif;
76 font-size: 1em;
77}
78
79img {
80 border: 0;
81}
82
83/* -- search page ----------------------------------------------------------- */
84
85ul.search {
86 margin: 10px 0 0 20px;
87 padding: 0;
88}
89
90ul.search li {
91 padding: 5px 0 5px 20px;
92 background-image: url(file.png);
93 background-repeat: no-repeat;
94 background-position: 0 7px;
95}
96
97ul.search li a {
98 font-weight: bold;
99}
100
101ul.search li div.context {
102 color: #888;
103 margin: 2px 0 0 30px;
104 text-align: left;
105}
106
107ul.keywordmatches li.goodmatch a {
108 font-weight: bold;
109}
110
111/* -- index page ------------------------------------------------------------ */
112
113table.contentstable {
114 width: 90%;
115}
116
117table.contentstable p.biglink {
118 line-height: 150%;
119}
120
121a.biglink {
122 font-size: 1.3em;
123}
124
125span.linkdescr {
126 font-style: italic;
127 padding-top: 5px;
128 font-size: 90%;
129}
130
131/* -- general index --------------------------------------------------------- */
132
133table.indextable td {
134 text-align: left;
135 vertical-align: top;
136}
137
138table.indextable dl, table.indextable dd {
139 margin-top: 0;
140 margin-bottom: 0;
141}
142
143table.indextable tr.pcap {
144 height: 10px;
145}
146
147table.indextable tr.cap {
148 margin-top: 10px;
149 background-color: #f2f2f2;
150}
151
152img.toggler {
153 margin-right: 3px;
154 margin-top: 3px;
155 cursor: pointer;
156}
157
158/* -- general body styles --------------------------------------------------- */
159
160a.headerlink {
161 visibility: hidden;
162}
163
164h1:hover > a.headerlink,
165h2:hover > a.headerlink,
166h3:hover > a.headerlink,
167h4:hover > a.headerlink,
168h5:hover > a.headerlink,
169h6:hover > a.headerlink,
170dt:hover > a.headerlink {
171 visibility: visible;
172}
173
174div.body p.caption {
175 text-align: inherit;
176}
177
178div.body td {
179 text-align: left;
180}
181
182.field-list ul {
183 padding-left: 1em;
184}
185
186.first {
187 margin-top: 0 !important;
188}
189
190p.rubric {
191 margin-top: 30px;
192 font-weight: bold;
193}
194
195/* -- sidebars -------------------------------------------------------------- */
196
197div.sidebar {
198 margin: 0 0 0.5em 1em;
199 border: 1px solid #ddb;
200 padding: 7px 7px 0 7px;
201 background-color: #ffe;
202 width: 40%;
203 float: right;
204}
205
206p.sidebar-title {
207 font-weight: bold;
208}
209
210/* -- topics ---------------------------------------------------------------- */
211
212div.topic {
213 border: 1px solid #ccc;
214 padding: 7px 7px 0 7px;
215 margin: 10px 0 10px 0;
216}
217
218p.topic-title {
219 font-size: 1.1em;
220 font-weight: bold;
221 margin-top: 10px;
222}
223
224/* -- admonitions ----------------------------------------------------------- */
225
226div.admonition {
227 margin-top: 10px;
228 margin-bottom: 10px;
229 padding: 7px;
230}
231
232div.admonition dt {
233 font-weight: bold;
234}
235
236div.admonition dl {
237 margin-bottom: 0;
238}
239
240p.admonition-title {
241 margin: 0px 10px 5px 0px;
242 font-weight: bold;
243}
244
245div.body p.centered {
246 text-align: center;
247 margin-top: 25px;
248}
249
250/* -- tables ---------------------------------------------------------------- */
251
252table.docutils {
Raymond Hettinger8dbae0f2009-04-10 00:49:41 +0000253 border: 0 solid #dce;
Georg Brandlc8c358a2009-04-09 19:01:04 +0000254 border-collapse: collapse;
255}
256
257table.docutils td, table.docutils th {
Raymond Hettinger3f5a0b32009-04-10 02:01:21 +0000258 padding: 2px 5px 2px 5px;
Ezio Melotticfe446e2012-11-03 18:24:11 +0200259 border-left: 0;
260 background-color: #eef;
Georg Brandlc8c358a2009-04-09 19:01:04 +0000261}
262
Georg Brandl28046022011-02-25 11:01:04 +0000263table.docutils td p.last, table.docutils th p.last {
264 margin-bottom: 0;
265}
266
Georg Brandlc8c358a2009-04-09 19:01:04 +0000267table.field-list td, table.field-list th {
268 border: 0 !important;
269}
270
271table.footnote td, table.footnote th {
272 border: 0 !important;
273}
274
Raymond Hettinger390fa982009-04-09 23:25:30 +0000275table.docutils th {
Ezio Melotticfe446e2012-11-03 18:24:11 +0200276 border-top: 1px solid #cac;
Raymond Hettinger390fa982009-04-09 23:25:30 +0000277 background-color: #ede;
278}
279
Georg Brandlc8c358a2009-04-09 19:01:04 +0000280th {
281 text-align: left;
282 padding-right: 5px;
Georg Brandlc8c358a2009-04-09 19:01:04 +0000283}
284
Raymond Hettinger80a71a02009-04-09 23:34:14 +0000285th.head {
Ezio Melotticfe446e2012-11-03 18:24:11 +0200286 text-align: center;
Raymond Hettinger80a71a02009-04-09 23:34:14 +0000287}
288
Georg Brandlc8c358a2009-04-09 19:01:04 +0000289/* -- other body styles ----------------------------------------------------- */
290
291dl {
292 margin-bottom: 15px;
293}
294
295dd p {
296 margin-top: 0px;
297}
298
299dd ul, dd table {
300 margin-bottom: 10px;
301}
302
303dd {
304 margin-top: 3px;
305 margin-bottom: 10px;
306 margin-left: 30px;
307}
308
Benjamin Petersonaf80ce32015-04-10 18:40:21 -0400309dt:target, .highlighted {
Georg Brandlc8c358a2009-04-09 19:01:04 +0000310 background-color: #fbe54e;
311}
312
313dl.glossary dt {
314 font-weight: bold;
315 font-size: 1.1em;
316}
317
318.field-list ul {
319 margin: 0;
320 padding-left: 1em;
321}
322
323.field-list p {
324 margin: 0;
325}
326
327.refcount {
328 color: #060;
329}
330
331.optional {
332 font-size: 1.3em;
333}
334
335.versionmodified {
336 font-style: italic;
337}
338
Georg Brandl0aab3d92013-10-13 09:31:42 +0200339.deprecated {
Georg Brandl076ca5a2009-09-16 09:05:11 +0000340 background-color: #ffe4e4;
341 border: 1px solid #f66;
Georg Brandl21721b62013-10-13 09:56:20 +0200342 padding: 7px;
343}
344
345div.deprecated p {
346 margin-bottom: 0;
Georg Brandl076ca5a2009-09-16 09:05:11 +0000347}
348
Georg Brandlc8c358a2009-04-09 19:01:04 +0000349.system-message {
350 background-color: #fda;
351 padding: 5px;
352 border: 3px solid red;
353}
354
355.footnote:target {
Georg Brandl7f45ada2011-01-13 07:30:21 +0000356 background-color: #ffa;
Georg Brandlc8c358a2009-04-09 19:01:04 +0000357}
358
Georg Brandl08be2e22009-10-22 08:05:04 +0000359.impl-detail {
360 margin-top: 10px;
361 margin-bottom: 10px;
362 padding: 7px;
363 border: 1px solid #ccc;
364}
365
Georg Brandl3954d212009-10-22 11:36:50 +0000366.impl-detail .compound-first {
367 margin-top: 0;
368}
369
370.impl-detail .compound-last {
371 margin-bottom: 0;
Georg Brandl08be2e22009-10-22 08:05:04 +0000372}
373
Georg Brandlc8c358a2009-04-09 19:01:04 +0000374/* -- code displays --------------------------------------------------------- */
375
376pre {
377 overflow: auto;
R. David Murray62a1aae2010-12-18 19:43:05 +0000378 overflow-y: hidden;
Georg Brandlc8c358a2009-04-09 19:01:04 +0000379}
380
381td.linenos pre {
382 padding: 5px 0px;
383 border: 0;
384 background-color: transparent;
385 color: #aaa;
386}
387
388table.highlighttable {
389 margin-left: 0.5em;
390}
391
392table.highlighttable td {
393 padding: 0 0.5em 0 0.5em;
394}
395
396tt.descname {
397 background-color: transparent;
398 font-weight: bold;
399 font-size: 1.2em;
400}
401
402tt.descclassname {
403 background-color: transparent;
404}
405
406tt.xref, a tt {
407 background-color: transparent;
408 font-weight: bold;
409}
410
411h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
412 background-color: transparent;
413}
414
415/* -- math display ---------------------------------------------------------- */
416
417img.math {
418 vertical-align: middle;
419}
420
Georg Brandl076ca5a2009-09-16 09:05:11 +0000421div.body div.math p {
Georg Brandlc8c358a2009-04-09 19:01:04 +0000422 text-align: center;
423}
424
425span.eqno {
426 float: right;
427}
428
429/* -- printout stylesheet --------------------------------------------------- */
430
431@media print {
432 div.document,
433 div.documentwrapper,
434 div.bodywrapper {
Georg Brandl60bae6f2009-10-22 16:20:55 +0000435 margin: 0 !important;
Georg Brandlc8c358a2009-04-09 19:01:04 +0000436 width: 100%;
437 }
438
439 div.sphinxsidebar,
440 div.related,
441 div.footer,
442 #top-link {
443 display: none;
444 }
445}