source: python/trunk/Doc/tools/sphinxext/static/basic.css

Last change on this file was 391, checked in by dmik, 11 years ago

python: Merge vendor 2.7.6 to trunk.

  • Property svn:eol-style set to native
File size: 6.8 KB
Line 
1/**
2 * Sphinx stylesheet -- basic theme
3 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 */
5
6/* -- main layout ----------------------------------------------------------- */
7
8div.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 {
41 position: relative;
42 top: 0;
43 padding: 10px 5px 0 10px;
44 word-wrap: break-word;
45}
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 {
253 border: 0 solid #dce;
254 border-collapse: collapse;
255}
256
257table.docutils td, table.docutils th {
258 padding: 2px 5px 2px 5px;
259 border-left: 0;
260 background-color: #eef;
261}
262
263table.docutils td p.last, table.docutils th p.last {
264 margin-bottom: 0;
265}
266
267table.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
275table.docutils th {
276 border-top: 1px solid #cac;
277 background-color: #ede;
278}
279
280th {
281 text-align: left;
282 padding-right: 5px;
283}
284
285th.head {
286 text-align: center;
287}
288
289/* -- 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
309dt:target, .highlight {
310 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
339.deprecated {
340 background-color: #ffe4e4;
341 border: 1px solid #f66;
342 padding: 7px;
343}
344
345div.deprecated p {
346 margin-bottom: 0;
347}
348
349.system-message {
350 background-color: #fda;
351 padding: 5px;
352 border: 3px solid red;
353}
354
355.footnote:target {
356 background-color: #ffa;
357}
358
359.impl-detail {
360 margin-top: 10px;
361 margin-bottom: 10px;
362 padding: 7px;
363 border: 1px solid #ccc;
364}
365
366.impl-detail .compound-first {
367 margin-top: 0;
368}
369
370.impl-detail .compound-last {
371 margin-bottom: 0;
372}
373
374/* -- code displays --------------------------------------------------------- */
375
376pre {
377 overflow: auto;
378 overflow-y: hidden;
379}
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
421div.body div.math p {
422 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 {
435 margin: 0 !important;
436 width: 100%;
437 }
438
439 div.sphinxsidebar,
440 div.related,
441 div.footer,
442 #top-link {
443 display: none;
444 }
445}
Note: See TracBrowser for help on using the repository browser.