1 /* 2 :Author: David Goodger, Ian Bicking 3 :Contact: ianb (at) colorstudy.com 4 :date: $Date: 2003/11/01 20:35:45 $ 5 :version: $Revision: 1.3 $ 6 :copyright: This stylesheet has been placed in the public domain. 7 8 A modification of the default cascading style sheet (v.1.3) for the 9 HTML output of Docutils. 10 */ 11 12 body { 13 font-family: Arial, sans-serif; 14 background-color: #fff; 15 } 16 17 em, i { 18 /* Typically serif fonts have much nicer italics */ 19 font-family: Times New Roman, Times, serif; 20 } 21 22 li { 23 list-style-type: circle; 24 } 25 26 a.target { 27 color: blue; 28 } 29 30 a.toc-backref { 31 text-decoration: none; 32 color: black; 33 } 34 35 a.toc-backref:hover { 36 background-color: inherit; 37 } 38 39 a:hover { 40 background-color: #ccc; 41 } 42 43 h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6:hover { 44 background-color: inherit; 45 } 46 47 cite { 48 font-style: normal; 49 font-family: monospace; 50 font-weight: bold; 51 } 52 53 dd { 54 margin-bottom: 0.5em; 55 } 56 57 div.abstract { 58 margin: 2em 5em; 59 } 60 61 div.abstract p.topic-title { 62 font-weight: bold; 63 text-align: center; 64 } 65 66 div.attention, div.caution, div.danger, div.error, div.hint, 67 div.important, div.note, div.tip, div.warning { 68 background-color: #ccc; 69 width: 40%; 70 border: medium outset; 71 padding: 3px; 72 float: right 73 } 74 75 div.attention p.admonition-title, div.caution p.admonition-title, 76 div.danger p.admonition-title, div.error p.admonition-title, 77 div.warning p.admonition-title { 78 color: #c00; 79 font-weight: bold; 80 font-family: sans-serif; 81 text-align: center; 82 background-color: #999; 83 display: block; 84 margin: 0; 85 } 86 87 div.hint p.admonition-title, div.important p.admonition-title, 88 div.note p.admonition-title, div.tip p.admonition-title { 89 font-weight: bold; 90 font-family: sans-serif; 91 text-align: center; 92 background-color: #999; 93 display: block; 94 margin: 0; 95 } 96 97 div.dedication { 98 margin: 2em 5em; 99 text-align: center; 100 font-style: italic; 101 } 102 103 div.dedication p.topic-title { 104 font-weight: bold; 105 font-style: normal; 106 } 107 108 div.figure { 109 margin-left: 2em; 110 } 111 112 div.footer, div.header { 113 font-size: smaller; 114 } 115 116 div.system-messages { 117 margin: 5em; 118 } 119 120 div.system-messages h1 { 121 color: red; 122 } 123 124 div.system-message { 125 border: medium outset; 126 padding: 1em; 127 } 128 129 div.system-message p.system-message-title { 130 color: red; 131 font-weight: bold; 132 } 133 134 div.topic { 135 margin: 2em; 136 } 137 138 h1, h2, h3, h4, h5, h6 { 139 font-family: Helvetica, Arial, sans-serif; 140 border: thin solid black; 141 /* This makes the borders rounded on Mozilla, which pleases me */ 142 -moz-border-radius: 8px; 143 padding: 4px; 144 } 145 146 h1 { 147 background-color: #449; 148 color: #fff; 149 border: medium solid black; 150 } 151 152 h1 a.toc-backref, h2 a.toc-backref { 153 color: #fff; 154 } 155 156 h2 { 157 background-color: #666; 158 color: #fff; 159 border: medium solid black; 160 } 161 162 h3, h4, h5, h6 { 163 background-color: #ccc; 164 color: #000; 165 } 166 167 h3 a.toc-backref, h4 a.toc-backref, h5 a.toc-backref, 168 h6 a.toc-backref { 169 color: #000; 170 } 171 172 h1.title { 173 text-align: center; 174 background-color: #449; 175 color: #fff; 176 border: thick solid black; 177 -moz-border-radius: 20px; 178 } 179 180 h2.subtitle { 181 text-align: center; 182 } 183 184 hr { 185 width: 75%; 186 } 187 188 ol.simple, ul.simple { 189 margin-bottom: 1em; 190 } 191 192 ol.arabic { 193 list-style: decimal; 194 } 195 196 ol.loweralpha { 197 list-style: lower-alpha; 198 } 199 200 ol.upperalpha { 201 list-style: upper-alpha; 202 } 203 204 ol.lowerroman { 205 list-style: lower-roman; 206 } 207 208 ol.upperroman { 209 list-style: upper-roman; 210 } 211 212 p.caption { 213 font-style: italic; 214 } 215 216 p.credits { 217 font-style: italic; 218 font-size: smaller; 219 } 220 221 p.first { 222 margin-top: 0; 223 } 224 225 p.label { 226 white-space: nowrap; 227 } 228 229 p.topic-title { 230 font-weight: bold; 231 } 232 233 pre.address { 234 margin-bottom: 0; 235 margin-top: 0; 236 font-family: serif; 237 font-size: 100%; 238 } 239 240 pre.line-block { 241 font-family: serif; 242 font-size: 100%; 243 } 244 245 pre.literal-block, pre.doctest-block { 246 margin-left: 2em; 247 margin-right: 2em; 248 background-color: #eee; 249 border: thin black solid; 250 padding: 5px; 251 } 252 253 span.classifier { 254 font-family: sans-serif; 255 font-style: oblique; 256 } 257 258 span.classifier-delimiter { 259 font-family: sans-serif; 260 font-weight: bold; 261 } 262 263 span.interpreted { 264 font-family: sans-serif; 265 } 266 267 span.option-argument { 268 font-style: italic; 269 } 270 271 span.pre { 272 white-space: pre; 273 } 274 275 span.problematic { 276 color: red; 277 } 278 279 table { 280 margin-top: 0.5em; 281 margin-bottom: 0.5em; 282 } 283 284 table.citation { 285 border-left: solid thin gray; 286 padding-left: 0.5ex 287 } 288 289 table.docinfo { 290 margin: 2em 4em; 291 } 292 293 table.footnote { 294 border-left: solid thin black; 295 padding-left: 0.5ex; 296 } 297 298 td, th { 299 padding-left: 0.5em; 300 padding-right: 0.5em; 301 vertical-align: top; 302 } 303 304 td > p:first-child, th > p:first-child { 305 margin-top: 0em; 306 } 307 308 th.docinfo-name, th.field-name { 309 font-weight: bold; 310 text-align: left; 311 white-space: nowrap; 312 } 313 314 h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { 315 font-size: 100%; 316 } 317 318 code, tt { 319 color: #006; 320 } 321 322 ul.auto-toc { 323 list-style-type: none; 324 } 325 326 /***************************************** 327 * Doctest embedded examples 328 *****************************************/ 329 330 span.doctest-url { 331 background-color: #eee; 332 border-top: 2px outset #666; 333 border-left: 2px outset #666; 334 border-right: 2px outset #666; 335 padding: 0.25em; 336 } 337 338 div.doctest-example { 339 border: outset 5px #666; 340 background-color: #eee; 341 font-family: default; 342 padding: 0.5em; 343 } 344 345 div.doctest-example h1 { 346 background-color: inherit; 347 border: none; 348 color: inherit; 349 font-family: default; 350 } 351 352 div.doctest-example tt { 353 color: inherit; 354 } 355 356 div.doctest-status { 357 background-color: #060; 358 color: #fff; 359 } 360 361 span.doctest-header { 362 background-color: #ccc; 363 font-family: monospace; 364 } 365 366 pre.doctest-errors { 367 border: none; 368 background-color: #333; 369 color: #600; 370 } 371 372 div.source-code { 373 background-color: #000; 374 border: inset #999 3px; 375 overflow: auto; 376 } 377 378 pre.source-code { 379 background-color: #000; 380 border: inset #999 3px; 381 overflow: auto; 382 font-family: monospace; 383 color: #fff; 384 } 385 386 span.source-filename { 387 background-color: #000; 388 border-top: 2px outset #999; 389 border-left: 2px outset #999; 390 border-right: 2px outset #999; 391 padding: 0.25em; 392 color: #fff 393 } 394 395