root / trunk / docs / _build / html / _static / basic.css
History | View | Annotate | Download (7.65 KB)
1 |
/*
|
---|---|
2 |
* basic.css
|
3 |
* ~~~~~~~~~
|
4 |
*
|
5 |
* Sphinx stylesheet -- basic theme.
|
6 |
*
|
7 |
* :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
|
8 |
* :license: BSD, see LICENSE for details.
|
9 |
*
|
10 |
*/
|
11 |
|
12 |
/* -- main layout ----------------------------------------------------------- */
|
13 |
|
14 |
div.clearer { |
15 |
clear: both; |
16 |
} |
17 |
|
18 |
/* -- relbar ---------------------------------------------------------------- */
|
19 |
|
20 |
div.related { |
21 |
width: 100%; |
22 |
font-size: 90%; |
23 |
} |
24 |
|
25 |
div.related h3 { |
26 |
display: none; |
27 |
} |
28 |
|
29 |
div.related ul { |
30 |
margin: 0; |
31 |
padding: 0 0 0 10px; |
32 |
list-style: none; |
33 |
} |
34 |
|
35 |
div.related li { |
36 |
display: inline; |
37 |
} |
38 |
|
39 |
div.related li.right { |
40 |
float: right; |
41 |
margin-right: 5px; |
42 |
} |
43 |
|
44 |
/* -- sidebar --------------------------------------------------------------- */
|
45 |
|
46 |
div.sphinxsidebarwrapper { |
47 |
padding: 10px 5px 0 10px; |
48 |
} |
49 |
|
50 |
div.sphinxsidebar { |
51 |
float: left; |
52 |
width: 230px; |
53 |
margin-left: -100%; |
54 |
font-size: 90%; |
55 |
} |
56 |
|
57 |
div.sphinxsidebar ul { |
58 |
list-style: none; |
59 |
} |
60 |
|
61 |
div.sphinxsidebar ul ul, |
62 |
div.sphinxsidebar ul.want-points { |
63 |
margin-left: 20px; |
64 |
list-style: square; |
65 |
} |
66 |
|
67 |
div.sphinxsidebar ul ul { |
68 |
margin-top: 0; |
69 |
margin-bottom: 0; |
70 |
} |
71 |
|
72 |
div.sphinxsidebar form { |
73 |
margin-top: 10px; |
74 |
} |
75 |
|
76 |
div.sphinxsidebar input { |
77 |
border: 1px solid #98dbcc; |
78 |
font-family: sans-serif; |
79 |
font-size: 1em; |
80 |
} |
81 |
|
82 |
img {
|
83 |
border: 0; |
84 |
} |
85 |
|
86 |
/* -- search page ----------------------------------------------------------- */
|
87 |
|
88 |
ul.search { |
89 |
margin: 10px 0 0 20px; |
90 |
padding: 0; |
91 |
} |
92 |
|
93 |
ul.search li { |
94 |
padding: 5px 0 5px 20px; |
95 |
background-image: url(file.png); |
96 |
background-repeat: no-repeat; |
97 |
background-position: 0 7px; |
98 |
} |
99 |
|
100 |
ul.search li a { |
101 |
font-weight: bold; |
102 |
} |
103 |
|
104 |
ul.search li div.context { |
105 |
color: #888; |
106 |
margin: 2px 0 0 30px; |
107 |
text-align: left; |
108 |
} |
109 |
|
110 |
ul.keywordmatches li.goodmatch a { |
111 |
font-weight: bold; |
112 |
} |
113 |
|
114 |
/* -- index page ------------------------------------------------------------ */
|
115 |
|
116 |
table.contentstable { |
117 |
width: 90%; |
118 |
} |
119 |
|
120 |
table.contentstable p.biglink { |
121 |
line-height: 150%; |
122 |
} |
123 |
|
124 |
a.biglink { |
125 |
font-size: 1.3em; |
126 |
} |
127 |
|
128 |
span.linkdescr { |
129 |
font-style: italic; |
130 |
padding-top: 5px; |
131 |
font-size: 90%; |
132 |
} |
133 |
|
134 |
/* -- general index --------------------------------------------------------- */
|
135 |
|
136 |
table.indextable { |
137 |
width: 100%; |
138 |
} |
139 |
|
140 |
table.indextable td { |
141 |
text-align: left; |
142 |
vertical-align: top; |
143 |
} |
144 |
|
145 |
table.indextable dl, table.indextable dd { |
146 |
margin-top: 0; |
147 |
margin-bottom: 0; |
148 |
} |
149 |
|
150 |
table.indextable tr.pcap { |
151 |
height: 10px; |
152 |
} |
153 |
|
154 |
table.indextable tr.cap { |
155 |
margin-top: 10px; |
156 |
background-color: #f2f2f2; |
157 |
} |
158 |
|
159 |
img.toggler { |
160 |
margin-right: 3px; |
161 |
margin-top: 3px; |
162 |
cursor: pointer; |
163 |
} |
164 |
|
165 |
div.modindex-jumpbox { |
166 |
border-top: 1px solid #ddd; |
167 |
border-bottom: 1px solid #ddd; |
168 |
margin: 1em 0 1em 0; |
169 |
padding: 0.4em; |
170 |
} |
171 |
|
172 |
div.genindex-jumpbox { |
173 |
border-top: 1px solid #ddd; |
174 |
border-bottom: 1px solid #ddd; |
175 |
margin: 1em 0 1em 0; |
176 |
padding: 0.4em; |
177 |
} |
178 |
|
179 |
/* -- general body styles --------------------------------------------------- */
|
180 |
|
181 |
a.headerlink { |
182 |
visibility: hidden; |
183 |
} |
184 |
|
185 |
h1:hover > a.headerlink, |
186 |
h2:hover > a.headerlink, |
187 |
h3:hover > a.headerlink, |
188 |
h4:hover > a.headerlink, |
189 |
h5:hover > a.headerlink, |
190 |
h6:hover > a.headerlink, |
191 |
dt:hover > a.headerlink { |
192 |
visibility: visible; |
193 |
} |
194 |
|
195 |
div.body p.caption { |
196 |
text-align: inherit; |
197 |
} |
198 |
|
199 |
div.body td { |
200 |
text-align: left; |
201 |
} |
202 |
|
203 |
.field-list ul { |
204 |
padding-left: 1em; |
205 |
} |
206 |
|
207 |
.first {
|
208 |
margin-top: 0 !important; |
209 |
} |
210 |
|
211 |
p.rubric { |
212 |
margin-top: 30px; |
213 |
font-weight: bold; |
214 |
} |
215 |
|
216 |
.align-left {
|
217 |
text-align: left; |
218 |
} |
219 |
|
220 |
.align-center {
|
221 |
clear: both; |
222 |
text-align: center; |
223 |
} |
224 |
|
225 |
.align-right {
|
226 |
text-align: right; |
227 |
} |
228 |
|
229 |
/* -- sidebars -------------------------------------------------------------- */
|
230 |
|
231 |
div.sidebar { |
232 |
margin: 0 0 0.5em 1em; |
233 |
border: 1px solid #ddb; |
234 |
padding: 7px 7px 0 7px; |
235 |
background-color: #ffe; |
236 |
width: 40%; |
237 |
float: right; |
238 |
} |
239 |
|
240 |
p.sidebar-title { |
241 |
font-weight: bold; |
242 |
} |
243 |
|
244 |
/* -- topics ---------------------------------------------------------------- */
|
245 |
|
246 |
div.topic { |
247 |
border: 1px solid #ccc; |
248 |
padding: 7px 7px 0 7px; |
249 |
margin: 10px 0 10px 0; |
250 |
} |
251 |
|
252 |
p.topic-title { |
253 |
font-size: 1.1em; |
254 |
font-weight: bold; |
255 |
margin-top: 10px; |
256 |
} |
257 |
|
258 |
/* -- admonitions ----------------------------------------------------------- */
|
259 |
|
260 |
div.admonition { |
261 |
margin-top: 10px; |
262 |
margin-bottom: 10px; |
263 |
padding: 7px; |
264 |
} |
265 |
|
266 |
div.admonition dt { |
267 |
font-weight: bold; |
268 |
} |
269 |
|
270 |
div.admonition dl { |
271 |
margin-bottom: 0; |
272 |
} |
273 |
|
274 |
p.admonition-title { |
275 |
margin: 0px 10px 5px 0px; |
276 |
font-weight: bold; |
277 |
} |
278 |
|
279 |
div.body p.centered { |
280 |
text-align: center; |
281 |
margin-top: 25px; |
282 |
} |
283 |
|
284 |
/* -- tables ---------------------------------------------------------------- */
|
285 |
|
286 |
table.docutils { |
287 |
border: 0; |
288 |
border-collapse: collapse; |
289 |
} |
290 |
|
291 |
table.docutils td, table.docutils th { |
292 |
padding: 1px 8px 1px 5px; |
293 |
border-top: 0; |
294 |
border-left: 0; |
295 |
border-right: 0; |
296 |
border-bottom: 1px solid #aaa; |
297 |
} |
298 |
|
299 |
table.field-list td, table.field-list th { |
300 |
border: 0 !important; |
301 |
} |
302 |
|
303 |
table.footnote td, table.footnote th { |
304 |
border: 0 !important; |
305 |
} |
306 |
|
307 |
th {
|
308 |
text-align: left; |
309 |
padding-right: 5px; |
310 |
} |
311 |
|
312 |
table.citation { |
313 |
border-left: solid 1px gray; |
314 |
margin-left: 1px; |
315 |
} |
316 |
|
317 |
table.citation td { |
318 |
border-bottom: none; |
319 |
} |
320 |
|
321 |
/* -- other body styles ----------------------------------------------------- */
|
322 |
|
323 |
ol.arabic { |
324 |
list-style: decimal; |
325 |
} |
326 |
|
327 |
ol.loweralpha { |
328 |
list-style: lower-alpha; |
329 |
} |
330 |
|
331 |
ol.upperalpha { |
332 |
list-style: upper-alpha; |
333 |
} |
334 |
|
335 |
ol.lowerroman { |
336 |
list-style: lower-roman; |
337 |
} |
338 |
|
339 |
ol.upperroman { |
340 |
list-style: upper-roman; |
341 |
} |
342 |
|
343 |
dl {
|
344 |
margin-bottom: 15px; |
345 |
} |
346 |
|
347 |
dd p { |
348 |
margin-top: 0px; |
349 |
} |
350 |
|
351 |
dd ul, dd table { |
352 |
margin-bottom: 10px; |
353 |
} |
354 |
|
355 |
dd {
|
356 |
margin-top: 3px; |
357 |
margin-bottom: 10px; |
358 |
margin-left: 30px; |
359 |
} |
360 |
|
361 |
dt:target, .highlighted { |
362 |
background-color: #fbe54e; |
363 |
} |
364 |
|
365 |
dl.glossary dt { |
366 |
font-weight: bold; |
367 |
font-size: 1.1em; |
368 |
} |
369 |
|
370 |
.field-list ul { |
371 |
margin: 0; |
372 |
padding-left: 1em; |
373 |
} |
374 |
|
375 |
.field-list p { |
376 |
margin: 0; |
377 |
} |
378 |
|
379 |
.refcount {
|
380 |
color: #060; |
381 |
} |
382 |
|
383 |
.optional {
|
384 |
font-size: 1.3em; |
385 |
} |
386 |
|
387 |
.versionmodified {
|
388 |
font-style: italic; |
389 |
} |
390 |
|
391 |
.system-message {
|
392 |
background-color: #fda; |
393 |
padding: 5px; |
394 |
border: 3px solid red; |
395 |
} |
396 |
|
397 |
.footnote:target { |
398 |
background-color: #ffa |
399 |
} |
400 |
|
401 |
.line-block {
|
402 |
display: block; |
403 |
margin-top: 1em; |
404 |
margin-bottom: 1em; |
405 |
} |
406 |
|
407 |
.line-block .line-block { |
408 |
margin-top: 0; |
409 |
margin-bottom: 0; |
410 |
margin-left: 1.5em; |
411 |
} |
412 |
|
413 |
.guilabel, .menuselection { |
414 |
font-family: sans-serif; |
415 |
} |
416 |
|
417 |
.accelerator {
|
418 |
text-decoration: underline; |
419 |
} |
420 |
|
421 |
.classifier {
|
422 |
font-style: oblique; |
423 |
} |
424 |
|
425 |
/* -- code displays --------------------------------------------------------- */
|
426 |
|
427 |
pre {
|
428 |
overflow: auto; |
429 |
} |
430 |
|
431 |
td.linenos pre { |
432 |
padding: 5px 0px; |
433 |
border: 0; |
434 |
background-color: transparent; |
435 |
color: #aaa; |
436 |
} |
437 |
|
438 |
table.highlighttable { |
439 |
margin-left: 0.5em; |
440 |
} |
441 |
|
442 |
table.highlighttable td { |
443 |
padding: 0 0.5em 0 0.5em; |
444 |
} |
445 |
|
446 |
tt.descname { |
447 |
background-color: transparent; |
448 |
font-weight: bold; |
449 |
font-size: 1.2em; |
450 |
} |
451 |
|
452 |
tt.descclassname { |
453 |
background-color: transparent; |
454 |
} |
455 |
|
456 |
tt.xref, a tt { |
457 |
background-color: transparent; |
458 |
font-weight: bold; |
459 |
} |
460 |
|
461 |
h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { |
462 |
background-color: transparent; |
463 |
} |
464 |
|
465 |
.viewcode-link {
|
466 |
float: right; |
467 |
} |
468 |
|
469 |
.viewcode-back {
|
470 |
float: right; |
471 |
font-family: sans-serif; |
472 |
} |
473 |
|
474 |
div.viewcode-block:target { |
475 |
margin: -1px -10px; |
476 |
padding: 0 10px; |
477 |
} |
478 |
|
479 |
/* -- math display ---------------------------------------------------------- */
|
480 |
|
481 |
img.math { |
482 |
vertical-align: middle; |
483 |
} |
484 |
|
485 |
div.body div.math p { |
486 |
text-align: center; |
487 |
} |
488 |
|
489 |
span.eqno { |
490 |
float: right; |
491 |
} |
492 |
|
493 |
/* -- printout stylesheet --------------------------------------------------- */
|
494 |
|
495 |
@media print { |
496 |
div.document, |
497 |
div.documentwrapper, |
498 |
div.bodywrapper { |
499 |
margin: 0 !important; |
500 |
width: 100%; |
501 |
} |
502 |
|
503 |
div.sphinxsidebar, |
504 |
div.related, |
505 |
div.footer, |
506 |
#top-link {
|
507 |
display: none; |
508 |
} |
509 |
} |