Website: add template and basic stylesheet with menu. Update buildhtml.py (and theref...
[docutils.git] / sandbox / gitpull / web_stylesheet_and_menu / docutils / writers / pep_html / pep.css
blobd75dff1d89d192a4d1c274b799e49a81bdfec1d0
1 /*
2 :Author: David Goodger
3 :Contact: goodger@python.org
4 :date: $Date$
5 :version: $Revision$
6 :copyright: This stylesheet has been placed in the public domain.
8 Default cascading style sheet for the PEP HTML output of Docutils.
9 */
11 /* "! important" is used here to override other ``margin-top`` and
12 ``margin-bottom`` styles that are later in the stylesheet or
13 more specific. See http://www.w3.org/TR/CSS1#the-cascade */
14 .first {
15 margin-top: 0 ! important }
17 .last, .with-subtitle {
18 margin-bottom: 0 ! important }
20 .hidden {
21 display: none }
23 .navigation {
24 width: 100% ;
25 background: #99ccff ;
26 margin-top: 0px ;
27 margin-bottom: 0px }
29 .navigation .navicon {
30 width: 150px ;
31 height: 35px }
33 .navigation .textlinks {
34 padding-left: 1em ;
35 text-align: left }
37 .navigation td, .navigation th {
38 padding-left: 0em ;
39 padding-right: 0em ;
40 vertical-align: middle }
42 .rfc2822 {
43 margin-top: 0.5em ;
44 margin-left: 0.5em ;
45 margin-right: 0.5em ;
46 margin-bottom: 0em }
48 .rfc2822 td {
49 text-align: left }
51 .rfc2822 th.field-name {
52 text-align: right ;
53 font-family: sans-serif ;
54 padding-right: 0.5em ;
55 font-weight: bold ;
56 margin-bottom: 0em }
58 a.toc-backref {
59 text-decoration: none ;
60 color: black }
62 blockquote.epigraph {
63 margin: 2em 5em ; }
65 body {
66 margin: 0px ;
67 margin-bottom: 1em ;
68 padding: 0px }
70 dl.docutils dd {
71 margin-bottom: 0.5em }
73 div.section {
74 margin-left: 1em ;
75 margin-right: 1em ;
76 margin-bottom: 1.5em }
78 div.section div.section {
79 margin-left: 0em ;
80 margin-right: 0em ;
81 margin-top: 1.5em }
83 div.abstract {
84 margin: 2em 5em }
86 div.abstract p.topic-title {
87 font-weight: bold ;
88 text-align: center }
90 div.admonition, div.attention, div.caution, div.danger, div.error,
91 div.hint, div.important, div.note, div.tip, div.warning {
92 margin: 2em ;
93 border: medium outset ;
94 padding: 1em }
96 div.admonition p.admonition-title, div.hint p.admonition-title,
97 div.important p.admonition-title, div.note p.admonition-title,
98 div.tip p.admonition-title {
99 font-weight: bold ;
100 font-family: sans-serif }
102 div.attention p.admonition-title, div.caution p.admonition-title,
103 div.danger p.admonition-title, div.error p.admonition-title,
104 div.warning p.admonition-title {
105 color: red ;
106 font-weight: bold ;
107 font-family: sans-serif }
109 /* Uncomment (and remove this text!) to get reduced vertical space in
110 compound paragraphs.
111 div.compound .compound-first, div.compound .compound-middle {
112 margin-bottom: 0.5em }
114 div.compound .compound-last, div.compound .compound-middle {
115 margin-top: 0.5em }
118 div.dedication {
119 margin: 2em 5em ;
120 text-align: center ;
121 font-style: italic }
123 div.dedication p.topic-title {
124 font-weight: bold ;
125 font-style: normal }
127 div.figure {
128 margin-left: 2em ;
129 margin-right: 2em }
131 div.footer, div.header {
132 clear: both;
133 font-size: smaller }
135 div.footer {
136 margin-left: 1em ;
137 margin-right: 1em }
139 div.line-block {
140 display: block ;
141 margin-top: 1em ;
142 margin-bottom: 1em }
144 div.line-block div.line-block {
145 margin-top: 0 ;
146 margin-bottom: 0 ;
147 margin-left: 1.5em }
149 div.sidebar {
150 margin-left: 1em ;
151 border: medium outset ;
152 padding: 1em ;
153 background-color: #ffffee ;
154 width: 40% ;
155 float: right ;
156 clear: right }
158 div.sidebar p.rubric {
159 font-family: sans-serif ;
160 font-size: medium }
162 div.system-messages {
163 margin: 5em }
165 div.system-messages h1 {
166 color: red }
168 div.system-message {
169 border: medium outset ;
170 padding: 1em }
172 div.system-message p.system-message-title {
173 color: red ;
174 font-weight: bold }
176 div.topic {
177 margin: 2em }
179 h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
180 h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
181 margin-top: 0.4em }
183 h1 {
184 font-family: sans-serif ;
185 font-size: large }
187 h2 {
188 font-family: sans-serif ;
189 font-size: medium }
191 h3 {
192 font-family: sans-serif ;
193 font-size: small }
195 h4 {
196 font-family: sans-serif ;
197 font-style: italic ;
198 font-size: small }
200 h5 {
201 font-family: sans-serif;
202 font-size: x-small }
204 h6 {
205 font-family: sans-serif;
206 font-style: italic ;
207 font-size: x-small }
209 hr.docutils {
210 width: 75% }
212 img.align-left {
213 clear: left }
215 img.align-right {
216 clear: right }
218 img.borderless {
219 border: 0 }
221 ol.simple, ul.simple {
222 margin-bottom: 1em }
224 ol.arabic {
225 list-style: decimal }
227 ol.loweralpha {
228 list-style: lower-alpha }
230 ol.upperalpha {
231 list-style: upper-alpha }
233 ol.lowerroman {
234 list-style: lower-roman }
236 ol.upperroman {
237 list-style: upper-roman }
239 p.attribution {
240 text-align: right ;
241 margin-left: 50% }
243 p.caption {
244 font-style: italic }
246 p.credits {
247 font-style: italic ;
248 font-size: smaller }
250 p.label {
251 white-space: nowrap }
253 p.rubric {
254 font-weight: bold ;
255 font-size: larger ;
256 color: maroon ;
257 text-align: center }
259 p.sidebar-title {
260 font-family: sans-serif ;
261 font-weight: bold ;
262 font-size: larger }
264 p.sidebar-subtitle {
265 font-family: sans-serif ;
266 font-weight: bold }
268 p.topic-title {
269 font-family: sans-serif ;
270 font-weight: bold }
272 pre.address {
273 margin-bottom: 0 ;
274 margin-top: 0 ;
275 font-family: serif ;
276 font-size: 100% }
278 pre.literal-block, pre.doctest-block {
279 margin-left: 2em ;
280 margin-right: 2em }
282 span.classifier {
283 font-family: sans-serif ;
284 font-style: oblique }
286 span.classifier-delimiter {
287 font-family: sans-serif ;
288 font-weight: bold }
290 span.interpreted {
291 font-family: sans-serif }
293 span.option {
294 white-space: nowrap }
296 span.option-argument {
297 font-style: italic }
299 span.pre {
300 white-space: pre }
302 span.problematic {
303 color: red }
305 span.section-subtitle {
306 /* font-size relative to parent (h1..h6 element) */
307 font-size: 80% }
309 table.citation {
310 border-left: solid 1px gray;
311 margin-left: 1px }
313 table.docinfo {
314 margin: 2em 4em }
316 table.docutils {
317 margin-top: 0.5em ;
318 margin-bottom: 0.5em }
320 table.footnote {
321 border-left: solid 1px black;
322 margin-left: 1px }
324 table.docutils td, table.docutils th,
325 table.docinfo td, table.docinfo th {
326 padding-left: 0.5em ;
327 padding-right: 0.5em ;
328 vertical-align: top }
330 td.num {
331 text-align: right }
333 th.field-name {
334 font-weight: bold ;
335 text-align: left ;
336 white-space: nowrap ;
337 padding-left: 0 }
339 h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
340 h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
341 font-size: 100% }
343 ul.auto-toc {
344 list-style-type: none }