2 :Author: David Goodger (goodger@python.org)
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 {
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
}
22 /* Override more specific margin styles with "! important". */
23 margin-top: 0 ! important
}
25 .last, .with-subtitle {
26 margin-bottom: 0 ! important
}
32 text-decoration: none
;
39 margin-bottom: 0.5em }
41 object
[type
="image/svg+xml"], object
[type
="application/x-shockwave-flash"] {
45 /* Uncomment (and remove this text!) to get bold-faced definition list terms
53 div
.abstract p
.topic-title
{
57 div
.admonition
, div
.attention
, div
.caution
, div
.danger
, div
.error
,
58 div
.hint
, div
.important
, div
.note
, div
.tip
, div
.warning
{
60 border: medium outset
;
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
{
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
{
74 font-family: sans-serif
}
76 /* Uncomment (and remove this text!) to get reduced vertical space in
78 div.compound .compound-first, div.compound .compound-middle {
79 margin-bottom: 0.5em }
81 div.compound .compound-last, div.compound .compound-middle {
90 div
.dedication p
.topic-title
{
98 div
.footer
, div
.header
{
107 div
.line-block div
.line-block
{
113 margin: 0 0 0.5em 1em ;
114 border: medium outset
;
116 background-color: #ffffee ;
121 div
.sidebar p
.rubric
{
122 font-family: sans-serif
;
125 div
.system-messages
{
128 div
.system-messages h1
{
132 border: medium outset
;
135 div
.system-message p
.system-message-title
{
142 h1
.section-subtitle
, h2
.section-subtitle
, h3
.section-subtitle
,
143 h4
.section-subtitle
, h5
.section-subtitle
, h6
.section-subtitle
{
155 img
.align-left
, .figure
.align-left
, object
.align-left
{
160 img
.align-right
, .figure
.align-right
, object
.align-right
{
165 img
.align-center
, .figure
.align-center
, object
.align-center
{
181 /* reset inner alignment in figures */
183 text-align: inherit
}
185 /* div.align-center * { */
186 /* text-align: left } */
188 ol
.simple
, ul
.simple
{
192 list-style: decimal
}
195 list-style: lower-alpha
}
198 list-style: upper-alpha
}
201 list-style: lower-roman
}
204 list-style: upper-roman
}
218 white-space: nowrap
}
227 font-family: sans-serif
;
232 font-family: sans-serif
;
243 pre
.literal-block
, pre
.doctest-block
, pre
.math
, pre
.code
{
247 pre
.code
.ln
{ /* line numbers */
252 background-color: #eeeeee
256 font-family: sans-serif
;
257 font-style: oblique
}
259 span
.classifier-delimiter
{
260 font-family: sans-serif
;
264 font-family: sans-serif
}
267 white-space: nowrap
}
275 span
.section-subtitle
{
276 /* font-size relative to parent (h1..h6 element) */
280 border-left: solid
1px gray
;
288 margin-bottom: 0.5em }
291 border-left: solid
1px black
;
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
{
303 white-space: nowrap
;
306 h1 tt
.docutils
, h2 tt
.docutils
, h3 tt
.docutils
,
307 h4 tt
.docutils
, h5 tt
.docutils
, h6 tt
.docutils
{
311 list-style-type: none
}