179
|
1 |
/*
|
|
2 |
:Author: David Goodger (goodger@python.org)
|
|
3 |
:Id: $Id: html4css1.css 5196 2007-06-03 20:25:28Z wiemann $
|
|
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 |
a.toc-backref {
|
|
32 |
text-decoration: none ;
|
|
33 |
color: black }
|
|
34 |
|
|
35 |
blockquote.epigraph {
|
|
36 |
margin: 2em 5em ; }
|
|
37 |
|
|
38 |
dl.docutils dd {
|
|
39 |
margin-bottom: 0.5em }
|
|
40 |
|
|
41 |
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
|
42 |
dl.docutils dt {
|
|
43 |
font-weight: bold }
|
|
44 |
*/
|
|
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: 0 0 0.5em 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 |
|
|
217 |
span.classifier {
|
|
218 |
font-family: sans-serif ;
|
|
219 |
font-style: oblique }
|
|
220 |
|
|
221 |
span.classifier-delimiter {
|
|
222 |
font-family: sans-serif ;
|
|
223 |
font-weight: bold }
|
|
224 |
|
|
225 |
span.interpreted {
|
|
226 |
font-family: sans-serif }
|
|
227 |
|
|
228 |
span.option {
|
|
229 |
white-space: nowrap }
|
|
230 |
|
|
231 |
span.pre {
|
|
232 |
white-space: pre }
|
|
233 |
|
|
234 |
span.problematic {
|
|
235 |
color: red }
|
|
236 |
|
|
237 |
span.section-subtitle {
|
|
238 |
/* font-size relative to parent (h1..h6 element) */
|
|
239 |
font-size: 80% }
|
|
240 |
|
|
241 |
table.citation {
|
|
242 |
border-left: solid 1px gray;
|
|
243 |
margin-left: 1px }
|
|
244 |
|
|
245 |
table.docinfo {
|
|
246 |
margin: 2em 4em }
|
|
247 |
|
|
248 |
table.docutils {
|
|
249 |
margin-top: 0.5em ;
|
|
250 |
margin-bottom: 0.5em }
|
|
251 |
|
|
252 |
table.footnote {
|
|
253 |
border-left: solid 1px black;
|
|
254 |
margin-left: 1px }
|
|
255 |
|
|
256 |
table.docutils td, table.docutils th,
|
|
257 |
table.docinfo td, table.docinfo th {
|
|
258 |
padding-left: 0.5em ;
|
|
259 |
padding-right: 0.5em ;
|
|
260 |
vertical-align: top }
|
|
261 |
|
|
262 |
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
|
263 |
font-weight: bold ;
|
|
264 |
text-align: left ;
|
|
265 |
white-space: nowrap ;
|
|
266 |
padding-left: 0 }
|
|
267 |
|
|
268 |
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
|
269 |
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
|
270 |
font-size: 100% }
|
|
271 |
|
|
272 |
ul.auto-toc {
|
|
273 |
list-style-type: none }
|