Mercurial > pygame
comparison docs/_static/basic.css @ 2217:2b98dc633495
move reST/source to docs/reST
| author | Lenard Lindstrom <len-l@telus.net> |
|---|---|
| date | Wed, 25 May 2011 17:14:49 +0000 |
| parents | d67ad33a728e |
| children | 5f65dd2d9267 |
comparison
equal
deleted
inserted
replaced
| 2216:5ee304243d12 | 2217:2b98dc633495 |
|---|---|
| 1 /* | 1 /** |
| 2 * basic.css | 2 * Sphinx stylesheet -- basic theme |
| 3 * ~~~~~~~~~ | 3 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 4 * | |
| 5 * Sphinx stylesheet -- basic theme. | |
| 6 * | |
| 7 * :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS. | |
| 8 * :license: BSD, see LICENSE for details. | |
| 9 * | |
| 10 */ | 4 */ |
| 11 | 5 |
| 12 /* -- main layout ----------------------------------------------------------- */ | 6 /* -- main layout ----------------------------------------------------------- */ |
| 13 | 7 |
| 14 div.clearer { | 8 div.clearer { |
| 131 font-size: 90%; | 125 font-size: 90%; |
| 132 } | 126 } |
| 133 | 127 |
| 134 /* -- general index --------------------------------------------------------- */ | 128 /* -- general index --------------------------------------------------------- */ |
| 135 | 129 |
| 136 table.indextable { | |
| 137 width: 100%; | |
| 138 } | |
| 139 | |
| 140 table.indextable td { | 130 table.indextable td { |
| 141 text-align: left; | 131 text-align: left; |
| 142 vertical-align: top; | 132 vertical-align: top; |
| 143 } | 133 } |
| 144 | 134 |
| 158 | 148 |
| 159 img.toggler { | 149 img.toggler { |
| 160 margin-right: 3px; | 150 margin-right: 3px; |
| 161 margin-top: 3px; | 151 margin-top: 3px; |
| 162 cursor: pointer; | 152 cursor: pointer; |
| 163 } | |
| 164 | |
| 165 div.modindex-jumpbox { | |
| 166 border-top: 1px solid #ddd; | |
| 167 border-bottom: 1px solid #ddd; | |
| 168 margin: 1em 0 1em 0; | |
| 169 padding: 0.4em; | |
| 170 } | |
| 171 | |
| 172 div.genindex-jumpbox { | |
| 173 border-top: 1px solid #ddd; | |
| 174 border-bottom: 1px solid #ddd; | |
| 175 margin: 1em 0 1em 0; | |
| 176 padding: 0.4em; | |
| 177 } | 153 } |
| 178 | 154 |
| 179 /* -- general body styles --------------------------------------------------- */ | 155 /* -- general body styles --------------------------------------------------- */ |
| 180 | 156 |
| 181 a.headerlink { | 157 a.headerlink { |
| 211 p.rubric { | 187 p.rubric { |
| 212 margin-top: 30px; | 188 margin-top: 30px; |
| 213 font-weight: bold; | 189 font-weight: bold; |
| 214 } | 190 } |
| 215 | 191 |
| 216 img.align-left, .figure.align-left, object.align-left { | |
| 217 clear: left; | |
| 218 float: left; | |
| 219 margin-right: 1em; | |
| 220 } | |
| 221 | |
| 222 img.align-right, .figure.align-right, object.align-right { | |
| 223 clear: right; | |
| 224 float: right; | |
| 225 margin-left: 1em; | |
| 226 } | |
| 227 | |
| 228 img.align-center, .figure.align-center, object.align-center { | |
| 229 display: block; | |
| 230 margin-left: auto; | |
| 231 margin-right: auto; | |
| 232 } | |
| 233 | |
| 234 .align-left { | |
| 235 text-align: left; | |
| 236 } | |
| 237 | |
| 238 .align-center { | |
| 239 clear: both; | |
| 240 text-align: center; | |
| 241 } | |
| 242 | |
| 243 .align-right { | |
| 244 text-align: right; | |
| 245 } | |
| 246 | |
| 247 /* -- sidebars -------------------------------------------------------------- */ | 192 /* -- sidebars -------------------------------------------------------------- */ |
| 248 | 193 |
| 249 div.sidebar { | 194 div.sidebar { |
| 250 margin: 0 0 0.5em 1em; | 195 margin: 0 0 0.5em 1em; |
| 251 border: 1px solid #ddb; | 196 border: 1px solid #ddb; |
| 305 border: 0; | 250 border: 0; |
| 306 border-collapse: collapse; | 251 border-collapse: collapse; |
| 307 } | 252 } |
| 308 | 253 |
| 309 table.docutils td, table.docutils th { | 254 table.docutils td, table.docutils th { |
| 310 padding: 1px 8px 1px 5px; | 255 padding: 1px 8px 1px 0; |
| 311 border-top: 0; | 256 border-top: 0; |
| 312 border-left: 0; | 257 border-left: 0; |
| 313 border-right: 0; | 258 border-right: 0; |
| 314 border-bottom: 1px solid #aaa; | 259 border-bottom: 1px solid #aaa; |
| 315 } | 260 } |
| 325 th { | 270 th { |
| 326 text-align: left; | 271 text-align: left; |
| 327 padding-right: 5px; | 272 padding-right: 5px; |
| 328 } | 273 } |
| 329 | 274 |
| 330 table.citation { | |
| 331 border-left: solid 1px gray; | |
| 332 margin-left: 1px; | |
| 333 } | |
| 334 | |
| 335 table.citation td { | |
| 336 border-bottom: none; | |
| 337 } | |
| 338 | |
| 339 /* -- other body styles ----------------------------------------------------- */ | 275 /* -- other body styles ----------------------------------------------------- */ |
| 340 | |
| 341 ol.arabic { | |
| 342 list-style: decimal; | |
| 343 } | |
| 344 | |
| 345 ol.loweralpha { | |
| 346 list-style: lower-alpha; | |
| 347 } | |
| 348 | |
| 349 ol.upperalpha { | |
| 350 list-style: upper-alpha; | |
| 351 } | |
| 352 | |
| 353 ol.lowerroman { | |
| 354 list-style: lower-roman; | |
| 355 } | |
| 356 | |
| 357 ol.upperroman { | |
| 358 list-style: upper-roman; | |
| 359 } | |
| 360 | 276 |
| 361 dl { | 277 dl { |
| 362 margin-bottom: 15px; | 278 margin-bottom: 15px; |
| 363 } | 279 } |
| 364 | 280 |
| 374 margin-top: 3px; | 290 margin-top: 3px; |
| 375 margin-bottom: 10px; | 291 margin-bottom: 10px; |
| 376 margin-left: 30px; | 292 margin-left: 30px; |
| 377 } | 293 } |
| 378 | 294 |
| 379 dt:target, .highlighted { | 295 dt:target, .highlight { |
| 380 background-color: #fbe54e; | 296 background-color: #fbe54e; |
| 381 } | 297 } |
| 382 | 298 |
| 383 dl.glossary dt { | 299 dl.glossary dt { |
| 384 font-weight: bold; | 300 font-weight: bold; |
| 411 padding: 5px; | 327 padding: 5px; |
| 412 border: 3px solid red; | 328 border: 3px solid red; |
| 413 } | 329 } |
| 414 | 330 |
| 415 .footnote:target { | 331 .footnote:target { |
| 416 background-color: #ffa; | 332 background-color: #ffa |
| 417 } | 333 } |
| 418 | 334 |
| 419 .line-block { | 335 .line-block { |
| 420 display: block; | 336 display: block; |
| 421 margin-top: 1em; | 337 margin-top: 1em; |
| 426 margin-top: 0; | 342 margin-top: 0; |
| 427 margin-bottom: 0; | 343 margin-bottom: 0; |
| 428 margin-left: 1.5em; | 344 margin-left: 1.5em; |
| 429 } | 345 } |
| 430 | 346 |
| 431 .guilabel, .menuselection { | |
| 432 font-family: sans-serif; | |
| 433 } | |
| 434 | |
| 435 .accelerator { | |
| 436 text-decoration: underline; | |
| 437 } | |
| 438 | |
| 439 .classifier { | |
| 440 font-style: oblique; | |
| 441 } | |
| 442 | |
| 443 /* -- code displays --------------------------------------------------------- */ | 347 /* -- code displays --------------------------------------------------------- */ |
| 444 | 348 |
| 445 pre { | 349 pre { |
| 446 overflow: auto; | 350 overflow: auto; |
| 447 overflow-y: hidden; /* fixes display issues on Chrome browsers */ | |
| 448 } | 351 } |
| 449 | 352 |
| 450 td.linenos pre { | 353 td.linenos pre { |
| 451 padding: 5px 0px; | 354 padding: 5px 0px; |
| 452 border: 0; | 355 border: 0; |
| 477 font-weight: bold; | 380 font-weight: bold; |
| 478 } | 381 } |
| 479 | 382 |
| 480 h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { | 383 h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { |
| 481 background-color: transparent; | 384 background-color: transparent; |
| 482 } | |
| 483 | |
| 484 .viewcode-link { | |
| 485 float: right; | |
| 486 } | |
| 487 | |
| 488 .viewcode-back { | |
| 489 float: right; | |
| 490 font-family: sans-serif; | |
| 491 } | |
| 492 | |
| 493 div.viewcode-block:target { | |
| 494 margin: -1px -10px; | |
| 495 padding: 0 10px; | |
| 496 } | 385 } |
| 497 | 386 |
| 498 /* -- math display ---------------------------------------------------------- */ | 387 /* -- math display ---------------------------------------------------------- */ |
| 499 | 388 |
| 500 img.math { | 389 img.math { |
