root/doc.css

Revision 177:2a7817aea586, 5.0 kB (checked in by Stefan Schwarzer <sschwarzer@…>, 3 years ago)
Copy CSS file for documentation here.
Line 
1/*
2:Author: David Goodger
3:Contact: goodger@users.sourceforge.net
4:Date: $Date: 2005-05-26 12:51:39 +0200 (Thu, 26 May 2005) $
5:Version: $Revision: 3368 $
6:Copyright: This stylesheet has been placed in the public domain.
7
8Default cascading style sheet for the HTML output of Docutils.
9*/
10
11/* "! important" is used here to override other ``margin-top`` and
12   ``margin-bottom`` styles that are later in the stylesheet or
13   more specific.  See http://www.w3.org/TR/CSS1#the-cascade */
14.first {
15  margin-top: 0 ! important }
16
17.last, .with-subtitle {
18  margin-bottom: 0 ! important }
19
20.hidden {
21  display: none }
22
23a.toc-backref {
24  text-decoration: none ;
25  color: black }
26
27blockquote.epigraph {
28  margin: 2em 5em ; }
29
30dl.docutils dd {
31  margin-bottom: 0.5em }
32
33/* Uncomment (and remove this text!) to get bold-faced definition list terms
34dl.docutils dt {
35  font-weight: bold }
36*/
37
38div.abstract {
39  margin: 2em 5em }
40
41div.abstract p.topic-title {
42  font-weight: bold ;
43  text-align: center }
44
45div.admonition, div.attention, div.caution, div.danger, div.error,
46div.hint, div.important, div.note, div.tip, div.warning {
47  margin: 2em ;
48  border: medium outset ;
49  padding: 1em }
50
51div.admonition p.admonition-title, div.hint p.admonition-title,
52div.important p.admonition-title, div.note p.admonition-title,
53div.tip p.admonition-title {
54  font-weight: bold ;
55  font-family: sans-serif }
56
57div.attention p.admonition-title, div.caution p.admonition-title,
58div.danger p.admonition-title, div.error p.admonition-title,
59div.warning p.admonition-title {
60  color: red ;
61  font-weight: bold ;
62  font-family: sans-serif }
63
64/* Uncomment (and remove this text!) to get reduced vertical space in
65   compound paragraphs.
66div.compound .compound-first, div.compound .compound-middle {
67  margin-bottom: 0.5em }
68
69div.compound .compound-last, div.compound .compound-middle {
70  margin-top: 0.5em }
71*/
72
73div.dedication {
74  margin: 2em 5em ;
75  text-align: center ;
76  font-style: italic }
77
78div.dedication p.topic-title {
79  font-weight: bold ;
80  font-style: normal }
81
82div.figure {
83  margin-left: 2em }
84
85div.footer, div.header {
86  font-size: smaller }
87
88div.line-block {
89  display: block ;
90  margin-top: 1em ;
91  margin-bottom: 1em }
92
93div.line-block div.line-block {
94  margin-top: 0 ;
95  margin-bottom: 0 ;
96  margin-left: 1.5em }
97
98div.sidebar {
99  margin-left: 1em ;
100  border: medium outset ;
101  padding: 1em ;
102  background-color: #ffffee ;
103  width: 40% ;
104  float: right ;
105  clear: right }
106
107div.sidebar p.rubric {
108  font-family: sans-serif ;
109  font-size: medium }
110
111div.system-messages {
112  margin: 5em }
113
114div.system-messages h1 {
115  color: red }
116
117div.system-message {
118  border: medium outset ;
119  padding: 1em }
120
121div.system-message p.system-message-title {
122  color: red ;
123  font-weight: bold }
124
125div.topic {
126  margin: 2em }
127
128h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
129h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
130  margin-top: 0.4em }
131
132h1.title {
133  text-align: center }
134
135h2.subtitle {
136  text-align: center }
137
138hr.docutils {
139  width: 75% }
140
141ol.simple, ul.simple {
142  margin-bottom: 1em }
143
144ol.arabic {
145  list-style: decimal }
146
147ol.loweralpha {
148  list-style: lower-alpha }
149
150ol.upperalpha {
151  list-style: upper-alpha }
152
153ol.lowerroman {
154  list-style: lower-roman }
155
156ol.upperroman {
157  list-style: upper-roman }
158
159p.attribution {
160  text-align: right ;
161  margin-left: 50% }
162
163p.caption {
164  font-style: italic }
165
166p.credits {
167  font-style: italic ;
168  font-size: smaller }
169
170p.label {
171  white-space: nowrap }
172
173p.rubric {
174  font-weight: bold ;
175  font-size: larger ;
176  color: maroon ;
177  text-align: center }
178
179p.sidebar-title {
180  font-family: sans-serif ;
181  font-weight: bold ;
182  font-size: larger }
183
184p.sidebar-subtitle {
185  font-family: sans-serif ;
186  font-weight: bold }
187
188p.topic-title {
189  font-weight: bold }
190
191pre.address {
192  margin-bottom: 0 ;
193  margin-top: 0 ;
194  font-family: serif ;
195  font-size: 100% }
196
197pre.line-block {
198  font-family: serif ;
199  font-size: 100% }
200
201pre.literal-block, pre.doctest-block {
202  margin-left: 2em ;
203  margin-right: 2em ;
204  background-color: #eeeeee }
205
206span.classifier {
207  font-family: sans-serif ;
208  font-style: oblique }
209
210span.classifier-delimiter {
211  font-family: sans-serif ;
212  font-weight: bold }
213
214span.interpreted {
215  font-family: sans-serif }
216
217span.option {
218  white-space: nowrap }
219
220span.pre {
221  white-space: pre }
222
223span.problematic {
224  color: red }
225
226span.section-subtitle {
227  /* font-size relative to parent (<h#> element) */
228  font-size: 80% }
229
230table.citation {
231  border-left: solid thin gray }
232
233table.docinfo {
234  margin: 2em 4em }
235
236table.docutils {
237  margin-top: 0.5em ;
238  margin-bottom: 0.5em }
239
240table.footnote {
241  border-left: solid thin black }
242
243table.docutils td, table.docutils th,
244table.docinfo td, table.docinfo th {
245  padding-left: 0.5em ;
246  padding-right: 0.5em ;
247  vertical-align: top }
248
249table.docutils th.field-name, table.docinfo th.docinfo-name {
250  font-weight: bold ;
251  text-align: left ;
252  white-space: nowrap ;
253  padding-left: 0 }
254
255h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
256h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
257  font-size: 100% }
258
259tt.docutils {
260  background-color: #eeeeee }
261
262ul.auto-toc {
263  list-style-type: none }
Note: See TracBrowser for help on using the browser.