source: documentation/coding_standards/Docstring Conventions, GA version_files/pep.css @ 2434

Last change on this file since 2434 was 1982, checked in by ole, 19 years ago

Added style guide for Docstrings

File size: 6.3 KB
Line 
1/*
2:Author: David Goodger
3:Contact: goodger@users.sourceforge.net
4:date: $Date: 2005/09/18 15:11:03 $
5:version: $Revision: 1.6 $
6:copyright: This stylesheet has been placed in the public domain.
7
8Default cascading style sheet for the PEP 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
23.navigation {
24  width: 100% ;
25  background: #99ccff ;
26  margin-top: 0px ;
27  margin-bottom: 0px }
28
29.navigation .navicon {
30  width: 150px ;
31  height: 35px }
32
33.navigation .textlinks {
34  padding-left: 1em ;
35  text-align: left }
36
37.navigation td, .navigation th {
38  padding-left: 0em ;
39  padding-right: 0em ;
40  vertical-align: middle }
41
42.rfc2822 {
43  margin-top: 0.5em ;
44  margin-left: 0.5em ;
45  margin-right: 0.5em ;
46  margin-bottom: 0em }
47
48.rfc2822 td {
49  text-align: left }
50
51.rfc2822 th.field-name {
52  text-align: right ;
53  font-family: sans-serif ;
54  padding-right: 0.5em ;
55  font-weight: bold ;
56  margin-bottom: 0em }
57
58a.toc-backref {
59  text-decoration: none ;
60  color: black }
61
62blockquote.epigraph {
63  margin: 2em 5em ; }
64
65body {
66  margin: 0px ;
67  margin-bottom: 1em ;
68  padding: 0px }
69
70dl.docutils dd {
71  margin-bottom: 0.5em }
72
73div.section {
74  margin-left: 1em ;
75  margin-right: 1em ;
76  margin-bottom: 1.5em }
77
78div.section div.section {
79  margin-left: 0em ;
80  margin-right: 0em ;
81  margin-top: 1.5em }
82
83div.abstract {
84  margin: 2em 5em }
85
86div.abstract p.topic-title {
87  font-weight: bold ;
88  text-align: center }
89
90div.admonition, div.attention, div.caution, div.danger, div.error,
91div.hint, div.important, div.note, div.tip, div.warning {
92  margin: 2em ;
93  border: medium outset ;
94  padding: 1em }
95
96div.admonition p.admonition-title, div.hint p.admonition-title,
97div.important p.admonition-title, div.note p.admonition-title,
98div.tip p.admonition-title {
99  font-weight: bold ;
100  font-family: sans-serif }
101
102div.attention p.admonition-title, div.caution p.admonition-title,
103div.danger p.admonition-title, div.error p.admonition-title,
104div.warning p.admonition-title {
105  color: red ;
106  font-weight: bold ;
107  font-family: sans-serif }
108
109/* Uncomment (and remove this text!) to get reduced vertical space in
110   compound paragraphs.
111div.compound .compound-first, div.compound .compound-middle {
112  margin-bottom: 0.5em }
113
114div.compound .compound-last, div.compound .compound-middle {
115  margin-top: 0.5em }
116*/
117
118div.dedication {
119  margin: 2em 5em ;
120  text-align: center ;
121  font-style: italic }
122
123div.dedication p.topic-title {
124  font-weight: bold ;
125  font-style: normal }
126
127div.figure {
128  margin-left: 2em }
129
130div.footer, div.header {
131  clear: both;
132  font-size: smaller }
133
134div.footer {
135  margin-left: 1em ;
136  margin-right: 1em }
137
138div.line-block {
139  display: block ;
140  margin-top: 1em ;
141  margin-bottom: 1em }
142
143div.line-block div.line-block {
144  margin-top: 0 ;
145  margin-bottom: 0 ;
146  margin-left: 1.5em }
147
148div.sidebar {
149  margin-left: 1em ;
150  border: medium outset ;
151  padding: 1em ;
152  background-color: #ffffee ;
153  width: 40% ;
154  float: right ;
155  clear: right }
156
157div.sidebar p.rubric {
158  font-family: sans-serif ;
159  font-size: medium }
160
161div.system-messages {
162  margin: 5em }
163
164div.system-messages h1 {
165  color: red }
166
167div.system-message {
168  border: medium outset ;
169  padding: 1em }
170
171div.system-message p.system-message-title {
172  color: red ;
173  font-weight: bold }
174
175div.topic {
176  margin: 2em }
177
178h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
179h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
180  margin-top: 0.4em }
181
182h1 {
183  font-family: sans-serif ;
184  font-size: large }
185
186h2 {
187  font-family: sans-serif ;
188  font-size: medium }
189
190h3 {
191  font-family: sans-serif ;
192  font-size: small }
193
194h4 {
195  font-family: sans-serif ;
196  font-style: italic ;
197  font-size: small }
198
199h5 {
200  font-family: sans-serif;
201  font-size: x-small }
202
203h6 {
204  font-family: sans-serif;
205  font-style: italic ;
206  font-size: x-small }
207
208hr.docutils {
209  width: 75% }
210
211img.align-left {
212  clear: left }
213
214img.align-right {
215  clear: right }
216
217img.borderless {
218  border: 0 }
219
220ol.simple, ul.simple {
221  margin-bottom: 1em }
222
223ol.arabic {
224  list-style: decimal }
225
226ol.loweralpha {
227  list-style: lower-alpha }
228
229ol.upperalpha {
230  list-style: upper-alpha }
231
232ol.lowerroman {
233  list-style: lower-roman }
234
235ol.upperroman {
236  list-style: upper-roman }
237
238p.attribution {
239  text-align: right ;
240  margin-left: 50% }
241
242p.caption {
243  font-style: italic }
244
245p.credits {
246  font-style: italic ;
247  font-size: smaller }
248
249p.label {
250  white-space: nowrap }
251
252p.rubric {
253  font-weight: bold ;
254  font-size: larger ;
255  color: maroon ;
256  text-align: center }
257
258p.sidebar-title {
259  font-family: sans-serif ;
260  font-weight: bold ;
261  font-size: larger }
262
263p.sidebar-subtitle {
264  font-family: sans-serif ;
265  font-weight: bold }
266
267p.topic-title {
268  font-family: sans-serif ;
269  font-weight: bold }
270
271pre.address {
272  margin-bottom: 0 ;
273  margin-top: 0 ;
274  font-family: serif ;
275  font-size: 100% }
276
277pre.line-block {
278  font-family: serif ;
279  font-size: 100% }
280
281pre.literal-block, pre.doctest-block {
282  margin-left: 2em ;
283  margin-right: 2em ;
284  background-color: #eeeeee }
285
286span.classifier {
287  font-family: sans-serif ;
288  font-style: oblique }
289
290span.classifier-delimiter {
291  font-family: sans-serif ;
292  font-weight: bold }
293
294span.interpreted {
295  font-family: sans-serif }
296
297span.option {
298  white-space: nowrap }
299
300span.option-argument {
301  font-style: italic }
302
303span.pre {
304  white-space: pre }
305
306span.problematic {
307  color: red }
308
309span.section-subtitle {
310  /* font-size relative to parent (h1..h6 element) */
311  font-size: 80% }
312
313table.citation {
314  border-left: solid thin gray }
315
316table.docinfo {
317  margin: 2em 4em }
318
319table.docutils {
320  margin-top: 0.5em ;
321  margin-bottom: 0.5em }
322
323table.footnote {
324  border-left: solid thin black }
325
326table.docutils td, table.docutils th,
327table.docinfo td, table.docinfo th {
328  padding-left: 0.5em ;
329  padding-right: 0.5em ;
330  vertical-align: top }
331
332td.num {
333  text-align: right }
334
335th.field-name {
336  font-weight: bold ;
337  text-align: left ;
338  white-space: nowrap ;
339  padding-left: 0 }
340
341h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
342h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
343  font-size: 100% }
344
345tt.docutils {
346  background-color: #eeeeee }
347
348ul.auto-toc {
349  list-style-type: none }
Note: See TracBrowser for help on using the repository browser.