| 1 | /* |
|---|
| 2 | :Author: David Goodger |
|---|
| 3 | :Contact: goodger@python.org |
|---|
| 4 | :Date: $Date: 2007/01/03 17:05:58 $ |
|---|
| 5 | :Revision: $Revision: 1.1 $ |
|---|
| 6 | :Copyright: This stylesheet has been placed in the public domain. |
|---|
| 7 | |
|---|
| 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 | /* used to remove borders from tables and images */ |
|---|
| 15 | .borderless, table.borderless td, table.borderless th { |
|---|
| 16 | border: 0 } |
|---|
| 17 | |
|---|
| 18 | table.borderless td, table.borderless th { |
|---|
| 19 | /* Override padding for "table.docutils td" with "! important". |
|---|
| 20 | The right padding separates the table cells. */ |
|---|
| 21 | padding: 0 0.5em 0 0 ! important } |
|---|
| 22 | |
|---|
| 23 | .first { |
|---|
| 24 | /* Override more specific margin styles with "! important". */ |
|---|
| 25 | margin-top: 0 ! important } |
|---|
| 26 | |
|---|
| 27 | .last, .with-subtitle { |
|---|
| 28 | margin-bottom: 0 ! important } |
|---|
| 29 | |
|---|
| 30 | .hidden { |
|---|
| 31 | display: none } |
|---|
| 32 | |
|---|
| 33 | a.toc-backref { |
|---|
| 34 | text-decoration: none ; |
|---|
| 35 | color: black } |
|---|
| 36 | |
|---|
| 37 | blockquote.epigraph { |
|---|
| 38 | margin: 2em 5em ; } |
|---|
| 39 | |
|---|
| 40 | dl.docutils dd { |
|---|
| 41 | margin-bottom: 0.5em } |
|---|
| 42 | |
|---|
| 43 | /* Uncomment (and remove this text!) to get bold-faced definition list terms |
|---|
| 44 | dl.docutils dt { |
|---|
| 45 | font-weight: bold } |
|---|
| 46 | */ |
|---|
| 47 | |
|---|
| 48 | div.abstract { |
|---|
| 49 | margin: 2em 5em } |
|---|
| 50 | |
|---|
| 51 | div.abstract p.topic-title { |
|---|
| 52 | font-weight: bold ; |
|---|
| 53 | text-align: center } |
|---|
| 54 | |
|---|
| 55 | div.admonition, div.attention, div.caution, div.danger, div.error, |
|---|
| 56 | div.hint, div.important, div.note, div.tip, div.warning { |
|---|
| 57 | margin: 2em ; |
|---|
| 58 | border: medium outset ; |
|---|
| 59 | padding: 1em } |
|---|
| 60 | |
|---|
| 61 | div.admonition p.admonition-title, div.hint p.admonition-title, |
|---|
| 62 | div.important p.admonition-title, div.note p.admonition-title, |
|---|
| 63 | div.tip p.admonition-title { |
|---|
| 64 | font-weight: bold ; |
|---|
| 65 | font-family: sans-serif } |
|---|
| 66 | |
|---|
| 67 | div.attention p.admonition-title, div.caution p.admonition-title, |
|---|
| 68 | div.danger p.admonition-title, div.error p.admonition-title, |
|---|
| 69 | div.warning p.admonition-title { |
|---|
| 70 | color: red ; |
|---|
| 71 | font-weight: bold ; |
|---|
| 72 | font-family: sans-serif } |
|---|
| 73 | |
|---|
| 74 | /* Uncomment (and remove this text!) to get reduced vertical space in |
|---|
| 75 | compound paragraphs. |
|---|
| 76 | div.compound .compound-first, div.compound .compound-middle { |
|---|
| 77 | margin-bottom: 0.5em } |
|---|
| 78 | |
|---|
| 79 | div.compound .compound-last, div.compound .compound-middle { |
|---|
| 80 | margin-top: 0.5em } |
|---|
| 81 | */ |
|---|
| 82 | |
|---|
| 83 | div.dedication { |
|---|
| 84 | margin: 2em 5em ; |
|---|
| 85 | text-align: center ; |
|---|
| 86 | font-style: italic } |
|---|
| 87 | |
|---|
| 88 | div.dedication p.topic-title { |
|---|
| 89 | font-weight: bold ; |
|---|
| 90 | font-style: normal } |
|---|
| 91 | |
|---|
| 92 | div.figure { |
|---|
| 93 | margin-left: 2em ; |
|---|
| 94 | margin-right: 2em } |
|---|
| 95 | |
|---|
| 96 | div.footer, div.header { |
|---|
| 97 | clear: both; |
|---|
| 98 | font-size: smaller } |
|---|
| 99 | |
|---|
| 100 | div.line-block { |
|---|
| 101 | display: block ; |
|---|
| 102 | margin-top: 1em ; |
|---|
| 103 | margin-bottom: 1em } |
|---|
| 104 | |
|---|
| 105 | div.line-block div.line-block { |
|---|
| 106 | margin-top: 0 ; |
|---|
| 107 | margin-bottom: 0 ; |
|---|
| 108 | margin-left: 1.5em } |
|---|
| 109 | |
|---|
| 110 | div.sidebar { |
|---|
| 111 | margin-left: 1em ; |
|---|
| 112 | border: medium outset ; |
|---|
| 113 | padding: 1em ; |
|---|
| 114 | background-color: #ffffee ; |
|---|
| 115 | width: 40% ; |
|---|
| 116 | float: right ; |
|---|
| 117 | clear: right } |
|---|
| 118 | |
|---|
| 119 | div.sidebar p.rubric { |
|---|
| 120 | font-family: sans-serif ; |
|---|
| 121 | font-size: medium } |
|---|
| 122 | |
|---|
| 123 | div.system-messages { |
|---|
| 124 | margin: 5em } |
|---|
| 125 | |
|---|
| 126 | div.system-messages h1 { |
|---|
| 127 | color: red } |
|---|
| 128 | |
|---|
| 129 | div.system-message { |
|---|
| 130 | border: medium outset ; |
|---|
| 131 | padding: 1em } |
|---|
| 132 | |
|---|
| 133 | div.system-message p.system-message-title { |
|---|
| 134 | color: red ; |
|---|
| 135 | font-weight: bold } |
|---|
| 136 | |
|---|
| 137 | div.topic { |
|---|
| 138 | margin: 2em } |
|---|
| 139 | |
|---|
| 140 | h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
|---|
| 141 | h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
|---|
| 142 | margin-top: 0.4em } |
|---|
| 143 | |
|---|
| 144 | h1.title { |
|---|
| 145 | text-align: center } |
|---|
| 146 | |
|---|
| 147 | h2.subtitle { |
|---|
| 148 | text-align: center } |
|---|
| 149 | |
|---|
| 150 | hr.docutils { |
|---|
| 151 | width: 75% } |
|---|
| 152 | |
|---|
| 153 | img.align-left { |
|---|
| 154 | clear: left } |
|---|
| 155 | |
|---|
| 156 | img.align-right { |
|---|
| 157 | clear: right } |
|---|
| 158 | |
|---|
| 159 | ol.simple, ul.simple { |
|---|
| 160 | margin-bottom: 1em } |
|---|
| 161 | |
|---|
| 162 | ol.arabic { |
|---|
| 163 | list-style: decimal } |
|---|
| 164 | |
|---|
| 165 | ol.loweralpha { |
|---|
| 166 | list-style: lower-alpha } |
|---|
| 167 | |
|---|
| 168 | ol.upperalpha { |
|---|
| 169 | list-style: upper-alpha } |
|---|
| 170 | |
|---|
| 171 | ol.lowerroman { |
|---|
| 172 | list-style: lower-roman } |
|---|
| 173 | |
|---|
| 174 | ol.upperroman { |
|---|
| 175 | list-style: upper-roman } |
|---|
| 176 | |
|---|
| 177 | p.attribution { |
|---|
| 178 | text-align: right ; |
|---|
| 179 | margin-left: 50% } |
|---|
| 180 | |
|---|
| 181 | p.caption { |
|---|
| 182 | font-style: italic } |
|---|
| 183 | |
|---|
| 184 | p.credits { |
|---|
| 185 | font-style: italic ; |
|---|
| 186 | font-size: smaller } |
|---|
| 187 | |
|---|
| 188 | p.label { |
|---|
| 189 | white-space: nowrap } |
|---|
| 190 | |
|---|
| 191 | p.rubric { |
|---|
| 192 | font-weight: bold ; |
|---|
| 193 | font-size: larger ; |
|---|
| 194 | color: maroon ; |
|---|
| 195 | text-align: center } |
|---|
| 196 | |
|---|
| 197 | p.sidebar-title { |
|---|
| 198 | font-family: sans-serif ; |
|---|
| 199 | font-weight: bold ; |
|---|
| 200 | font-size: larger } |
|---|
| 201 | |
|---|
| 202 | p.sidebar-subtitle { |
|---|
| 203 | font-family: sans-serif ; |
|---|
| 204 | font-weight: bold } |
|---|
| 205 | |
|---|
| 206 | p.topic-title { |
|---|
| 207 | font-weight: bold } |
|---|
| 208 | |
|---|
| 209 | pre.address { |
|---|
| 210 | margin-bottom: 0 ; |
|---|
| 211 | margin-top: 0 ; |
|---|
| 212 | font-family: serif ; |
|---|
| 213 | font-size: 100% } |
|---|
| 214 | |
|---|
| 215 | pre.literal-block, pre.doctest-block { |
|---|
| 216 | margin-left: 2em ; |
|---|
| 217 | margin-right: 2em } |
|---|
| 218 | |
|---|
| 219 | span.classifier { |
|---|
| 220 | font-family: sans-serif ; |
|---|
| 221 | font-style: oblique } |
|---|
| 222 | |
|---|
| 223 | span.classifier-delimiter { |
|---|
| 224 | font-family: sans-serif ; |
|---|
| 225 | font-weight: bold } |
|---|
| 226 | |
|---|
| 227 | span.interpreted { |
|---|
| 228 | font-family: sans-serif } |
|---|
| 229 | |
|---|
| 230 | span.option { |
|---|
| 231 | white-space: nowrap } |
|---|
| 232 | |
|---|
| 233 | span.pre { |
|---|
| 234 | white-space: pre } |
|---|
| 235 | |
|---|
| 236 | span.problematic { |
|---|
| 237 | color: red } |
|---|
| 238 | |
|---|
| 239 | span.section-subtitle { |
|---|
| 240 | /* font-size relative to parent (h1..h6 element) */ |
|---|
| 241 | font-size: 80% } |
|---|
| 242 | |
|---|
| 243 | table.citation { |
|---|
| 244 | border-left: solid 1px gray; |
|---|
| 245 | margin-left: 1px } |
|---|
| 246 | |
|---|
| 247 | table.docinfo { |
|---|
| 248 | margin: 2em 4em } |
|---|
| 249 | |
|---|
| 250 | table.docutils { |
|---|
| 251 | margin-top: 0.5em ; |
|---|
| 252 | margin-bottom: 0.5em } |
|---|
| 253 | |
|---|
| 254 | table.footnote { |
|---|
| 255 | border-left: solid 1px black; |
|---|
| 256 | margin-left: 1px } |
|---|
| 257 | |
|---|
| 258 | table.docutils td, table.docutils th, |
|---|
| 259 | table.docinfo td, table.docinfo th { |
|---|
| 260 | padding-left: 0.5em ; |
|---|
| 261 | padding-right: 0.5em ; |
|---|
| 262 | vertical-align: top } |
|---|
| 263 | |
|---|
| 264 | table.docutils th.field-name, table.docinfo th.docinfo-name { |
|---|
| 265 | font-weight: bold ; |
|---|
| 266 | text-align: left ; |
|---|
| 267 | white-space: nowrap ; |
|---|
| 268 | padding-left: 0 } |
|---|
| 269 | |
|---|
| 270 | h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
|---|
| 271 | h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
|---|
| 272 | font-size: 100% } |
|---|
| 273 | |
|---|
| 274 | ul.auto-toc { |
|---|
| 275 | list-style-type: none } |
|---|