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