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