source: branches/hpc33/tutorials/_static/basic.css@ 2468

Last change on this file since 2468 was 1636, checked in by Malte Marquarding, 15 years ago

Added sphinx project for ASAP tutorials

File size: 6.3 KB
Line 
1/**
2 * Sphinx stylesheet -- basic theme
3 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 */
5
6/* -- main layout ----------------------------------------------------------- */
7
8div.documentwrapper {
9 float: left;
10 width: 100%;
11}
12
13div.bodywrapper {
14 margin: 0 230px 0 0; /*230px;*/
15}
16
17div.clearer {
18 clear: both;
19}
20
21/* -- relbar ---------------------------------------------------------------- */
22
23div.related {
24 width: 100%;
25 font-size: 90%;
26}
27
28div.related h3 {
29 display: none;
30}
31
32div.related ul {
33 margin: 0;
34 padding: 0 0 0 10px;
35 list-style: none;
36}
37
38div.related li {
39 display: inline;
40}
41
42div.related li.right {
43 float: right;
44 margin-right: 5px;
45}
46
47/* -- sidebar --------------------------------------------------------------- */
48
49div.sphinxsidebarwrapper {
50 padding: 10px 5px 0 10px;
51}
52
53div.sphinxsidebar {
54 float: right;
55 width: 230px;
56 margin-left: -100%;
57 font-size: 90%;
58}
59
60div.sphinxsidebar ul {
61 list-style: none;
62}
63
64div.sphinxsidebar ul ul,
65div.sphinxsidebar ul.want-points {
66 margin-left: 20px;
67 list-style: square;
68}
69
70div.sphinxsidebar ul ul {
71 margin-top: 0;
72 margin-bottom: 0;
73}
74
75div.sphinxsidebar form {
76 margin-top: 10px;
77}
78
79div.sphinxsidebar input {
80 border: 1px solid #98dbcc;
81 font-family: sans-serif;
82 font-size: 1em;
83}
84
85img {
86 border: 0;
87}
88
89/* -- search page ----------------------------------------------------------- */
90
91ul.search {
92 margin: 10px 0 0 20px;
93 padding: 0;
94}
95
96ul.search li {
97 padding: 5px 0 5px 20px;
98 background-image: url(file.png);
99 background-repeat: no-repeat;
100 background-position: 0 7px;
101}
102
103ul.search li a {
104 font-weight: bold;
105}
106
107ul.search li div.context {
108 color: #888;
109 margin: 2px 0 0 30px;
110 text-align: left;
111}
112
113ul.keywordmatches li.goodmatch a {
114 font-weight: bold;
115}
116
117/* -- index page ------------------------------------------------------------ */
118
119table.contentstable {
120 width: 90%;
121}
122
123table.contentstable p.biglink {
124 line-height: 150%;
125}
126
127a.biglink {
128 font-size: 1.3em;
129}
130
131span.linkdescr {
132 font-style: italic;
133 padding-top: 5px;
134 font-size: 90%;
135}
136
137/* -- general index --------------------------------------------------------- */
138
139table.indextable td {
140 text-align: left;
141 vertical-align: top;
142}
143
144table.indextable dl, table.indextable dd {
145 margin-top: 0;
146 margin-bottom: 0;
147}
148
149table.indextable tr.pcap {
150 height: 10px;
151}
152
153table.indextable tr.cap {
154 margin-top: 10px;
155 background-color: #f2f2f2;
156}
157
158img.toggler {
159 margin-right: 3px;
160 margin-top: 3px;
161 cursor: pointer;
162}
163
164/* -- general body styles --------------------------------------------------- */
165
166a.headerlink {
167 visibility: hidden;
168}
169
170h1:hover > a.headerlink,
171h2:hover > a.headerlink,
172h3:hover > a.headerlink,
173h4:hover > a.headerlink,
174h5:hover > a.headerlink,
175h6:hover > a.headerlink,
176dt:hover > a.headerlink {
177 visibility: visible;
178}
179
180div.body p.caption {
181 text-align: inherit;
182}
183
184div.body td {
185 text-align: left;
186}
187
188.field-list ul {
189 padding-left: 1em;
190}
191
192.first {
193 margin-top: 0 !important;
194}
195
196p.rubric {
197 margin-top: 30px;
198 font-weight: bold;
199}
200
201/* -- sidebars -------------------------------------------------------------- */
202
203div.sidebar {
204 margin: 0 0 0.5em 1em;
205 border: 1px solid #ddb;
206 padding: 7px 7px 0 7px;
207 background-color: #ffe;
208 width: 40%;
209 float: right;
210}
211
212p.sidebar-title {
213 font-weight: bold;
214}
215
216/* -- topics ---------------------------------------------------------------- */
217
218div.topic {
219 border: 1px solid #ccc;
220 padding: 7px 7px 0 7px;
221 margin: 10px 0 10px 0;
222}
223
224p.topic-title {
225 font-size: 1.1em;
226 font-weight: bold;
227 margin-top: 10px;
228}
229
230/* -- admonitions ----------------------------------------------------------- */
231
232div.admonition {
233 margin-top: 10px;
234 margin-bottom: 10px;
235 padding: 7px;
236}
237
238div.admonition dt {
239 font-weight: bold;
240}
241
242div.admonition dl {
243 margin-bottom: 0;
244}
245
246p.admonition-title {
247 margin: 0px 10px 5px 0px;
248 font-weight: bold;
249}
250
251div.body p.centered {
252 text-align: center;
253 margin-top: 25px;
254}
255
256/* -- tables ---------------------------------------------------------------- */
257
258table.docutils {
259 border: 0;
260 border-collapse: collapse;
261}
262
263table.docutils td, table.docutils th {
264 padding: 1px 8px 1px 0;
265 border-top: 0;
266 border-left: 0;
267 border-right: 0;
268 border-bottom: 1px solid #aaa;
269}
270
271table.field-list td, table.field-list th {
272 border: 0 !important;
273}
274
275table.footnote td, table.footnote th {
276 border: 0 !important;
277}
278
279th {
280 text-align: left;
281 padding-right: 5px;
282}
283
284/* -- other body styles ----------------------------------------------------- */
285
286dl {
287 margin-bottom: 15px;
288}
289
290dd p {
291 margin-top: 0px;
292}
293
294dd ul, dd table {
295 margin-bottom: 10px;
296}
297
298dd {
299 margin-top: 3px;
300 margin-bottom: 10px;
301 margin-left: 30px;
302}
303
304dt:target, .highlight {
305 background-color: #fbe54e;
306}
307
308dl.glossary dt {
309 font-weight: bold;
310 font-size: 1.1em;
311}
312
313.field-list ul {
314 margin: 0;
315 padding-left: 1em;
316}
317
318.field-list p {
319 margin: 0;
320}
321
322.refcount {
323 color: #060;
324}
325
326.optional {
327 font-size: 1.3em;
328}
329
330.versionmodified {
331 font-style: italic;
332}
333
334.system-message {
335 background-color: #fda;
336 padding: 5px;
337 border: 3px solid red;
338}
339
340.footnote:target {
341 background-color: #ffa
342}
343
344/* -- code displays --------------------------------------------------------- */
345
346pre {
347 overflow: auto;
348}
349
350td.linenos pre {
351 padding: 5px 0px;
352 border: 0;
353 background-color: transparent;
354 color: #aaa;
355}
356
357table.highlighttable {
358 margin-left: 0.5em;
359}
360
361table.highlighttable td {
362 padding: 0 0.5em 0 0.5em;
363}
364
365tt.descname {
366 background-color: transparent;
367 font-weight: bold;
368 font-size: 1.2em;
369}
370
371tt.descclassname {
372 background-color: transparent;
373}
374
375tt.xref, a tt {
376 background-color: transparent;
377 font-weight: bold;
378}
379
380h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
381 background-color: transparent;
382}
383
384/* -- math display ---------------------------------------------------------- */
385
386img.math {
387 vertical-align: middle;
388}
389
390div.math p {
391 text-align: center;
392}
393
394span.eqno {
395 float: right;
396}
397
398/* -- printout stylesheet --------------------------------------------------- */
399
400@media print {
401 div.document,
402 div.documentwrapper,
403 div.bodywrapper {
404 margin: 0;
405 width: 100%;
406 }
407
408 div.sphinxsidebar,
409 div.related,
410 div.footer,
411 #top-link {
412 display: none;
413 }
414}
Note: See TracBrowser for help on using the repository browser.