| 1 | /* |
|---|
| 2 | * basic.css |
|---|
| 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 | */ |
|---|
| 11 | |
|---|
| 12 | /* -- main layout ----------------------------------------------------------- */ |
|---|
| 13 | |
|---|
| 14 | div.clearer { |
|---|
| 15 | clear: both; |
|---|
| 16 | } |
|---|
| 17 | |
|---|
| 18 | /* -- relbar ---------------------------------------------------------------- */ |
|---|
| 19 | |
|---|
| 20 | div.related { |
|---|
| 21 | width: 100%; |
|---|
| 22 | font-size: 90%; |
|---|
| 23 | } |
|---|
| 24 | |
|---|
| 25 | div.related h3 { |
|---|
| 26 | display: none; |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | div.related ul { |
|---|
| 30 | margin: 0; |
|---|
| 31 | padding: 0 0 0 10px; |
|---|
| 32 | list-style: none; |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | div.related li { |
|---|
| 36 | display: inline; |
|---|
| 37 | } |
|---|
| 38 | |
|---|
| 39 | div.related li.right { |
|---|
| 40 | float: right; |
|---|
| 41 | margin-right: 5px; |
|---|
| 42 | } |
|---|
| 43 | |
|---|
| 44 | /* -- sidebar --------------------------------------------------------------- */ |
|---|
| 45 | |
|---|
| 46 | div.sphinxsidebarwrapper { |
|---|
| 47 | padding: 10px 5px 0 10px; |
|---|
| 48 | } |
|---|
| 49 | |
|---|
| 50 | div.sphinxsidebar { |
|---|
| 51 | float: left; |
|---|
| 52 | width: 25%; |
|---|
| 53 | margin-left: -100%; |
|---|
| 54 | font-size: 90%; |
|---|
| 55 | } |
|---|
| 56 | |
|---|
| 57 | div.sphinxsidebar ul { |
|---|
| 58 | list-style: none; |
|---|
| 59 | padding:10px; |
|---|
| 60 | background: #FFCD0B; |
|---|
| 61 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#FFCD0B'); /* for IE */ |
|---|
| 62 | background:-webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#FFCD0B)); /* for webkit browsers */ |
|---|
| 63 | background: -moz-linear-gradient(center top , #FFFFFF, #FFCD0B) repeat scroll 0 0 transparent; |
|---|
| 64 | -moz-border-radius-bottomright: 5px; |
|---|
| 65 | border-bottom-right-radius:5px; |
|---|
| 66 | -webkit-border-bottom-right-radius:5px; |
|---|
| 67 | -moz-border-radius-bottomleft: 5px; |
|---|
| 68 | border-bottom-left-radius:5px; |
|---|
| 69 | -webkit-border-bottom-left-radius:5px; |
|---|
| 70 | background:#FFFFFF; |
|---|
| 71 | } |
|---|
| 72 | |
|---|
| 73 | div.sphinxsidebar ul ul, |
|---|
| 74 | div.sphinxsidebar ul.want-points { |
|---|
| 75 | margin-left: 20px; |
|---|
| 76 | list-style: square; |
|---|
| 77 | } |
|---|
| 78 | |
|---|
| 79 | div.sphinxsidebar ul ul { |
|---|
| 80 | margin-top: 0; |
|---|
| 81 | margin-bottom: 0; |
|---|
| 82 | } |
|---|
| 83 | |
|---|
| 84 | div.sphinxsidebar form { |
|---|
| 85 | margin-top: 10px; |
|---|
| 86 | } |
|---|
| 87 | |
|---|
| 88 | div.sphinxsidebar input { |
|---|
| 89 | border: 1px solid #98dbcc; |
|---|
| 90 | font-family: Verdana; |
|---|
| 91 | font-size: 1em; |
|---|
| 92 | } |
|---|
| 93 | |
|---|
| 94 | img { |
|---|
| 95 | border: 0; |
|---|
| 96 | } |
|---|
| 97 | |
|---|
| 98 | /* -- search page ----------------------------------------------------------- */ |
|---|
| 99 | |
|---|
| 100 | ul.search { |
|---|
| 101 | margin: 10px 0 0 20px; |
|---|
| 102 | padding: 0; |
|---|
| 103 | } |
|---|
| 104 | |
|---|
| 105 | ul.search li { |
|---|
| 106 | padding: 5px 0 5px 20px; |
|---|
| 107 | background-image: url(file.png); |
|---|
| 108 | background-repeat: no-repeat; |
|---|
| 109 | background-position: 0 7px; |
|---|
| 110 | } |
|---|
| 111 | |
|---|
| 112 | ul.search li a { |
|---|
| 113 | font-weight: bold; |
|---|
| 114 | } |
|---|
| 115 | |
|---|
| 116 | ul.search li div.context { |
|---|
| 117 | color: #888; |
|---|
| 118 | margin: 2px 0 0 30px; |
|---|
| 119 | text-align: left; |
|---|
| 120 | } |
|---|
| 121 | |
|---|
| 122 | ul.keywordmatches li.goodmatch a { |
|---|
| 123 | font-weight: bold; |
|---|
| 124 | } |
|---|
| 125 | |
|---|
| 126 | /* -- index page ------------------------------------------------------------ */ |
|---|
| 127 | |
|---|
| 128 | table.contentstable { |
|---|
| 129 | width: 90%; |
|---|
| 130 | } |
|---|
| 131 | |
|---|
| 132 | table.contentstable p.biglink { |
|---|
| 133 | line-height: 150%; |
|---|
| 134 | } |
|---|
| 135 | |
|---|
| 136 | a.biglink { |
|---|
| 137 | font-size: 1.3em; |
|---|
| 138 | } |
|---|
| 139 | |
|---|
| 140 | span.linkdescr { |
|---|
| 141 | font-style: italic; |
|---|
| 142 | padding-top: 5px; |
|---|
| 143 | font-size: 90%; |
|---|
| 144 | } |
|---|
| 145 | |
|---|
| 146 | /* -- general index --------------------------------------------------------- */ |
|---|
| 147 | |
|---|
| 148 | table.indextable { |
|---|
| 149 | width: 100%; |
|---|
| 150 | } |
|---|
| 151 | |
|---|
| 152 | table.indextable td { |
|---|
| 153 | text-align: left; |
|---|
| 154 | vertical-align: top; |
|---|
| 155 | } |
|---|
| 156 | |
|---|
| 157 | table.indextable dl, table.indextable dd { |
|---|
| 158 | margin-top: 0; |
|---|
| 159 | margin-bottom: 0; |
|---|
| 160 | } |
|---|
| 161 | |
|---|
| 162 | table.indextable tr.pcap { |
|---|
| 163 | height: 10px; |
|---|
| 164 | } |
|---|
| 165 | |
|---|
| 166 | table.indextable tr.cap { |
|---|
| 167 | margin-top: 10px; |
|---|
| 168 | background-color: #f2f2f2; |
|---|
| 169 | } |
|---|
| 170 | |
|---|
| 171 | img.toggler { |
|---|
| 172 | margin-right: 3px; |
|---|
| 173 | margin-top: 3px; |
|---|
| 174 | cursor: pointer; |
|---|
| 175 | } |
|---|
| 176 | |
|---|
| 177 | div.modindex-jumpbox { |
|---|
| 178 | border-top: 1px solid #ddd; |
|---|
| 179 | border-bottom: 1px solid #ddd; |
|---|
| 180 | margin: 1em 0 1em 0; |
|---|
| 181 | padding: 0.4em; |
|---|
| 182 | } |
|---|
| 183 | |
|---|
| 184 | div.genindex-jumpbox { |
|---|
| 185 | border-top: 1px solid #ddd; |
|---|
| 186 | border-bottom: 1px solid #ddd; |
|---|
| 187 | margin: 1em 0 1em 0; |
|---|
| 188 | padding: 0.4em; |
|---|
| 189 | } |
|---|
| 190 | |
|---|
| 191 | /* -- general body styles --------------------------------------------------- */ |
|---|
| 192 | |
|---|
| 193 | a.headerlink { |
|---|
| 194 | visibility: hidden; |
|---|
| 195 | } |
|---|
| 196 | |
|---|
| 197 | h1:hover > a.headerlink, |
|---|
| 198 | h2:hover > a.headerlink, |
|---|
| 199 | h3:hover > a.headerlink, |
|---|
| 200 | h4:hover > a.headerlink, |
|---|
| 201 | h5:hover > a.headerlink, |
|---|
| 202 | h6:hover > a.headerlink, |
|---|
| 203 | dt:hover > a.headerlink { |
|---|
| 204 | visibility: visible; |
|---|
| 205 | } |
|---|
| 206 | |
|---|
| 207 | div.body p.caption { |
|---|
| 208 | text-align: inherit; |
|---|
| 209 | } |
|---|
| 210 | |
|---|
| 211 | div td { |
|---|
| 212 | text-align: left; |
|---|
| 213 | } |
|---|
| 214 | |
|---|
| 215 | .field-list ul { |
|---|
| 216 | padding-left: 1em; |
|---|
| 217 | } |
|---|
| 218 | |
|---|
| 219 | .first { |
|---|
| 220 | margin-top: 0 !important; |
|---|
| 221 | } |
|---|
| 222 | |
|---|
| 223 | p.rubric { |
|---|
| 224 | margin-top: 30px; |
|---|
| 225 | font-weight: bold; |
|---|
| 226 | } |
|---|
| 227 | |
|---|
| 228 | img.align-left, .figure.align-left, object.align-left { |
|---|
| 229 | clear: left; |
|---|
| 230 | float: left; |
|---|
| 231 | margin-right: 1em; |
|---|
| 232 | } |
|---|
| 233 | |
|---|
| 234 | img.align-right, .figure.align-right, object.align-right { |
|---|
| 235 | clear: right; |
|---|
| 236 | float: right; |
|---|
| 237 | margin-left: 1em; |
|---|
| 238 | } |
|---|
| 239 | |
|---|
| 240 | img.align-center, .figure.align-center, object.align-center { |
|---|
| 241 | display: block; |
|---|
| 242 | margin-left: auto; |
|---|
| 243 | margin-right: auto; |
|---|
| 244 | } |
|---|
| 245 | |
|---|
| 246 | .align-left { |
|---|
| 247 | text-align: left; |
|---|
| 248 | } |
|---|
| 249 | |
|---|
| 250 | .align-center { |
|---|
| 251 | clear: both; |
|---|
| 252 | text-align: center; |
|---|
| 253 | } |
|---|
| 254 | |
|---|
| 255 | .align-right { |
|---|
| 256 | text-align: right; |
|---|
| 257 | } |
|---|
| 258 | |
|---|
| 259 | /* -- sidebars -------------------------------------------------------------- */ |
|---|
| 260 | |
|---|
| 261 | div.sidebar { |
|---|
| 262 | margin: 0 0 0.5em 1em; |
|---|
| 263 | border: 1px solid #ddb; |
|---|
| 264 | padding: 7px 7px 0 7px; |
|---|
| 265 | background-color: #ffe; |
|---|
| 266 | width: 40%; |
|---|
| 267 | float: right; |
|---|
| 268 | } |
|---|
| 269 | |
|---|
| 270 | p.sidebar-title { |
|---|
| 271 | font-weight: bold; |
|---|
| 272 | } |
|---|
| 273 | |
|---|
| 274 | /* -- topics ---------------------------------------------------------------- */ |
|---|
| 275 | |
|---|
| 276 | div.topic { |
|---|
| 277 | border: 1px solid #ccc; |
|---|
| 278 | padding: 7px 7px 0 7px; |
|---|
| 279 | margin: 10px 0 10px 0; |
|---|
| 280 | } |
|---|
| 281 | |
|---|
| 282 | p.topic-title { |
|---|
| 283 | font-size: 1.1em; |
|---|
| 284 | font-weight: bold; |
|---|
| 285 | margin-top: 10px; |
|---|
| 286 | } |
|---|
| 287 | |
|---|
| 288 | /* -- admonitions ----------------------------------------------------------- */ |
|---|
| 289 | |
|---|
| 290 | div.admonition { |
|---|
| 291 | margin-top: 10px; |
|---|
| 292 | margin-bottom: 10px; |
|---|
| 293 | padding: 7px; |
|---|
| 294 | } |
|---|
| 295 | |
|---|
| 296 | div.admonition dt { |
|---|
| 297 | font-weight: bold; |
|---|
| 298 | } |
|---|
| 299 | |
|---|
| 300 | div.admonition dl { |
|---|
| 301 | margin-bottom: 0; |
|---|
| 302 | } |
|---|
| 303 | |
|---|
| 304 | p.admonition-title { |
|---|
| 305 | margin: 0px 10px 5px 0px; |
|---|
| 306 | font-weight: bold; |
|---|
| 307 | } |
|---|
| 308 | |
|---|
| 309 | div.body p.centered { |
|---|
| 310 | text-align: center; |
|---|
| 311 | margin-top: 25px; |
|---|
| 312 | } |
|---|
| 313 | |
|---|
| 314 | /* -- tables ---------------------------------------------------------------- */ |
|---|
| 315 | |
|---|
| 316 | table.docutils { |
|---|
| 317 | border: 0; |
|---|
| 318 | border-collapse: collapse; |
|---|
| 319 | } |
|---|
| 320 | |
|---|
| 321 | table.docutils td, table.docutils th { |
|---|
| 322 | padding: 1px 8px 1px 5px; |
|---|
| 323 | border-top: 0; |
|---|
| 324 | border-left: 0; |
|---|
| 325 | border-right: 0; |
|---|
| 326 | border-bottom: 1px solid #aaa; |
|---|
| 327 | } |
|---|
| 328 | |
|---|
| 329 | table.field-list td, table.field-list th { |
|---|
| 330 | border: 0 !important; |
|---|
| 331 | } |
|---|
| 332 | |
|---|
| 333 | table.footnote td, table.footnote th { |
|---|
| 334 | border: 0 !important; |
|---|
| 335 | } |
|---|
| 336 | |
|---|
| 337 | th { |
|---|
| 338 | text-align: left; |
|---|
| 339 | padding-right: 5px; |
|---|
| 340 | } |
|---|
| 341 | |
|---|
| 342 | table.citation { |
|---|
| 343 | border-left: solid 1px gray; |
|---|
| 344 | margin-left: 1px; |
|---|
| 345 | } |
|---|
| 346 | |
|---|
| 347 | table.citation td { |
|---|
| 348 | border-bottom: none; |
|---|
| 349 | } |
|---|
| 350 | |
|---|
| 351 | /* -- other body styles ----------------------------------------------------- */ |
|---|
| 352 | |
|---|
| 353 | ol.arabic { |
|---|
| 354 | list-style: decimal; |
|---|
| 355 | } |
|---|
| 356 | |
|---|
| 357 | ol.loweralpha { |
|---|
| 358 | list-style: lower-alpha; |
|---|
| 359 | } |
|---|
| 360 | |
|---|
| 361 | ol.upperalpha { |
|---|
| 362 | list-style: upper-alpha; |
|---|
| 363 | } |
|---|
| 364 | |
|---|
| 365 | ol.lowerroman { |
|---|
| 366 | list-style: lower-roman; |
|---|
| 367 | } |
|---|
| 368 | |
|---|
| 369 | ol.upperroman { |
|---|
| 370 | list-style: upper-roman; |
|---|
| 371 | } |
|---|
| 372 | |
|---|
| 373 | dl { |
|---|
| 374 | margin-bottom: 15px; |
|---|
| 375 | } |
|---|
| 376 | |
|---|
| 377 | dd p { |
|---|
| 378 | margin-top: 0px; |
|---|
| 379 | } |
|---|
| 380 | |
|---|
| 381 | dd ul, dd table { |
|---|
| 382 | margin-bottom: 10px; |
|---|
| 383 | } |
|---|
| 384 | |
|---|
| 385 | dd { |
|---|
| 386 | margin-top: 3px; |
|---|
| 387 | margin-bottom: 10px; |
|---|
| 388 | margin-left: 30px; |
|---|
| 389 | } |
|---|
| 390 | |
|---|
| 391 | dt:target, .highlighted { |
|---|
| 392 | background-color: #fbe54e; |
|---|
| 393 | } |
|---|
| 394 | |
|---|
| 395 | dl.glossary dt { |
|---|
| 396 | font-weight: bold; |
|---|
| 397 | font-size: 1.1em; |
|---|
| 398 | } |
|---|
| 399 | |
|---|
| 400 | .field-list ul { |
|---|
| 401 | margin: 0; |
|---|
| 402 | padding-left: 1em; |
|---|
| 403 | } |
|---|
| 404 | |
|---|
| 405 | .field-list p { |
|---|
| 406 | margin: 0; |
|---|
| 407 | } |
|---|
| 408 | |
|---|
| 409 | .refcount { |
|---|
| 410 | color: #060; |
|---|
| 411 | } |
|---|
| 412 | |
|---|
| 413 | .optional { |
|---|
| 414 | font-size: 1.3em; |
|---|
| 415 | } |
|---|
| 416 | |
|---|
| 417 | .versionmodified { |
|---|
| 418 | font-style: italic; |
|---|
| 419 | } |
|---|
| 420 | |
|---|
| 421 | .system-message { |
|---|
| 422 | background-color: #fda; |
|---|
| 423 | padding: 5px; |
|---|
| 424 | border: 3px solid red; |
|---|
| 425 | } |
|---|
| 426 | |
|---|
| 427 | .footnote:target { |
|---|
| 428 | background-color: #ffa; |
|---|
| 429 | } |
|---|
| 430 | |
|---|
| 431 | .line-block { |
|---|
| 432 | display: block; |
|---|
| 433 | margin-top: 1em; |
|---|
| 434 | margin-bottom: 1em; |
|---|
| 435 | } |
|---|
| 436 | |
|---|
| 437 | .line-block .line-block { |
|---|
| 438 | margin-top: 0; |
|---|
| 439 | margin-bottom: 0; |
|---|
| 440 | margin-left: 1.5em; |
|---|
| 441 | } |
|---|
| 442 | |
|---|
| 443 | .guilabel, .menuselection { |
|---|
| 444 | font-family: verdana; |
|---|
| 445 | } |
|---|
| 446 | |
|---|
| 447 | .accelerator { |
|---|
| 448 | text-decoration: underline; |
|---|
| 449 | } |
|---|
| 450 | |
|---|
| 451 | .classifier { |
|---|
| 452 | font-style: oblique; |
|---|
| 453 | } |
|---|
| 454 | |
|---|
| 455 | /* -- code displays --------------------------------------------------------- */ |
|---|
| 456 | |
|---|
| 457 | pre { |
|---|
| 458 | overflow: auto; |
|---|
| 459 | overflow-y: hidden; /* fixes display issues on Chrome browsers */ |
|---|
| 460 | } |
|---|
| 461 | |
|---|
| 462 | td.linenos pre { |
|---|
| 463 | padding: 5px 0px; |
|---|
| 464 | border: 0; |
|---|
| 465 | background-color: transparent; |
|---|
| 466 | color: #aaa; |
|---|
| 467 | } |
|---|
| 468 | |
|---|
| 469 | table.highlighttable { |
|---|
| 470 | margin-left: 0.5em; |
|---|
| 471 | } |
|---|
| 472 | |
|---|
| 473 | table.highlighttable td { |
|---|
| 474 | padding: 0 0.5em 0 0.5em; |
|---|
| 475 | } |
|---|
| 476 | |
|---|
| 477 | tt.descname { |
|---|
| 478 | background-color: transparent; |
|---|
| 479 | font-weight: bold; |
|---|
| 480 | font-size: 1.2em; |
|---|
| 481 | } |
|---|
| 482 | |
|---|
| 483 | tt.descclassname { |
|---|
| 484 | background-color: transparent; |
|---|
| 485 | } |
|---|
| 486 | |
|---|
| 487 | tt.xref, a tt { |
|---|
| 488 | background-color: transparent; |
|---|
| 489 | font-weight: bold; |
|---|
| 490 | } |
|---|
| 491 | |
|---|
| 492 | h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { |
|---|
| 493 | background-color: transparent; |
|---|
| 494 | } |
|---|
| 495 | |
|---|
| 496 | .viewcode-link { |
|---|
| 497 | float: right; |
|---|
| 498 | } |
|---|
| 499 | |
|---|
| 500 | .viewcode-back { |
|---|
| 501 | float: right; |
|---|
| 502 | font-family: sans-serif; |
|---|
| 503 | } |
|---|
| 504 | |
|---|
| 505 | div.viewcode-block:target { |
|---|
| 506 | margin: -1px -10px; |
|---|
| 507 | padding: 0 10px; |
|---|
| 508 | } |
|---|
| 509 | |
|---|
| 510 | /* -- math display ---------------------------------------------------------- */ |
|---|
| 511 | |
|---|
| 512 | img.math { |
|---|
| 513 | vertical-align: middle; |
|---|
| 514 | } |
|---|
| 515 | |
|---|
| 516 | div.body div.math p { |
|---|
| 517 | text-align: center; |
|---|
| 518 | } |
|---|
| 519 | |
|---|
| 520 | span.eqno { |
|---|
| 521 | float: right; |
|---|
| 522 | } |
|---|
| 523 | |
|---|
| 524 | div.footer { |
|---|
| 525 | padding:0; |
|---|
| 526 | margin:0; |
|---|
| 527 | } |
|---|
| 528 | |
|---|
| 529 | /* -- printout stylesheet --------------------------------------------------- */ |
|---|
| 530 | |
|---|
| 531 | @media print { |
|---|
| 532 | div.document, |
|---|
| 533 | div.documentwrapper, |
|---|
| 534 | div.bodywrapper { |
|---|
| 535 | margin: 0 !important; |
|---|
| 536 | width: 100%; |
|---|
| 537 | } |
|---|
| 538 | |
|---|
| 539 | div.sphinxsidebar, |
|---|
| 540 | div.related, |
|---|
| 541 | div.footer, |
|---|
| 542 | #top-link { |
|---|
| 543 | display: none; |
|---|
| 544 | } |
|---|
| 545 | } |
|---|