| | 1 | /* |
| | 2 | :Author: David Goodger |
| | 3 | :Contact: goodger@users.sourceforge.net |
| | 4 | :Date: $Date: 2005-09-23 15:58:00 -0600 (Fri, 23 Sep 2005) $ |
| | 5 | :Revision: $Revision: 1964 $ |
| | 6 | :Copyright: This stylesheet has been placed in the public domain. |
| | 7 | t |
| | 8 | Default cascading style sheet for the HTML output of Docutils. |
| | 9 | |
| | 10 | See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to |
| | 11 | customize this style sheet. |
| | 12 | */ |
| | 13 | |
| | 14 | /* "! important" is used here to override other ``margin-top`` and |
| | 15 | ``margin-bottom`` styles that are later in the stylesheet or |
| | 16 | more specific. See http://www.w3.org/TR/CSS1#the-cascade */ |
| | 17 | |
| 2 | | font-family: Arial, Helvetica, sans-serif; |
| 3 | | font-size: .8em; |
| 4 | | margin: 0; |
| 5 | | padding:0; |
| 6 | | } |
| | 19 | |
| | 20 | background: #173682; |
| | 21 | font-size: .9em; |
| | 22 | text-align:center; |
| | 23 | font-family: Arial, Helvetica, sans-serif; |
| | 24 | margin: 0; |
| | 25 | padding:0; |
| | 26 | } |
| | 27 | |
| | 28 | .document { |
| | 29 | width: 960px; |
| | 30 | margin:0 auto; |
| | 31 | padding: 0 5px 0 5px; |
| | 32 | color: #666; |
| | 33 | border: 1px solid black; |
| | 34 | text-align: left; |
| | 35 | background: #E8E8E8; |
| | 36 | } |
| | 37 | |
| | 38 | .document h1 { |
| | 39 | padding: 0; |
| | 40 | } |
| | 41 | |
| | 42 | .document a:link, .document a:visited, .document a:hover, .document a:active { |
| | 43 | color: #CC6600; |
| | 44 | } |
| | 45 | |
| | 46 | .first { |
| | 47 | margin-top: 0 ! important } |
| | 48 | |
| | 49 | .last, .with-subtitle { |
| | 50 | margin-bottom: 0 ! important } |
| | 51 | |
| | 52 | .hidden { |
| | 53 | display: none } |
| | 54 | |
| | 55 | a.toc-backref { |
| | 56 | text-decoration: none ; |
| | 57 | color: black } |
| | 58 | |
| | 59 | blockquote.epigraph { |
| | 60 | margin: 2em 5em ; } |
| | 61 | |
| | 62 | dl.docutils dd { |
| | 63 | margin-bottom: 0.5em } |
| | 64 | |
| | 65 | /* Uncomment (and remove this text!) to get bold-faced definition list terms |
| | 66 | dl.docutils dt { |
| | 67 | font-weight: bold } |
| | 68 | */ |
| | 69 | |
| | 70 | div.abstract { |
| | 71 | margin: 2em 5em } |
| | 72 | |
| | 73 | div.abstract p.topic-title { |
| | 74 | font-weight: bold ; |
| | 75 | text-align: center } |
| | 76 | |
| | 77 | div.admonition, div.attention, div.caution, div.danger, div.error, |
| | 78 | div.hint, div.important, div.note, div.tip, div.warning { |
| | 79 | margin: 2em ; |
| | 80 | border: medium outset ; |
| | 81 | padding: 1em } |
| | 82 | |
| | 83 | div.admonition p.admonition-title, div.hint p.admonition-title, |
| | 84 | div.important p.admonition-title, div.note p.admonition-title, |
| | 85 | div.tip p.admonition-title { |
| | 86 | font-weight: bold ; |
| | 87 | } |
| | 88 | |
| | 89 | div.attention p.admonition-title, div.caution p.admonition-title, |
| | 90 | div.danger p.admonition-title, div.error p.admonition-title, |
| | 91 | div.warning p.admonition-title { |
| | 92 | color: red ; |
| | 93 | font-weight: bold ; |
| | 94 | } |
| | 95 | |
| | 96 | /* Uncomment (and remove this text!) to get reduced vertical space in |
| | 97 | compound paragraphs. |
| | 98 | div.compound .compound-first, div.compound .compound-middle { |
| | 99 | margin-bottom: 0.5em } |
| | 100 | |
| | 101 | div.compound .compound-last, div.compound .compound-middle { |
| | 102 | margin-top: 0.5em } |
| | 103 | */ |
| | 104 | |
| | 105 | div.dedication { |
| | 106 | margin: 2em 5em ; |
| | 107 | text-align: center ; |
| | 108 | font-style: italic } |
| | 109 | |
| | 110 | div.dedication p.topic-title { |
| | 111 | font-weight: bold ; |
| | 112 | font-style: normal } |
| | 113 | |
| | 114 | div.figure { |
| | 115 | margin-left: 2em } |
| | 116 | |
| | 117 | div.header { |
| | 118 | clear: both; |
| | 119 | font-size: smaller; |
| | 120 | text-align: center; |
| | 121 | |
| | 122 | } |
| | 123 | |
| | 124 | div.footer { |
| | 125 | clear: both; |
| | 126 | font-size: smaller; |
| | 127 | text-align: center; |
| | 128 | padding-top: 5px; |
| | 129 | |
| | 130 | } |
| | 131 | |
| | 132 | hr.footer { |
| | 133 | display: none; |
| | 134 | } |
| | 135 | |
| | 136 | |
| | 137 | |
| | 138 | |
| | 139 | |
| | 140 | div.footer a { |
| | 141 | color: #fff; |
| | 142 | text-decoration: underline; |
| | 143 | } |
| | 144 | |
| | 145 | div.line-block { |
| | 146 | display: block ; |
| | 147 | margin-top: 1em ; |
| | 148 | margin-bottom: 1em } |
| | 149 | |
| | 150 | div.line-block div.line-block { |
| | 151 | margin-top: 0 ; |
| | 152 | margin-bottom: 0 ; |
| | 153 | margin-left: 1.5em } |
| | 154 | |
| | 155 | div.sidebar { |
| | 156 | margin-left: 1em ; |
| | 157 | border: medium outset ; |
| | 158 | padding: 1em ; |
| | 159 | background-color: #ffffee ; |
| | 160 | width: 40% ; |
| | 161 | float: right ; |
| | 162 | clear: right } |
| | 163 | |
| | 164 | div.sidebar p.rubric { |
| | 165 | ; |
| | 166 | font-size: medium } |
| | 167 | |
| | 168 | div.system-messages { |
| | 169 | margin: 5em } |
| | 170 | |
| | 171 | div.system-messages h1 { |
| | 172 | color: red } |
| | 173 | |
| | 174 | div.system-message { |
| | 175 | border: medium outset ; |
| | 176 | padding: 1em } |
| | 177 | |
| | 178 | div.system-message p.system-message-title { |
| | 179 | color: red ; |
| | 180 | font-weight: bold } |
| | 181 | |
| | 182 | div.topic { |
| | 183 | margin: 2em } |
| | 184 | |
| | 185 | h1, h2, h3, h4, h5, h6 { |
| | 186 | font-size: 1em; |
| | 187 | } |
| | 188 | |
| | 189 | h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
| | 190 | h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
| | 191 | margin-top: 0.4em } |
| 9 | | padding: 5px; |
| 10 | | background: #173682; |
| 11 | | color: #FFF; |
| 12 | | } |
| | 194 | text-align: center } |
| | 195 | |
| | 196 | h2.subtitle { |
| | 197 | text-align: center } |
| | 198 | |
| | 199 | hr.docutils { |
| | 200 | width: 75% } |
| | 201 | |
| | 202 | img.align-left { |
| | 203 | clear: left } |
| | 204 | |
| | 205 | img.align-right { |
| | 206 | clear: right } |
| | 207 | |
| | 208 | img.borderless { |
| | 209 | border: 0 } |
| | 210 | |
| | 211 | ol.simple, ul.simple { |
| | 212 | margin-bottom: 1em } |
| | 213 | |
| | 214 | ol.arabic { |
| | 215 | list-style: decimal } |
| | 216 | |
| | 217 | ol.loweralpha { |
| | 218 | list-style: lower-alpha } |
| | 219 | |
| | 220 | ol.upperalpha { |
| | 221 | list-style: upper-alpha } |
| | 222 | |
| | 223 | ol.lowerroman { |
| | 224 | list-style: lower-roman } |
| | 225 | |
| | 226 | ol.upperroman { |
| | 227 | list-style: upper-roman } |
| | 228 | |
| | 229 | p.attribution { |
| | 230 | text-align: right ; |
| | 231 | margin-left: 50% } |
| | 232 | |
| | 233 | p.caption { |
| | 234 | font-style: italic } |
| | 235 | |
| | 236 | p.credits { |
| | 237 | font-style: italic ; |
| | 238 | font-size: smaller } |
| | 239 | |
| | 240 | p.label { |
| | 241 | white-space: nowrap } |
| | 242 | |
| | 243 | p.rubric { |
| | 244 | font-weight: bold ; |
| | 245 | font-size: larger ; |
| | 246 | color: maroon ; |
| | 247 | text-align: center } |
| | 248 | |
| | 249 | p.sidebar-title { |
| | 250 | ; |
| | 251 | font-weight: bold ; |
| | 252 | font-size: larger } |
| | 253 | |
| | 254 | p.sidebar-subtitle { |
| | 255 | ; |
| | 256 | font-weight: bold } |
| | 257 | |
| | 258 | p.topic-title { |
| | 259 | font-weight: bold } |
| | 260 | |
| | 261 | pre.address { |
| | 262 | margin-bottom: 0 ; |
| | 263 | margin-top: 0 ; |
| | 264 | font-family: serif ; |
| | 265 | font-size: 100% } |
| | 266 | |
| | 267 | pre.line-block { |
| | 268 | font-family: serif ; |
| | 269 | font-size: 100% } |
| | 270 | |
| | 271 | pre.literal-block, pre.doctest-block { |
| | 272 | margin-left: 2em ; |
| | 273 | margin-right: 2em ; |
| | 274 | padding: 5px; |
| | 275 | background-color: #D3D3D3;; |
| | 276 | color: black; |
| | 277 | } |
| | 278 | |
| | 279 | span.classifier { |
| | 280 | ; |
| | 281 | font-style: oblique } |
| | 282 | |
| | 283 | span.classifier-delimiter { |
| | 284 | ; |
| | 285 | font-weight: bold } |
| | 286 | |
| | 287 | span.interpreted { |
| | 288 | } |
| | 289 | |
| | 290 | span.option { |
| | 291 | white-space: nowrap } |
| | 292 | |
| | 293 | span.pre { |
| | 294 | white-space: pre } |
| | 295 | |
| | 296 | span.problematic { |
| | 297 | color: red } |
| | 298 | |
| | 299 | span.section-subtitle { |
| | 300 | /* font-size relative to parent (h1..h6 element) */ |
| | 301 | font-size: 80% } |
| | 302 | |
| | 303 | table.citation { |
| | 304 | border-left: solid thin gray } |
| | 305 | |
| | 306 | table.docinfo { |
| | 307 | margin: 2em 4em } |
| | 308 | |
| | 309 | table.docutils { |
| | 310 | margin-top: 0.5em ; |
| | 311 | margin-bottom: 0.5em } |
| | 312 | |
| | 313 | table.footnote { |
| | 314 | border-left: solid thin black } |
| | 315 | |
| | 316 | table.docutils td, table.docutils th, |
| | 317 | table.docinfo td, table.docinfo th { |
| | 318 | padding-left: 0.5em ; |
| | 319 | padding-right: 0.5em ; |
| | 320 | vertical-align: top } |
| | 321 | |
| | 322 | table.docutils th.field-name, table.docinfo th.docinfo-name { |
| | 323 | font-weight: bold ; |
| | 324 | text-align: left ; |
| | 325 | white-space: nowrap ; |
| | 326 | padding-left: 0 } |
| | 327 | |
| | 328 | h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
| | 329 | h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
| | 330 | font-size: 100% } |
| | 331 | |
| | 332 | tt.docutils { |
| | 333 | background-color: #eeeeee } |
| | 334 | |
| | 335 | ul.auto-toc { |
| | 336 | list-style-type: none } |
| | 337 | |
| | 338 | .reference { |
| | 339 | color: #FFF; |
| | 340 | } |
| | 341 | |
| | 342 | |
| | 343 | h1 { |
| | 344 | border-bottom: 1px solid #173682;; |
| | 345 | } |
| | 346 | |