Fix [ 3527842 ].
[docutils.git] / test / functional / input / data / html4css1.css
blobbb82b3b38cbb7919dc40fd9baa4d25b929c36f06
1 /*
2 :Author: David Goodger (goodger@python.org)
3 :Id: $Id$
4 :Copyright: This stylesheet has been placed in the public domain.
6 Default cascading style sheet for the HTML output of Docutils.
8 See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
9 customize this style sheet.
12 /* used to remove borders from tables and images */
13 .borderless, table.borderless td, table.borderless th {
14 border: 0 }
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 }
21 .first {
22 /* Override more specific margin styles with "! important". */
23 margin-top: 0 ! important }
25 .last, .with-subtitle {
26 margin-bottom: 0 ! important }
28 .hidden {
29 display: none }
31 a.toc-backref {
32 text-decoration: none ;
33 color: black }
35 blockquote.epigraph {
36 margin: 2em 5em ; }
38 dl.docutils dd {
39 margin-bottom: 0.5em }
41 object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
42 overflow: hidden;
45 /* Uncomment (and remove this text!) to get bold-faced definition list terms
46 dl.docutils dt {
47 font-weight: bold }
50 div.abstract {
51 margin: 2em 5em }
53 div.abstract p.topic-title {
54 font-weight: bold ;
55 text-align: center }
57 div.admonition, div.attention, div.caution, div.danger, div.error,
58 div.hint, div.important, div.note, div.tip, div.warning {
59 margin: 2em ;
60 border: medium outset ;
61 padding: 1em }
63 div.admonition p.admonition-title, div.hint p.admonition-title,
64 div.important p.admonition-title, div.note p.admonition-title,
65 div.tip p.admonition-title {
66 font-weight: bold ;
67 font-family: sans-serif }
69 div.attention p.admonition-title, div.caution p.admonition-title,
70 div.danger p.admonition-title, div.error p.admonition-title,
71 div.warning p.admonition-title {
72 color: red ;
73 font-weight: bold ;
74 font-family: sans-serif }
76 /* Uncomment (and remove this text!) to get reduced vertical space in
77 compound paragraphs.
78 div.compound .compound-first, div.compound .compound-middle {
79 margin-bottom: 0.5em }
81 div.compound .compound-last, div.compound .compound-middle {
82 margin-top: 0.5em }
85 div.dedication {
86 margin: 2em 5em ;
87 text-align: center ;
88 font-style: italic }
90 div.dedication p.topic-title {
91 font-weight: bold ;
92 font-style: normal }
94 div.figure {
95 margin-left: 2em ;
96 margin-right: 2em }
98 div.footer, div.header {
99 clear: both;
100 font-size: smaller }
102 div.line-block {
103 display: block ;
104 margin-top: 1em ;
105 margin-bottom: 1em }
107 div.line-block div.line-block {
108 margin-top: 0 ;
109 margin-bottom: 0 ;
110 margin-left: 1.5em }
112 div.sidebar {
113 margin: 0 0 0.5em 1em ;
114 border: medium outset ;
115 padding: 1em ;
116 background-color: #ffffee ;
117 width: 40% ;
118 float: right ;
119 clear: right }
121 div.sidebar p.rubric {
122 font-family: sans-serif ;
123 font-size: medium }
125 div.system-messages {
126 margin: 5em }
128 div.system-messages h1 {
129 color: red }
131 div.system-message {
132 border: medium outset ;
133 padding: 1em }
135 div.system-message p.system-message-title {
136 color: red ;
137 font-weight: bold }
139 div.topic {
140 margin: 2em }
142 h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
143 h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
144 margin-top: 0.4em }
146 h1.title {
147 text-align: center }
149 h2.subtitle {
150 text-align: center }
152 hr.docutils {
153 width: 75% }
155 img.align-left, .figure.align-left, object.align-left {
156 clear: left ;
157 float: left ;
158 margin-right: 1em }
160 img.align-right, .figure.align-right, object.align-right {
161 clear: right ;
162 float: right ;
163 margin-left: 1em }
165 img.align-center, .figure.align-center, object.align-center {
166 display: block;
167 margin-left: auto;
168 margin-right: auto;
171 .align-left {
172 text-align: left }
174 .align-center {
175 clear: both ;
176 text-align: center }
178 .align-right {
179 text-align: right }
181 /* reset inner alignment in figures */
182 div.align-right {
183 text-align: inherit }
185 /* div.align-center * { */
186 /* text-align: left } */
188 ol.simple, ul.simple {
189 margin-bottom: 1em }
191 ol.arabic {
192 list-style: decimal }
194 ol.loweralpha {
195 list-style: lower-alpha }
197 ol.upperalpha {
198 list-style: upper-alpha }
200 ol.lowerroman {
201 list-style: lower-roman }
203 ol.upperroman {
204 list-style: upper-roman }
206 p.attribution {
207 text-align: right ;
208 margin-left: 50% }
210 p.caption {
211 font-style: italic }
213 p.credits {
214 font-style: italic ;
215 font-size: smaller }
217 p.label {
218 white-space: nowrap }
220 p.rubric {
221 font-weight: bold ;
222 font-size: larger ;
223 color: maroon ;
224 text-align: center }
226 p.sidebar-title {
227 font-family: sans-serif ;
228 font-weight: bold ;
229 font-size: larger }
231 p.sidebar-subtitle {
232 font-family: sans-serif ;
233 font-weight: bold }
235 p.topic-title {
236 font-weight: bold }
238 pre.address {
239 margin-bottom: 0 ;
240 margin-top: 0 ;
241 font: inherit }
243 pre.literal-block, pre.doctest-block, pre.math, pre.code {
244 margin-left: 2em ;
245 margin-right: 2em }
247 pre.code .ln { /* line numbers */
248 color: grey;
251 .code {
252 background-color: #eeeeee
255 span.classifier {
256 font-family: sans-serif ;
257 font-style: oblique }
259 span.classifier-delimiter {
260 font-family: sans-serif ;
261 font-weight: bold }
263 span.interpreted {
264 font-family: sans-serif }
266 span.option {
267 white-space: nowrap }
269 span.pre {
270 white-space: pre }
272 span.problematic {
273 color: red }
275 span.section-subtitle {
276 /* font-size relative to parent (h1..h6 element) */
277 font-size: 80% }
279 table.citation {
280 border-left: solid 1px gray;
281 margin-left: 1px }
283 table.docinfo {
284 margin: 2em 4em }
286 table.docutils {
287 margin-top: 0.5em ;
288 margin-bottom: 0.5em }
290 table.footnote {
291 border-left: solid 1px black;
292 margin-left: 1px }
294 table.docutils td, table.docutils th,
295 table.docinfo td, table.docinfo th {
296 padding-left: 0.5em ;
297 padding-right: 0.5em ;
298 vertical-align: top }
300 table.docutils th.field-name, table.docinfo th.docinfo-name {
301 font-weight: bold ;
302 text-align: left ;
303 white-space: nowrap ;
304 padding-left: 0 }
306 h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
307 h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
308 font-size: 100% }
310 ul.auto-toc {
311 list-style-type: none }