| 1 | /* |
|---|
| 2 | :Author: David Goodger |
|---|
| 3 | :Contact: goodger@users.sourceforge.net |
|---|
| 4 | :date: $Date: 2005-12-09 05:21:34 +0100 (Fri, 09 Dec 2005) $ |
|---|
| 5 | :version: $Revision: 4163 $ |
|---|
| 6 | :copyright: This stylesheet has been placed in the public domain. |
|---|
| 7 | |
|---|
| 8 | Default cascading style sheet for the PEP HTML output of Docutils. |
|---|
| 9 | */ |
|---|
| 10 | |
|---|
| 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 } |
|---|
| 16 | |
|---|
| 17 | .last, .with-subtitle { |
|---|
| 18 | margin-bottom: 0 ! important } |
|---|
| 19 | |
|---|
| 20 | .hidden { |
|---|
| 21 | display: none } |
|---|
| 22 | |
|---|
| 23 | .navigation { |
|---|
| 24 | width: 100% ; |
|---|
| 25 | background: #99ccff ; |
|---|
| 26 | margin-top: 0px ; |
|---|
| 27 | margin-bottom: 0px } |
|---|
| 28 | |
|---|
| 29 | .navigation .navicon { |
|---|
| 30 | width: 150px ; |
|---|
| 31 | height: 35px } |
|---|
| 32 | |
|---|
| 33 | .navigation .textlinks { |
|---|
| 34 | padding-left: 1em ; |
|---|
| 35 | text-align: left } |
|---|
| 36 | |
|---|
| 37 | .navigation td, .navigation th { |
|---|
| 38 | padding-left: 0em ; |
|---|
| 39 | padding-right: 0em ; |
|---|
| 40 | vertical-align: middle } |
|---|
| 41 | |
|---|
| 42 | .rfc2822 { |
|---|
| 43 | margin-top: 0.5em ; |
|---|
| 44 | margin-left: 0.5em ; |
|---|
| 45 | margin-right: 0.5em ; |
|---|
| 46 | margin-bottom: 0em } |
|---|
| 47 | |
|---|
| 48 | .rfc2822 td { |
|---|
| 49 | text-align: left } |
|---|
| 50 | |
|---|
| 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 } |
|---|
| 57 | |
|---|
| 58 | a.toc-backref { |
|---|
| 59 | text-decoration: none ; |
|---|
| 60 | color: black } |
|---|
| 61 | |
|---|
| 62 | blockquote.epigraph { |
|---|
| 63 | margin: 2em 5em ; } |
|---|
| 64 | |
|---|
| 65 | body { |
|---|
| 66 | margin: 0px ; |
|---|
| 67 | margin-bottom: 1em ; |
|---|
| 68 | padding: 0px } |
|---|
| 69 | |
|---|
| 70 | dl.docutils dd { |
|---|
| 71 | margin-bottom: 0.5em } |
|---|
| 72 | |
|---|
| 73 | div.section { |
|---|
| 74 | margin-left: 1em ; |
|---|
| 75 | margin-right: 1em ; |
|---|
| 76 | margin-bottom: 1.5em } |
|---|
| 77 | |
|---|
| 78 | div.section div.section { |
|---|
| 79 | margin-left: 0em ; |
|---|
| 80 | margin-right: 0em ; |
|---|
| 81 | margin-top: 1.5em } |
|---|
| 82 | |
|---|
| 83 | div.abstract { |
|---|
| 84 | margin: 2em 5em } |
|---|
| 85 | |
|---|
| 86 | div.abstract p.topic-title { |
|---|
| 87 | font-weight: bold ; |
|---|
| 88 | text-align: center } |
|---|
| 89 | |
|---|
| 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 } |
|---|
| 95 | |
|---|
| 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 } |
|---|
| 101 | |
|---|
| 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 } |
|---|
| 108 | |
|---|
| 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 } |
|---|
| 113 | |
|---|
| 114 | div.compound .compound-last, div.compound .compound-middle { |
|---|
| 115 | margin-top: 0.5em } |
|---|
| 116 | */ |
|---|
| 117 | |
|---|
| 118 | div.dedication { |
|---|
| 119 | margin: 2em 5em ; |
|---|
| 120 | text-align: center ; |
|---|
| 121 | font-style: italic } |
|---|
| 122 | |
|---|
| 123 | div.dedication p.topic-title { |
|---|
| 124 | font-weight: bold ; |
|---|
| 125 | font-style: normal } |
|---|
| 126 | |
|---|
| 127 | div.figure { |
|---|
| 128 | margin-left: 2em ; |
|---|
| 129 | margin-right: 2em } |
|---|
| 130 | |
|---|
| 131 | div.footer, div.header { |
|---|
| 132 | clear: both; |
|---|
| 133 | font-size: smaller } |
|---|
| 134 | |
|---|
| 135 | div.footer { |
|---|
| 136 | margin-left: 1em ; |
|---|
| 137 | margin-right: 1em } |
|---|
| 138 | |
|---|
| 139 | div.line-block { |
|---|
| 140 | display: block ; |
|---|
| 141 | margin-top: 1em ; |
|---|
| 142 | margin-bottom: 1em } |
|---|
| 143 | |
|---|
| 144 | div.line-block div.line-block { |
|---|
| 145 | margin-top: 0 ; |
|---|
| 146 | margin-bottom: 0 ; |
|---|
| 147 | margin-left: 1.5em } |
|---|
| 148 | |
|---|
| 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 } |
|---|
| 157 | |
|---|
| 158 | div.sidebar p.rubric { |
|---|
| 159 | font-family: sans-serif ; |
|---|
| 160 | font-size: medium } |
|---|
| 161 | |
|---|
| 162 | div.system-messages { |
|---|
| 163 | margin: 5em } |
|---|
| 164 | |
|---|
| 165 | div.system-messages h1 { |
|---|
| 166 | color: red } |
|---|
| 167 | |
|---|
| 168 | div.system-message { |
|---|
| 169 | border: medium outset ; |
|---|
| 170 | padding: 1em } |
|---|
| 171 | |
|---|
| 172 | div.system-message p.system-message-title { |
|---|
| 173 | color: red ; |
|---|
| 174 | font-weight: bold } |
|---|
| 175 | |
|---|
| 176 | div.topic { |
|---|
| 177 | margin: 2em } |
|---|
| 178 | |
|---|
| 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 } |
|---|
| 182 | |
|---|
| 183 | h1 { |
|---|
| 184 | font-family: sans-serif ; |
|---|
| 185 | font-size: large } |
|---|
| 186 | |
|---|
| 187 | h2 { |
|---|
| 188 | font-family: sans-serif ; |
|---|
| 189 | font-size: medium } |
|---|
| 190 | |
|---|
| 191 | h3 { |
|---|
| 192 | font-family: sans-serif ; |
|---|
| 193 | font-size: small } |
|---|
| 194 | |
|---|
| 195 | h4 { |
|---|
| 196 | font-family: sans-serif ; |
|---|
| 197 | font-style: italic ; |
|---|
| 198 | font-size: small } |
|---|
| 199 | |
|---|
| 200 | h5 { |
|---|
| 201 | font-family: sans-serif; |
|---|
| 202 | font-size: x-small } |
|---|
| 203 | |
|---|
| 204 | h6 { |
|---|
| 205 | font-family: sans-serif; |
|---|
| 206 | font-style: italic ; |
|---|
| 207 | font-size: x-small } |
|---|
| 208 | |
|---|
| 209 | hr.docutils { |
|---|
| 210 | width: 75% } |
|---|
| 211 | |
|---|
| 212 | img.align-left { |
|---|
| 213 | clear: left } |
|---|
| 214 | |
|---|
| 215 | img.align-right { |
|---|
| 216 | clear: right } |
|---|
| 217 | |
|---|
| 218 | img.borderless { |
|---|
| 219 | border: 0 } |
|---|
| 220 | |
|---|
| 221 | ol.simple, ul.simple { |
|---|
| 222 | margin-bottom: 1em } |
|---|
| 223 | |
|---|
| 224 | ol.arabic { |
|---|
| 225 | list-style: decimal } |
|---|
| 226 | |
|---|
| 227 | ol.loweralpha { |
|---|
| 228 | list-style: lower-alpha } |
|---|
| 229 | |
|---|
| 230 | ol.upperalpha { |
|---|
| 231 | list-style: upper-alpha } |
|---|
| 232 | |
|---|
| 233 | ol.lowerroman { |
|---|
| 234 | list-style: lower-roman } |
|---|
| 235 | |
|---|
| 236 | ol.upperroman { |
|---|
| 237 | list-style: upper-roman } |
|---|
| 238 | |
|---|
| 239 | p.attribution { |
|---|
| 240 | text-align: right ; |
|---|
| 241 | margin-left: 50% } |
|---|
| 242 | |
|---|
| 243 | p.caption { |
|---|
| 244 | font-style: italic } |
|---|
| 245 | |
|---|
| 246 | p.credits { |
|---|
| 247 | font-style: italic ; |
|---|
| 248 | font-size: smaller } |
|---|
| 249 | |
|---|
| 250 | p.label { |
|---|
| 251 | white-space: nowrap } |
|---|
| 252 | |
|---|
| 253 | p.rubric { |
|---|
| 254 | font-weight: bold ; |
|---|
| 255 | font-size: larger ; |
|---|
| 256 | color: maroon ; |
|---|
| 257 | text-align: center } |
|---|
| 258 | |
|---|
| 259 | p.sidebar-title { |
|---|
| 260 | font-family: sans-serif ; |
|---|
| 261 | font-weight: bold ; |
|---|
| 262 | font-size: larger } |
|---|
| 263 | |
|---|
| 264 | p.sidebar-subtitle { |
|---|
| 265 | font-family: sans-serif ; |
|---|
| 266 | font-weight: bold } |
|---|
| 267 | |
|---|
| 268 | p.topic-title { |
|---|
| 269 | font-family: sans-serif ; |
|---|
| 270 | font-weight: bold } |
|---|
| 271 | |
|---|
| 272 | pre.address { |
|---|
| 273 | margin-bottom: 0 ; |
|---|
| 274 | margin-top: 0 ; |
|---|
| 275 | font-family: serif ; |
|---|
| 276 | font-size: 100% } |
|---|
| 277 | |
|---|
| 278 | pre.literal-block, pre.doctest-block { |
|---|
| 279 | margin-left: 2em ; |
|---|
| 280 | margin-right: 2em ; |
|---|
| 281 | background-color: #eeeeee } |
|---|
| 282 | |
|---|
| 283 | span.classifier { |
|---|
| 284 | font-family: sans-serif ; |
|---|
| 285 | font-style: oblique } |
|---|
| 286 | |
|---|
| 287 | span.classifier-delimiter { |
|---|
| 288 | font-family: sans-serif ; |
|---|
| 289 | font-weight: bold } |
|---|
| 290 | |
|---|
| 291 | span.interpreted { |
|---|
| 292 | font-family: sans-serif } |
|---|
| 293 | |
|---|
| 294 | span.option { |
|---|
| 295 | white-space: nowrap } |
|---|
| 296 | |
|---|
| 297 | span.option-argument { |
|---|
| 298 | font-style: italic } |
|---|
| 299 | |
|---|
| 300 | span.pre { |
|---|
| 301 | white-space: pre } |
|---|
| 302 | |
|---|
| 303 | span.problematic { |
|---|
| 304 | color: red } |
|---|
| 305 | |
|---|
| 306 | span.section-subtitle { |
|---|
| 307 | /* font-size relative to parent (h1..h6 element) */ |
|---|
| 308 | font-size: 80% } |
|---|
| 309 | |
|---|
| 310 | table.citation { |
|---|
| 311 | border-left: solid 1px gray; |
|---|
| 312 | margin-left: 1px } |
|---|
| 313 | |
|---|
| 314 | table.docinfo { |
|---|
| 315 | margin: 2em 4em } |
|---|
| 316 | |
|---|
| 317 | table.docutils { |
|---|
| 318 | margin-top: 0.5em ; |
|---|
| 319 | margin-bottom: 0.5em } |
|---|
| 320 | |
|---|
| 321 | table.footnote { |
|---|
| 322 | border-left: solid 1px black; |
|---|
| 323 | margin-left: 1px } |
|---|
| 324 | |
|---|
| 325 | table.docutils td, table.docutils th, |
|---|
| 326 | table.docinfo td, table.docinfo th { |
|---|
| 327 | padding-left: 0.5em ; |
|---|
| 328 | padding-right: 0.5em ; |
|---|
| 329 | vertical-align: top } |
|---|
| 330 | |
|---|
| 331 | td.num { |
|---|
| 332 | text-align: right } |
|---|
| 333 | |
|---|
| 334 | th.field-name { |
|---|
| 335 | font-weight: bold ; |
|---|
| 336 | text-align: left ; |
|---|
| 337 | white-space: nowrap ; |
|---|
| 338 | padding-left: 0 } |
|---|
| 339 | |
|---|
| 340 | h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
|---|
| 341 | h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
|---|
| 342 | font-size: 100% } |
|---|
| 343 | |
|---|
| 344 | tt.docutils { |
|---|
| 345 | background-color: #eeeeee } |
|---|
| 346 | |
|---|
| 347 | ul.auto-toc { |
|---|
| 348 | list-style-type: none } |
|---|