source: trunk/docs/_static/basic.css @ 315

Last change on this file since 315 was 231, checked in by nbozon, 13 years ago

ZOO Docs Final Sphinx CSS polish

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

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png