Debian Codegraph @

docutils/writers/html4css1/html4css1.css

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