[12] | 1 | /* |
---|
| 2 | :Authors: David Goodger, David Abrahams |
---|
| 3 | :Contact: goodger@users.sourceforge.net, dave@boost-consulting.com |
---|
| 4 | :date: $Date: 2005/08/03 17:31:05 $ |
---|
| 5 | :version: $Revision: 1.7.2.1 $ |
---|
| 6 | :copyright: This stylesheet has been placed in the public domain. |
---|
| 7 | |
---|
| 8 | This stylesheet is for the use of ReStructuredText in a Boost context. |
---|
| 9 | It is basically an agglomeration of boost.css and the default.css that |
---|
| 10 | comes from docutils. |
---|
| 11 | |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | .first { |
---|
| 15 | margin-top: 0 } |
---|
| 16 | |
---|
| 17 | .last { |
---|
| 18 | margin-bottom: 0 } |
---|
| 19 | |
---|
| 20 | a.toc-backref { |
---|
| 21 | text-decoration: none ; |
---|
| 22 | color: black } |
---|
| 23 | |
---|
| 24 | dd { |
---|
| 25 | margin-bottom: 0.5em } |
---|
| 26 | |
---|
| 27 | div.abstract { |
---|
| 28 | margin: 2em 5em } |
---|
| 29 | |
---|
| 30 | div.abstract p.topic-title { |
---|
| 31 | font-weight: bold ; |
---|
| 32 | text-align: center } |
---|
| 33 | |
---|
| 34 | div.attention, div.caution, div.danger, div.error, div.hint, |
---|
| 35 | div.important, div.note, div.tip, div.warning, div.admonition { |
---|
| 36 | margin: 2em ; |
---|
| 37 | border: medium outset ; |
---|
| 38 | padding: 1em } |
---|
| 39 | |
---|
| 40 | div.attention p.admonition-title, div.caution p.admonition-title, |
---|
| 41 | div.danger p.admonition-title, div.error p.admonition-title, |
---|
| 42 | div.warning p.admonition-title { |
---|
| 43 | color: red ; |
---|
| 44 | font-weight: bold ; |
---|
| 45 | font-family: sans-serif } |
---|
| 46 | |
---|
| 47 | div.hint p.admonition-title, div.important p.admonition-title, |
---|
| 48 | div.note p.admonition-title, div.tip p.admonition-title, |
---|
| 49 | div.admonition p.admonition-title { |
---|
| 50 | font-weight: bold ; |
---|
| 51 | font-family: sans-serif } |
---|
| 52 | |
---|
| 53 | div.dedication { |
---|
| 54 | margin: 2em 5em ; |
---|
| 55 | text-align: center ; |
---|
| 56 | font-style: italic } |
---|
| 57 | |
---|
| 58 | div.dedication p.topic-title { |
---|
| 59 | font-weight: bold ; |
---|
| 60 | font-style: normal } |
---|
| 61 | |
---|
| 62 | div.figure { |
---|
| 63 | margin-left: 2em } |
---|
| 64 | |
---|
| 65 | div.footer, div.header { |
---|
| 66 | font-size: smaller } |
---|
| 67 | |
---|
| 68 | div.line-block { display: block } |
---|
| 69 | div.line-block div.line-block { margin-left: 1.5em } |
---|
| 70 | |
---|
| 71 | div.sidebar { |
---|
| 72 | margin-left: 1em ; |
---|
| 73 | border: medium outset ; |
---|
| 74 | padding: 0em 1em ; |
---|
| 75 | background-color: #ffffee ; |
---|
| 76 | width: 40% ; |
---|
| 77 | float: right ; |
---|
| 78 | clear: right } |
---|
| 79 | |
---|
| 80 | div.sidebar p.rubric { |
---|
| 81 | font-family: sans-serif ; |
---|
| 82 | font-size: medium } |
---|
| 83 | |
---|
| 84 | div.system-messages { |
---|
| 85 | margin: 5em } |
---|
| 86 | |
---|
| 87 | div.system-messages h1 { |
---|
| 88 | color: red } |
---|
| 89 | |
---|
| 90 | div.system-message { |
---|
| 91 | border: medium outset ; |
---|
| 92 | padding: 1em } |
---|
| 93 | |
---|
| 94 | div.system-message p.system-message-title { |
---|
| 95 | color: red ; |
---|
| 96 | font-weight: bold } |
---|
| 97 | |
---|
| 98 | div.topic { |
---|
| 99 | margin: 2em } |
---|
| 100 | |
---|
| 101 | dt { |
---|
| 102 | font-weight: bold |
---|
| 103 | } |
---|
| 104 | |
---|
| 105 | H1.title |
---|
| 106 | { |
---|
| 107 | FONT-SIZE: 200%; |
---|
| 108 | COLOR: #00008B; |
---|
| 109 | text-align: center |
---|
| 110 | } |
---|
| 111 | H1 |
---|
| 112 | { |
---|
| 113 | FONT-SIZE: 150%; |
---|
| 114 | } |
---|
| 115 | H2 |
---|
| 116 | { |
---|
| 117 | FONT-SIZE: 125%; |
---|
| 118 | } |
---|
| 119 | h2.subtitle { |
---|
| 120 | text-align: center } |
---|
| 121 | H3 |
---|
| 122 | { |
---|
| 123 | FONT-SIZE: 108%; |
---|
| 124 | } |
---|
| 125 | BODY |
---|
| 126 | { |
---|
| 127 | FONT-SIZE: 100%; |
---|
| 128 | BACKGROUND-COLOR: #ffffff; |
---|
| 129 | } |
---|
| 130 | PRE |
---|
| 131 | { |
---|
| 132 | MARGIN-LEFT: 2em; |
---|
| 133 | FONT-FAMILY: Courier; |
---|
| 134 | } |
---|
| 135 | CODE |
---|
| 136 | { |
---|
| 137 | FONT-FAMILY: Courier; |
---|
| 138 | white-space: pre; |
---|
| 139 | } |
---|
| 140 | .pre |
---|
| 141 | { |
---|
| 142 | FONT-FAMILY: Courier; |
---|
| 143 | white-space: pre; |
---|
| 144 | } |
---|
| 145 | .index |
---|
| 146 | { |
---|
| 147 | TEXT-ALIGN: left; |
---|
| 148 | } |
---|
| 149 | .page-index |
---|
| 150 | { |
---|
| 151 | TEXT-ALIGN: left; |
---|
| 152 | } |
---|
| 153 | .definition |
---|
| 154 | { |
---|
| 155 | TEXT-ALIGN: left; |
---|
| 156 | } |
---|
| 157 | .footnote |
---|
| 158 | { |
---|
| 159 | FONT-SIZE: 80%; |
---|
| 160 | VERTICAL-ALIGN: super; |
---|
| 161 | TEXT-DECORATION: none; |
---|
| 162 | } |
---|
| 163 | .function-semantics |
---|
| 164 | { |
---|
| 165 | CLEAR: left; |
---|
| 166 | } |
---|
| 167 | |
---|
| 168 | hr { |
---|
| 169 | width: 75% } |
---|
| 170 | |
---|
| 171 | ol.simple, ul.simple { |
---|
| 172 | margin-bottom: 1em } |
---|
| 173 | |
---|
| 174 | ol.arabic { |
---|
| 175 | list-style: decimal } |
---|
| 176 | |
---|
| 177 | ol.loweralpha { |
---|
| 178 | list-style: lower-alpha } |
---|
| 179 | |
---|
| 180 | ol.upperalpha { |
---|
| 181 | list-style: upper-alpha } |
---|
| 182 | |
---|
| 183 | ol.lowerroman { |
---|
| 184 | list-style: lower-roman } |
---|
| 185 | |
---|
| 186 | ol.upperroman { |
---|
| 187 | list-style: upper-roman } |
---|
| 188 | |
---|
| 189 | p.attribution { |
---|
| 190 | text-align: right ; |
---|
| 191 | margin-left: 50% } |
---|
| 192 | |
---|
| 193 | p.caption { |
---|
| 194 | font-style: italic } |
---|
| 195 | |
---|
| 196 | p.credits { |
---|
| 197 | font-style: italic ; |
---|
| 198 | font-size: smaller } |
---|
| 199 | |
---|
| 200 | p.label { |
---|
| 201 | white-space: nowrap } |
---|
| 202 | |
---|
| 203 | p.rubric { |
---|
| 204 | font-weight: bold ; |
---|
| 205 | font-size: larger ; |
---|
| 206 | color: maroon ; |
---|
| 207 | text-align: center } |
---|
| 208 | |
---|
| 209 | p.sidebar-title { |
---|
| 210 | font-family: sans-serif ; |
---|
| 211 | font-weight: bold ; |
---|
| 212 | font-size: larger } |
---|
| 213 | |
---|
| 214 | p.sidebar-subtitle { |
---|
| 215 | font-family: sans-serif ; |
---|
| 216 | font-weight: bold } |
---|
| 217 | |
---|
| 218 | p.topic-title { |
---|
| 219 | font-weight: bold } |
---|
| 220 | |
---|
| 221 | pre.address { |
---|
| 222 | margin-bottom: 0 ; |
---|
| 223 | margin-top: 0 ; |
---|
| 224 | font-family: serif ; |
---|
| 225 | font-size: 100% } |
---|
| 226 | |
---|
| 227 | pre.line-block { |
---|
| 228 | font-family: serif ; |
---|
| 229 | font-size: 100% } |
---|
| 230 | |
---|
| 231 | pre.literal-block, pre.doctest-block { |
---|
| 232 | margin-left: 2em ; |
---|
| 233 | margin-right: 2em ; |
---|
| 234 | background-color: #eeeeee } |
---|
| 235 | |
---|
| 236 | span.class { |
---|
| 237 | font-family: monospace; |
---|
| 238 | } |
---|
| 239 | |
---|
| 240 | span.classifier { |
---|
| 241 | font-family: sans-serif ; |
---|
| 242 | font-style: oblique } |
---|
| 243 | |
---|
| 244 | span.classifier-delimiter { |
---|
| 245 | font-family: sans-serif ; |
---|
| 246 | font-weight: bold } |
---|
| 247 | |
---|
| 248 | span.doublesize { |
---|
| 249 | font-size: 200% |
---|
| 250 | } |
---|
| 251 | |
---|
| 252 | span.interpreted { |
---|
| 253 | font-family: sans-serif } |
---|
| 254 | |
---|
| 255 | span.concept { |
---|
| 256 | font-family: sans-serif } |
---|
| 257 | |
---|
| 258 | span.function { |
---|
| 259 | font-family: monospace; |
---|
| 260 | } |
---|
| 261 | |
---|
| 262 | span.option { |
---|
| 263 | white-space: nowrap } |
---|
| 264 | |
---|
| 265 | span.option-argument { |
---|
| 266 | font-style: italic } |
---|
| 267 | |
---|
| 268 | span.pre { |
---|
| 269 | white-space: pre } |
---|
| 270 | |
---|
| 271 | span.problematic { |
---|
| 272 | color: red } |
---|
| 273 | |
---|
| 274 | /* Firefox, at least, seems to need some help lowering |
---|
| 275 | subscripts. Without the following, subscripts seem not to drop |
---|
| 276 | at all when in a preformatted block. -- DWA |
---|
| 277 | */ |
---|
| 278 | |
---|
| 279 | sub { |
---|
| 280 | vertical-align: -20% |
---|
| 281 | } |
---|
| 282 | |
---|
| 283 | table { |
---|
| 284 | margin-top: 0.5em ; |
---|
| 285 | margin-bottom: 0.5em } |
---|
| 286 | |
---|
| 287 | table.citation { |
---|
| 288 | border-left: solid thin gray ; |
---|
| 289 | padding-left: 0.5ex } |
---|
| 290 | |
---|
| 291 | table.docinfo { |
---|
| 292 | margin: 2em 4em } |
---|
| 293 | |
---|
| 294 | table.footnote { |
---|
| 295 | border-left: solid thin black ; |
---|
| 296 | padding-left: 0.5ex } |
---|
| 297 | |
---|
| 298 | td, th { |
---|
| 299 | padding-left: 0.5em ; |
---|
| 300 | padding-right: 0.5em ; |
---|
| 301 | vertical-align: top } |
---|
| 302 | |
---|
| 303 | th.docinfo-name, th.field-name { |
---|
| 304 | font-weight: bold ; |
---|
| 305 | text-align: left ; |
---|
| 306 | white-space: nowrap } |
---|
| 307 | |
---|
| 308 | /* |
---|
| 309 | dwa 2003/7/29 -- commented out so that it wouldn't override earlier |
---|
| 310 | styles from boost.css |
---|
| 311 | |
---|
| 312 | h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { |
---|
| 313 | font-size: 100% } |
---|
| 314 | */ |
---|
| 315 | |
---|
| 316 | ul.auto-toc { |
---|
| 317 | list-style-type: none } |
---|
| 318 | |
---|
| 319 | img.boost-logo { |
---|
| 320 | border: none; |
---|
| 321 | vertical-align: middle |
---|
| 322 | } |
---|
| 323 | |
---|
| 324 | pre.literal-block span.concept { |
---|
| 325 | font-style: italic; |
---|
| 326 | } |
---|
| 327 | |
---|