gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / docutils / writers / html4css1 / html4css1.css @ 798
History | View | Annotate | Download (7.04 KB)
1 |
/*
|
---|---|
2 |
:Author: David Goodger (goodger@python.org)
|
3 |
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
|
4 |
:Copyright: This stylesheet has been placed in the public domain.
|
5 |
|
6 |
Default cascading style sheet for the HTML output of Docutils.
|
7 |
|
8 |
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
9 |
customize this style sheet.
|
10 |
*/
|
11 |
|
12 |
/* used to remove borders from tables and images */
|
13 |
.borderless, table.borderless td, table.borderless th { |
14 |
border: 0 } |
15 |
|
16 |
table.borderless td, table.borderless th { |
17 |
/* Override padding for "table.docutils td" with "! important".
|
18 |
The right padding separates the table cells. */
|
19 |
padding: 0 0.5em 0 0 ! important } |
20 |
|
21 |
.first {
|
22 |
/* Override more specific margin styles with "! important". */
|
23 |
margin-top: 0 ! important } |
24 |
|
25 |
.last, .with-subtitle { |
26 |
margin-bottom: 0 ! important } |
27 |
|
28 |
.hidden {
|
29 |
display: none } |
30 |
|
31 |
.subscript {
|
32 |
vertical-align: sub; |
33 |
font-size: smaller } |
34 |
|
35 |
.superscript {
|
36 |
vertical-align: super; |
37 |
font-size: smaller } |
38 |
|
39 |
a.toc-backref { |
40 |
text-decoration: none ; |
41 |
color: black } |
42 |
|
43 |
blockquote.epigraph { |
44 |
margin: 2em 5em ; } |
45 |
|
46 |
dl.docutils dd { |
47 |
margin-bottom: 0.5em } |
48 |
|
49 |
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] { |
50 |
overflow: hidden; |
51 |
} |
52 |
|
53 |
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
54 |
dl.docutils dt {
|
55 |
font-weight: bold }
|
56 |
*/
|
57 |
|
58 |
div.abstract { |
59 |
margin: 2em 5em } |
60 |
|
61 |
div.abstract p.topic-title { |
62 |
font-weight: bold ; |
63 |
text-align: center } |
64 |
|
65 |
div.admonition, div.attention, div.caution, div.danger, div.error, |
66 |
div.hint, div.important, div.note, div.tip, div.warning { |
67 |
margin: 2em ; |
68 |
border: medium outset ; |
69 |
padding: 1em } |
70 |
|
71 |
div.admonition p.admonition-title, div.hint p.admonition-title, |
72 |
div.important p.admonition-title, div.note p.admonition-title, |
73 |
div.tip p.admonition-title { |
74 |
font-weight: bold ; |
75 |
font-family: sans-serif } |
76 |
|
77 |
div.attention p.admonition-title, div.caution p.admonition-title, |
78 |
div.danger p.admonition-title, div.error p.admonition-title, |
79 |
div.warning p.admonition-title, .code .error { |
80 |
color: red ; |
81 |
font-weight: bold ; |
82 |
font-family: sans-serif } |
83 |
|
84 |
/* Uncomment (and remove this text!) to get reduced vertical space in
|
85 |
compound paragraphs.
|
86 |
div.compound .compound-first, div.compound .compound-middle {
|
87 |
margin-bottom: 0.5em }
|
88 |
|
89 |
div.compound .compound-last, div.compound .compound-middle {
|
90 |
margin-top: 0.5em }
|
91 |
*/
|
92 |
|
93 |
div.dedication { |
94 |
margin: 2em 5em ; |
95 |
text-align: center ; |
96 |
font-style: italic } |
97 |
|
98 |
div.dedication p.topic-title { |
99 |
font-weight: bold ; |
100 |
font-style: normal } |
101 |
|
102 |
div.figure { |
103 |
margin-left: 2em ; |
104 |
margin-right: 2em } |
105 |
|
106 |
div.footer, div.header { |
107 |
clear: both; |
108 |
font-size: smaller } |
109 |
|
110 |
div.line-block { |
111 |
display: block ; |
112 |
margin-top: 1em ; |
113 |
margin-bottom: 1em } |
114 |
|
115 |
div.line-block div.line-block { |
116 |
margin-top: 0 ; |
117 |
margin-bottom: 0 ; |
118 |
margin-left: 1.5em } |
119 |
|
120 |
div.sidebar { |
121 |
margin: 0 0 0.5em 1em ; |
122 |
border: medium outset ; |
123 |
padding: 1em ; |
124 |
background-color: #ffffee ; |
125 |
width: 40% ; |
126 |
float: right ; |
127 |
clear: right } |
128 |
|
129 |
div.sidebar p.rubric { |
130 |
font-family: sans-serif ; |
131 |
font-size: medium } |
132 |
|
133 |
div.system-messages { |
134 |
margin: 5em } |
135 |
|
136 |
div.system-messages h1 { |
137 |
color: red } |
138 |
|
139 |
div.system-message { |
140 |
border: medium outset ; |
141 |
padding: 1em } |
142 |
|
143 |
div.system-message p.system-message-title { |
144 |
color: red ; |
145 |
font-weight: bold } |
146 |
|
147 |
div.topic { |
148 |
margin: 2em } |
149 |
|
150 |
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
151 |
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
152 |
margin-top: 0.4em } |
153 |
|
154 |
h1.title { |
155 |
text-align: center } |
156 |
|
157 |
h2.subtitle { |
158 |
text-align: center } |
159 |
|
160 |
hr.docutils { |
161 |
width: 75% } |
162 |
|
163 |
img.align-left, .figure.align-left, object.align-left, table.align-left { |
164 |
clear: left ; |
165 |
float: left ; |
166 |
margin-right: 1em } |
167 |
|
168 |
img.align-right, .figure.align-right, object.align-right, table.align-right { |
169 |
clear: right ; |
170 |
float: right ; |
171 |
margin-left: 1em } |
172 |
|
173 |
img.align-center, .figure.align-center, object.align-center { |
174 |
display: block; |
175 |
margin-left: auto; |
176 |
margin-right: auto; |
177 |
} |
178 |
|
179 |
table.align-center { |
180 |
margin-left: auto; |
181 |
margin-right: auto; |
182 |
} |
183 |
|
184 |
.align-left {
|
185 |
text-align: left } |
186 |
|
187 |
.align-center {
|
188 |
clear: both ; |
189 |
text-align: center } |
190 |
|
191 |
.align-right {
|
192 |
text-align: right } |
193 |
|
194 |
/* reset inner alignment in figures */
|
195 |
div.align-right { |
196 |
text-align: inherit } |
197 |
|
198 |
/* div.align-center * { */
|
199 |
/* text-align: left } */
|
200 |
|
201 |
.align-top {
|
202 |
vertical-align: top } |
203 |
|
204 |
.align-middle {
|
205 |
vertical-align: middle } |
206 |
|
207 |
.align-bottom {
|
208 |
vertical-align: bottom } |
209 |
|
210 |
ol.simple, ul.simple { |
211 |
margin-bottom: 1em } |
212 |
|
213 |
ol.arabic { |
214 |
list-style: decimal } |
215 |
|
216 |
ol.loweralpha { |
217 |
list-style: lower-alpha } |
218 |
|
219 |
ol.upperalpha { |
220 |
list-style: upper-alpha } |
221 |
|
222 |
ol.lowerroman { |
223 |
list-style: lower-roman } |
224 |
|
225 |
ol.upperroman { |
226 |
list-style: upper-roman } |
227 |
|
228 |
p.attribution { |
229 |
text-align: right ; |
230 |
margin-left: 50% } |
231 |
|
232 |
p.caption { |
233 |
font-style: italic } |
234 |
|
235 |
p.credits { |
236 |
font-style: italic ; |
237 |
font-size: smaller } |
238 |
|
239 |
p.label { |
240 |
white-space: nowrap } |
241 |
|
242 |
p.rubric { |
243 |
font-weight: bold ; |
244 |
font-size: larger ; |
245 |
color: maroon ; |
246 |
text-align: center } |
247 |
|
248 |
p.sidebar-title { |
249 |
font-family: sans-serif ; |
250 |
font-weight: bold ; |
251 |
font-size: larger } |
252 |
|
253 |
p.sidebar-subtitle { |
254 |
font-family: sans-serif ; |
255 |
font-weight: bold } |
256 |
|
257 |
p.topic-title { |
258 |
font-weight: bold } |
259 |
|
260 |
pre.address { |
261 |
margin-bottom: 0 ; |
262 |
margin-top: 0 ; |
263 |
font: inherit } |
264 |
|
265 |
pre.literal-block, pre.doctest-block, pre.math, pre.code { |
266 |
margin-left: 2em ; |
267 |
margin-right: 2em } |
268 |
|
269 |
pre.code .ln { color: grey; } /* line numbers */ |
270 |
pre.code, code { background-color: #eeeeee } |
271 |
pre.code .comment, code .comment { color: #5C6576 } |
272 |
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } |
273 |
pre.code .literal.string, code .literal.string { color: #0C5404 } |
274 |
pre.code .name.builtin, code .name.builtin { color: #352B84 } |
275 |
pre.code .deleted, code .deleted { background-color: #DEB0A1} |
276 |
pre.code .inserted, code .inserted { background-color: #A3D289} |
277 |
|
278 |
span.classifier { |
279 |
font-family: sans-serif ; |
280 |
font-style: oblique } |
281 |
|
282 |
span.classifier-delimiter { |
283 |
font-family: sans-serif ; |
284 |
font-weight: bold } |
285 |
|
286 |
span.interpreted { |
287 |
font-family: sans-serif } |
288 |
|
289 |
span.option { |
290 |
white-space: nowrap } |
291 |
|
292 |
span.pre { |
293 |
white-space: pre } |
294 |
|
295 |
span.problematic { |
296 |
color: red } |
297 |
|
298 |
span.section-subtitle { |
299 |
/* font-size relative to parent (h1..h6 element) */
|
300 |
font-size: 80% } |
301 |
|
302 |
table.citation { |
303 |
border-left: solid 1px gray; |
304 |
margin-left: 1px } |
305 |
|
306 |
table.docinfo { |
307 |
margin: 2em 4em } |
308 |
|
309 |
table.docutils { |
310 |
margin-top: 0.5em ; |
311 |
margin-bottom: 0.5em } |
312 |
|
313 |
table.footnote { |
314 |
border-left: solid 1px black; |
315 |
margin-left: 1px } |
316 |
|
317 |
table.docutils td, table.docutils th, |
318 |
table.docinfo td, table.docinfo th { |
319 |
padding-left: 0.5em ; |
320 |
padding-right: 0.5em ; |
321 |
vertical-align: top } |
322 |
|
323 |
table.docutils th.field-name, table.docinfo th.docinfo-name { |
324 |
font-weight: bold ; |
325 |
text-align: left ; |
326 |
white-space: nowrap ; |
327 |
padding-left: 0 } |
328 |
|
329 |
/* "booktabs" style (no vertical lines) */
|
330 |
table.docutils.booktabs { |
331 |
border: 0px; |
332 |
border-top: 2px solid; |
333 |
border-bottom: 2px solid; |
334 |
border-collapse: collapse; |
335 |
} |
336 |
table.docutils.booktabs * { |
337 |
border: 0px; |
338 |
} |
339 |
table.docutils.booktabs th { |
340 |
border-bottom: thin solid; |
341 |
text-align: left; |
342 |
} |
343 |
|
344 |
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
345 |
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
346 |
font-size: 100% } |
347 |
|
348 |
ul.auto-toc { |
349 |
list-style-type: none } |