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