Do not add missing code-block separators with doctest_run
[pylit.git] / rstdocs / html4css1.css
blobb14bc4e1d087ee6b1b2b30710885f29cff8ba140
1 /*
2 :Author: David Goodger
3 :Contact: goodger@users.sourceforge.net
4 :Date: $Date$
5 :Revision: $Revision$
6 :Copyright: This stylesheet has been placed in the public domain.
8 Default cascading style sheet for the HTML output of Docutils.
10 See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
11 customize this style sheet.
14 /* used to remove borders from tables and images */
15 .borderless, table.borderless td, table.borderless th {
16 border: 0 }
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 }
23 .first {
24 /* Override more specific margin styles with "! important". */
25 margin-top: 0 ! important }
27 .last, .with-subtitle {
28 margin-bottom: 0 ! important }
30 .hidden {
31 display: none }
33 a.toc-backref {
34 text-decoration: none ;
35 color: black }
37 blockquote.epigraph {
38 margin: 2em 5em ; }
40 dl.docutils dd {
41 margin-bottom: 0.5em }
43 /* Uncomment (and remove this text!) to get bold-faced definition list terms
44 dl.docutils dt {
45 font-weight: bold }
48 div.abstract {
49 margin: 2em 5em }
51 div.abstract p.topic-title {
52 font-weight: bold ;
53 text-align: center }
55 div.admonition, div.attention, div.caution, div.danger, div.error,
56 div.hint, div.important, div.note, div.tip, div.warning {
57 margin: 2em ;
58 border: medium outset ;
59 padding: 1em }
61 div.admonition p.admonition-title, div.hint p.admonition-title,
62 div.important p.admonition-title, div.note p.admonition-title,
63 div.tip p.admonition-title {
64 font-weight: bold ;
65 font-family: sans-serif }
67 div.attention p.admonition-title, div.caution p.admonition-title,
68 div.danger p.admonition-title, div.error p.admonition-title,
69 div.warning p.admonition-title {
70 color: red ;
71 font-weight: bold ;
72 font-family: sans-serif }
74 /* Uncomment (and remove this text!) to get reduced vertical space in
75 compound paragraphs.
76 div.compound .compound-first, div.compound .compound-middle {
77 margin-bottom: 0.5em }
79 div.compound .compound-last, div.compound .compound-middle {
80 margin-top: 0.5em }
83 div.dedication {
84 margin: 2em 5em ;
85 text-align: center ;
86 font-style: italic }
88 div.dedication p.topic-title {
89 font-weight: bold ;
90 font-style: normal }
92 div.figure {
93 margin-left: 2em ;
94 margin-right: 2em }
96 div.footer, div.header {
97 clear: both;
98 font-size: smaller }
100 div.line-block {
101 display: block ;
102 margin-top: 1em ;
103 margin-bottom: 1em }
105 div.line-block div.line-block {
106 margin-top: 0 ;
107 margin-bottom: 0 ;
108 margin-left: 1.5em }
110 div.sidebar {
111 margin-left: 1em ;
112 border: medium outset ;
113 padding: 1em ;
114 background-color: #ffffee ;
115 width: 40% ;
116 float: right ;
117 clear: right }
119 div.sidebar p.rubric {
120 font-family: sans-serif ;
121 font-size: medium }
123 div.system-messages {
124 margin: 5em }
126 div.system-messages h1 {
127 color: red }
129 div.system-message {
130 border: medium outset ;
131 padding: 1em }
133 div.system-message p.system-message-title {
134 color: red ;
135 font-weight: bold }
137 div.topic {
138 margin: 2em }
140 h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
141 h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
142 margin-top: 0.4em }
144 h1.title {
145 text-align: center }
147 h2.subtitle {
148 text-align: center }
150 hr.docutils {
151 width: 75% }
153 img.align-left {
154 clear: left }
156 img.align-right {
157 clear: right }
159 ol.simple, ul.simple {
160 margin-bottom: 1em }
162 ol.arabic {
163 list-style: decimal }
165 ol.loweralpha {
166 list-style: lower-alpha }
168 ol.upperalpha {
169 list-style: upper-alpha }
171 ol.lowerroman {
172 list-style: lower-roman }
174 ol.upperroman {
175 list-style: upper-roman }
177 p.attribution {
178 text-align: right ;
179 margin-left: 50% }
181 p.caption {
182 font-style: italic }
184 p.credits {
185 font-style: italic ;
186 font-size: smaller }
188 p.label {
189 white-space: nowrap }
191 p.rubric {
192 font-weight: bold ;
193 font-size: larger ;
194 color: maroon ;
195 text-align: center }
197 p.sidebar-title {
198 font-family: sans-serif ;
199 font-weight: bold ;
200 font-size: larger }
202 p.sidebar-subtitle {
203 font-family: sans-serif ;
204 font-weight: bold }
206 p.topic-title {
207 font-weight: bold }
209 pre.address {
210 margin-bottom: 0 ;
211 margin-top: 0 ;
212 font-family: serif ;
213 font-size: 100% }
215 pre.literal-block, pre.doctest-block {
216 margin-left: 2em ;
217 margin-right: 2em ;
218 background-color: #eeeeee
221 span.classifier {
222 font-family: sans-serif ;
223 font-style: oblique }
225 span.classifier-delimiter {
226 font-family: sans-serif ;
227 font-weight: bold }
229 span.interpreted {
230 font-family: sans-serif }
232 span.option {
233 white-space: nowrap }
235 span.pre {
236 white-space: pre }
238 span.problematic {
239 color: red }
241 span.section-subtitle {
242 /* font-size relative to parent (h1..h6 element) */
243 font-size: 80% }
245 table.citation {
246 border-left: solid 1px gray;
247 margin-left: 1px }
249 table.docinfo {
250 margin: 2em 4em }
252 table.docutils {
253 margin-top: 0.5em ;
254 margin-bottom: 0.5em }
256 table.footnote {
257 border-left: solid 1px black;
258 margin-left: 1px }
260 table.docutils td, table.docutils th,
261 table.docinfo td, table.docinfo th {
262 padding-left: 0.5em ;
263 padding-right: 0.5em ;
264 vertical-align: top }
266 table.docutils th.field-name, table.docinfo th.docinfo-name {
267 font-weight: bold ;
268 text-align: left ;
269 white-space: nowrap ;
270 padding-left: 0 }
272 h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
273 h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
274 font-size: 100% }
276 tt.docutils {
277 background-color: #eeeeee }
279 ul.auto-toc {
280 list-style-type: none }