joe.gregorio | 258eefb | 2008-09-06 01:30:25 +0000 | [diff] [blame] | 1 | /** |
| 2 | * Alternate Sphinx design |
| 3 | * Originally created by Armin Ronacher for Werkzeug, adapted by Georg Brandl. |
| 4 | */ |
| 5 | |
| 6 | body { |
| 7 | font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif; |
| 8 | font-size: 14px; |
| 9 | letter-spacing: -0.01em; |
| 10 | line-height: 150%; |
| 11 | text-align: center; |
| 12 | /*background-color: #AFC1C4; */ |
| 13 | background-color: #BFD1D4; |
| 14 | color: black; |
| 15 | padding: 0; |
| 16 | border: 1px solid #aaa; |
| 17 | |
| 18 | margin: 0px 80px 0px 80px; |
| 19 | min-width: 740px; |
| 20 | } |
| 21 | |
| 22 | a { |
| 23 | color: #CA7900; |
| 24 | text-decoration: none; |
| 25 | } |
| 26 | |
| 27 | a:hover { |
| 28 | color: #2491CF; |
| 29 | } |
| 30 | |
| 31 | pre { |
| 32 | font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; |
| 33 | font-size: 0.95em; |
| 34 | letter-spacing: 0.015em; |
| 35 | padding: 0.5em; |
| 36 | border: 1px solid #ccc; |
| 37 | background-color: #f8f8f8; |
| 38 | } |
| 39 | |
| 40 | td.linenos pre { |
| 41 | padding: 0.5em 0; |
| 42 | border: 0; |
| 43 | background-color: transparent; |
| 44 | color: #aaa; |
| 45 | } |
| 46 | |
| 47 | table.highlighttable { |
| 48 | margin-left: 0.5em; |
| 49 | } |
| 50 | |
| 51 | table.highlighttable td { |
| 52 | padding: 0 0.5em 0 0.5em; |
| 53 | } |
| 54 | |
| 55 | cite, code, tt { |
| 56 | font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; |
| 57 | font-size: 0.95em; |
| 58 | letter-spacing: 0.01em; |
| 59 | } |
| 60 | |
| 61 | hr { |
| 62 | border: 1px solid #abc; |
| 63 | margin: 2em; |
| 64 | } |
| 65 | |
| 66 | tt { |
| 67 | background-color: #f2f2f2; |
| 68 | border-bottom: 1px solid #ddd; |
| 69 | color: #333; |
| 70 | } |
| 71 | |
| 72 | tt.descname { |
| 73 | background-color: transparent; |
| 74 | font-weight: bold; |
| 75 | font-size: 1.2em; |
| 76 | border: 0; |
| 77 | } |
| 78 | |
| 79 | tt.descclassname { |
| 80 | background-color: transparent; |
| 81 | border: 0; |
| 82 | } |
| 83 | |
| 84 | tt.xref { |
| 85 | background-color: transparent; |
| 86 | font-weight: bold; |
| 87 | border: 0; |
| 88 | } |
| 89 | |
| 90 | a tt { |
| 91 | background-color: transparent; |
| 92 | font-weight: bold; |
| 93 | border: 0; |
| 94 | color: #CA7900; |
| 95 | } |
| 96 | |
| 97 | a tt:hover { |
| 98 | color: #2491CF; |
| 99 | } |
| 100 | |
| 101 | .field-list ul { |
| 102 | margin: 0; |
| 103 | padding-left: 1em; |
| 104 | } |
| 105 | |
| 106 | .field-list p { |
| 107 | margin: 0; |
| 108 | } |
| 109 | |
| 110 | dl { |
| 111 | margin-bottom: 15px; |
| 112 | } |
| 113 | |
| 114 | dd p { |
| 115 | margin-top: 0px; |
| 116 | } |
| 117 | |
| 118 | dd ul, dd table { |
| 119 | margin-bottom: 10px; |
| 120 | } |
| 121 | |
| 122 | dd { |
| 123 | margin-top: 3px; |
| 124 | margin-bottom: 10px; |
| 125 | margin-left: 30px; |
| 126 | } |
| 127 | |
| 128 | .refcount { |
| 129 | color: #060; |
| 130 | } |
| 131 | |
| 132 | dt:target, |
| 133 | .highlight { |
| 134 | background-color: #fbe54e; |
| 135 | } |
| 136 | |
| 137 | dl.glossary dt { |
| 138 | font-weight: bold; |
| 139 | font-size: 1.1em; |
| 140 | } |
| 141 | |
| 142 | pre { |
| 143 | line-height: 120%; |
| 144 | } |
| 145 | |
| 146 | pre a { |
| 147 | color: inherit; |
| 148 | text-decoration: underline; |
| 149 | } |
| 150 | |
| 151 | .first { |
| 152 | margin-top: 0 !important; |
| 153 | } |
| 154 | |
| 155 | div.document { |
| 156 | background-color: white; |
| 157 | text-align: left; |
| 158 | background-image: url(contents.png); |
| 159 | background-repeat: repeat-x; |
| 160 | } |
| 161 | |
| 162 | /* |
| 163 | div.documentwrapper { |
| 164 | width: 100%; |
| 165 | } |
| 166 | */ |
| 167 | |
| 168 | div.clearer { |
| 169 | clear: both; |
| 170 | } |
| 171 | |
| 172 | div.related h3 { |
| 173 | display: none; |
| 174 | } |
| 175 | |
| 176 | div.related ul { |
| 177 | background-image: url(navigation.png); |
| 178 | height: 2em; |
| 179 | list-style: none; |
| 180 | border-top: 1px solid #ddd; |
| 181 | border-bottom: 1px solid #ddd; |
| 182 | margin: 0; |
| 183 | padding-left: 10px; |
| 184 | } |
| 185 | |
| 186 | div.related ul li { |
| 187 | margin: 0; |
| 188 | padding: 0; |
| 189 | height: 2em; |
| 190 | float: left; |
| 191 | } |
| 192 | |
| 193 | div.related ul li.right { |
| 194 | float: right; |
| 195 | margin-right: 5px; |
| 196 | } |
| 197 | |
| 198 | div.related ul li a { |
| 199 | margin: 0; |
| 200 | padding: 0 5px 0 5px; |
| 201 | line-height: 1.75em; |
| 202 | color: #EE9816; |
| 203 | } |
| 204 | |
| 205 | div.related ul li a:hover { |
| 206 | color: #3CA8E7; |
| 207 | } |
| 208 | |
| 209 | div.body { |
| 210 | margin: 0; |
| 211 | padding: 0.5em 20px 20px 20px; |
| 212 | } |
| 213 | |
| 214 | div.bodywrapper { |
| 215 | margin: 0 240px 0 0; |
| 216 | border-right: 1px solid #ccc; |
| 217 | } |
| 218 | |
| 219 | div.body a { |
| 220 | text-decoration: underline; |
| 221 | } |
| 222 | |
| 223 | div.sphinxsidebar { |
| 224 | margin: 0; |
| 225 | padding: 0.5em 15px 15px 0; |
| 226 | width: 210px; |
| 227 | float: right; |
| 228 | text-align: left; |
| 229 | /* margin-left: -100%; */ |
| 230 | } |
| 231 | |
| 232 | div.sphinxsidebar h4, div.sphinxsidebar h3 { |
| 233 | margin: 1em 0 0.5em 0; |
| 234 | font-size: 0.9em; |
| 235 | padding: 0.1em 0 0.1em 0.5em; |
| 236 | color: white; |
| 237 | border: 1px solid #86989B; |
| 238 | background-color: #AFC1C4; |
| 239 | } |
| 240 | |
| 241 | div.sphinxsidebar ul { |
| 242 | padding-left: 1.5em; |
| 243 | margin-top: 7px; |
| 244 | list-style: none; |
| 245 | padding: 0; |
| 246 | line-height: 130%; |
| 247 | } |
| 248 | |
| 249 | div.sphinxsidebar ul ul { |
| 250 | list-style: square; |
| 251 | margin-left: 20px; |
| 252 | } |
| 253 | |
| 254 | p { |
| 255 | margin: 0.8em 0 0.5em 0; |
| 256 | } |
| 257 | |
| 258 | p.rubric { |
| 259 | font-weight: bold; |
| 260 | } |
| 261 | |
| 262 | h1 { |
| 263 | margin: 0; |
| 264 | padding: 0.7em 0 0.3em 0; |
| 265 | font-size: 1.5em; |
| 266 | color: #11557C; |
| 267 | } |
| 268 | |
| 269 | h2 { |
| 270 | margin: 1.3em 0 0.2em 0; |
| 271 | font-size: 1.35em; |
| 272 | padding: 0; |
| 273 | } |
| 274 | |
| 275 | h3 { |
| 276 | margin: 1em 0 -0.3em 0; |
| 277 | font-size: 1.2em; |
| 278 | } |
| 279 | |
| 280 | h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { |
| 281 | color: black!important; |
| 282 | } |
| 283 | |
| 284 | h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor { |
| 285 | display: none; |
| 286 | margin: 0 0 0 0.3em; |
| 287 | padding: 0 0.2em 0 0.2em; |
| 288 | color: #aaa!important; |
| 289 | } |
| 290 | |
| 291 | h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, |
| 292 | h5:hover a.anchor, h6:hover a.anchor { |
| 293 | display: inline; |
| 294 | } |
| 295 | |
| 296 | h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover, |
| 297 | h5 a.anchor:hover, h6 a.anchor:hover { |
| 298 | color: #777; |
| 299 | background-color: #eee; |
| 300 | } |
| 301 | |
| 302 | table { |
| 303 | border-collapse: collapse; |
| 304 | margin: 0 -0.5em 0 -0.5em; |
| 305 | } |
| 306 | |
| 307 | table td, table th { |
| 308 | padding: 0.2em 0.5em 0.2em 0.5em; |
| 309 | } |
| 310 | |
| 311 | div.footer { |
| 312 | background-color: #E3EFF1; |
| 313 | color: #86989B; |
| 314 | padding: 3px 8px 3px 0; |
| 315 | clear: both; |
| 316 | font-size: 0.8em; |
| 317 | text-align: right; |
| 318 | } |
| 319 | |
| 320 | div.footer a { |
| 321 | color: #86989B; |
| 322 | text-decoration: underline; |
| 323 | } |
| 324 | |
| 325 | div.pagination { |
| 326 | margin-top: 2em; |
| 327 | padding-top: 0.5em; |
| 328 | border-top: 1px solid black; |
| 329 | text-align: center; |
| 330 | } |
| 331 | |
| 332 | div.sphinxsidebar ul.toc { |
| 333 | margin: 1em 0 1em 0; |
| 334 | padding: 0 0 0 0.5em; |
| 335 | list-style: none; |
| 336 | } |
| 337 | |
| 338 | div.sphinxsidebar ul.toc li { |
| 339 | margin: 0.5em 0 0.5em 0; |
| 340 | font-size: 0.9em; |
| 341 | line-height: 130%; |
| 342 | } |
| 343 | |
| 344 | div.sphinxsidebar ul.toc li p { |
| 345 | margin: 0; |
| 346 | padding: 0; |
| 347 | } |
| 348 | |
| 349 | div.sphinxsidebar ul.toc ul { |
| 350 | margin: 0.2em 0 0.2em 0; |
| 351 | padding: 0 0 0 1.8em; |
| 352 | } |
| 353 | |
| 354 | div.sphinxsidebar ul.toc ul li { |
| 355 | padding: 0; |
| 356 | } |
| 357 | |
| 358 | div.admonition, div.warning { |
| 359 | font-size: 0.9em; |
| 360 | margin: 1em 0 0 0; |
| 361 | border: 1px solid #86989B; |
| 362 | background-color: #f7f7f7; |
| 363 | } |
| 364 | |
| 365 | div.admonition p, div.warning p { |
| 366 | margin: 0.5em 1em 0.5em 1em; |
| 367 | padding: 0; |
| 368 | } |
| 369 | |
| 370 | div.admonition pre, div.warning pre { |
| 371 | margin: 0.4em 1em 0.4em 1em; |
| 372 | } |
| 373 | |
| 374 | div.admonition p.admonition-title, |
| 375 | div.warning p.admonition-title { |
| 376 | margin: 0; |
| 377 | padding: 0.1em 0 0.1em 0.5em; |
| 378 | color: white; |
| 379 | border-bottom: 1px solid #86989B; |
| 380 | font-weight: bold; |
| 381 | background-color: #AFC1C4; |
| 382 | } |
| 383 | |
| 384 | div.warning { |
| 385 | border: 1px solid #940000; |
| 386 | } |
| 387 | |
| 388 | div.warning p.admonition-title { |
| 389 | background-color: #CF0000; |
| 390 | border-bottom-color: #940000; |
| 391 | } |
| 392 | |
| 393 | div.admonition ul, div.admonition ol, |
| 394 | div.warning ul, div.warning ol { |
| 395 | margin: 0.1em 0.5em 0.5em 3em; |
| 396 | padding: 0; |
| 397 | } |
| 398 | |
| 399 | div.versioninfo { |
| 400 | margin: 1em 0 0 0; |
| 401 | border: 1px solid #ccc; |
| 402 | background-color: #DDEAF0; |
| 403 | padding: 8px; |
| 404 | line-height: 1.3em; |
| 405 | font-size: 0.9em; |
| 406 | } |
| 407 | |
| 408 | |
| 409 | a.headerlink { |
| 410 | color: #c60f0f!important; |
| 411 | font-size: 1em; |
| 412 | margin-left: 6px; |
| 413 | padding: 0 4px 0 4px; |
| 414 | text-decoration: none!important; |
| 415 | visibility: hidden; |
| 416 | } |
| 417 | |
| 418 | h1:hover > a.headerlink, |
| 419 | h2:hover > a.headerlink, |
| 420 | h3:hover > a.headerlink, |
| 421 | h4:hover > a.headerlink, |
| 422 | h5:hover > a.headerlink, |
| 423 | h6:hover > a.headerlink, |
| 424 | dt:hover > a.headerlink { |
| 425 | visibility: visible; |
| 426 | } |
| 427 | |
| 428 | a.headerlink:hover { |
| 429 | background-color: #ccc; |
| 430 | color: white!important; |
| 431 | } |
| 432 | |
| 433 | table.indextable td { |
| 434 | text-align: left; |
| 435 | vertical-align: top; |
| 436 | } |
| 437 | |
| 438 | table.indextable dl, table.indextable dd { |
| 439 | margin-top: 0; |
| 440 | margin-bottom: 0; |
| 441 | } |
| 442 | |
| 443 | table.indextable tr.pcap { |
| 444 | height: 10px; |
| 445 | } |
| 446 | |
| 447 | table.indextable tr.cap { |
| 448 | margin-top: 10px; |
| 449 | background-color: #f2f2f2; |
| 450 | } |
| 451 | |
| 452 | img.toggler { |
| 453 | margin-right: 3px; |
| 454 | margin-top: 3px; |
| 455 | cursor: pointer; |
| 456 | } |
| 457 | |
| 458 | form.pfform { |
| 459 | margin: 10px 0 20px 0; |
| 460 | } |
| 461 | |
| 462 | table.contentstable { |
| 463 | width: 90%; |
| 464 | } |
| 465 | |
| 466 | table.contentstable p.biglink { |
| 467 | line-height: 150%; |
| 468 | } |
| 469 | |
| 470 | a.biglink { |
| 471 | font-size: 1.3em; |
| 472 | } |
| 473 | |
| 474 | span.linkdescr { |
| 475 | font-style: italic; |
| 476 | padding-top: 5px; |
| 477 | font-size: 90%; |
| 478 | } |
| 479 | |
| 480 | ul.search { |
| 481 | margin: 10px 0 0 20px; |
| 482 | padding: 0; |
| 483 | } |
| 484 | |
| 485 | ul.search li { |
| 486 | padding: 5px 0 5px 20px; |
| 487 | background-image: url(file.png); |
| 488 | background-repeat: no-repeat; |
| 489 | background-position: 0 7px; |
| 490 | } |
| 491 | |
| 492 | ul.search li a { |
| 493 | font-weight: bold; |
| 494 | } |
| 495 | |
| 496 | ul.search li div.context { |
| 497 | color: #888; |
| 498 | margin: 2px 0 0 30px; |
| 499 | text-align: left; |
| 500 | } |
| 501 | |
| 502 | ul.keywordmatches li.goodmatch a { |
| 503 | font-weight: bold; |
| 504 | } |