[13] | 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: 230px;
|
---|
| 53 | margin-left: -100%;
|
---|
| 54 | font-size: 90%;
|
---|
| 55 | }
|
---|
| 56 |
|
---|
| 57 | div.sphinxsidebar ul {
|
---|
| 58 | list-style: none;
|
---|
| 59 | }
|
---|
| 60 |
|
---|
| 61 | div.sphinxsidebar ul ul,
|
---|
| 62 | div.sphinxsidebar ul.want-points {
|
---|
| 63 | margin-left: 20px;
|
---|
| 64 | list-style: square;
|
---|
| 65 | }
|
---|
| 66 |
|
---|
| 67 | div.sphinxsidebar ul ul {
|
---|
| 68 | margin-top: 0;
|
---|
| 69 | margin-bottom: 0;
|
---|
| 70 | }
|
---|
| 71 |
|
---|
| 72 | div.sphinxsidebar form {
|
---|
| 73 | margin-top: 10px;
|
---|
| 74 | }
|
---|
| 75 |
|
---|
| 76 | div.sphinxsidebar input {
|
---|
| 77 | border: 1px solid #98dbcc;
|
---|
| 78 | font-family: sans-serif;
|
---|
| 79 | font-size: 1em;
|
---|
| 80 | }
|
---|
| 81 |
|
---|
| 82 | div.sphinxsidebar input[type="text"] {
|
---|
| 83 | width: 170px;
|
---|
| 84 | }
|
---|
| 85 |
|
---|
| 86 | div.sphinxsidebar input[type="submit"] {
|
---|
| 87 | width: 30px;
|
---|
| 88 | }
|
---|
| 89 |
|
---|
| 90 | img {
|
---|
| 91 | border: 0;
|
---|
| 92 | }
|
---|
| 93 |
|
---|
| 94 | /* -- search page ----------------------------------------------------------- */
|
---|
| 95 |
|
---|
| 96 | ul.search {
|
---|
| 97 | margin: 10px 0 0 20px;
|
---|
| 98 | padding: 0;
|
---|
| 99 | }
|
---|
| 100 |
|
---|
| 101 | ul.search li {
|
---|
| 102 | padding: 5px 0 5px 20px;
|
---|
| 103 | background-image: url(file.png);
|
---|
| 104 | background-repeat: no-repeat;
|
---|
| 105 | background-position: 0 7px;
|
---|
| 106 | }
|
---|
| 107 |
|
---|
| 108 | ul.search li a {
|
---|
| 109 | font-weight: bold;
|
---|
| 110 | }
|
---|
| 111 |
|
---|
| 112 | ul.search li div.context {
|
---|
| 113 | color: #888;
|
---|
| 114 | margin: 2px 0 0 30px;
|
---|
| 115 | text-align: left;
|
---|
| 116 | }
|
---|
| 117 |
|
---|
| 118 | ul.keywordmatches li.goodmatch a {
|
---|
| 119 | font-weight: bold;
|
---|
| 120 | }
|
---|
| 121 |
|
---|
| 122 | /* -- index page ------------------------------------------------------------ */
|
---|
| 123 |
|
---|
| 124 | table.contentstable {
|
---|
| 125 | width: 90%;
|
---|
| 126 | }
|
---|
| 127 |
|
---|
| 128 | table.contentstable p.biglink {
|
---|
| 129 | line-height: 150%;
|
---|
| 130 | }
|
---|
| 131 |
|
---|
| 132 | a.biglink {
|
---|
| 133 | font-size: 1.3em;
|
---|
| 134 | }
|
---|
| 135 |
|
---|
| 136 | span.linkdescr {
|
---|
| 137 | font-style: italic;
|
---|
| 138 | padding-top: 5px;
|
---|
| 139 | font-size: 90%;
|
---|
| 140 | }
|
---|
| 141 |
|
---|
| 142 | /* -- general index --------------------------------------------------------- */
|
---|
| 143 |
|
---|
| 144 | table.indextable {
|
---|
| 145 | width: 100%;
|
---|
| 146 | }
|
---|
| 147 |
|
---|
| 148 | table.indextable td {
|
---|
| 149 | text-align: left;
|
---|
| 150 | vertical-align: top;
|
---|
| 151 | }
|
---|
| 152 |
|
---|
| 153 | table.indextable dl, table.indextable dd {
|
---|
| 154 | margin-top: 0;
|
---|
| 155 | margin-bottom: 0;
|
---|
| 156 | }
|
---|
| 157 |
|
---|
| 158 | table.indextable tr.pcap {
|
---|
| 159 | height: 10px;
|
---|
| 160 | }
|
---|
| 161 |
|
---|
| 162 | table.indextable tr.cap {
|
---|
| 163 | margin-top: 10px;
|
---|
| 164 | background-color: #f2f2f2;
|
---|
| 165 | }
|
---|
| 166 |
|
---|
| 167 | img.toggler {
|
---|
| 168 | margin-right: 3px;
|
---|
| 169 | margin-top: 3px;
|
---|
| 170 | cursor: pointer;
|
---|
| 171 | }
|
---|
| 172 |
|
---|
| 173 | div.modindex-jumpbox {
|
---|
| 174 | border-top: 1px solid #ddd;
|
---|
| 175 | border-bottom: 1px solid #ddd;
|
---|
| 176 | margin: 1em 0 1em 0;
|
---|
| 177 | padding: 0.4em;
|
---|
| 178 | }
|
---|
| 179 |
|
---|
| 180 | div.genindex-jumpbox {
|
---|
| 181 | border-top: 1px solid #ddd;
|
---|
| 182 | border-bottom: 1px solid #ddd;
|
---|
| 183 | margin: 1em 0 1em 0;
|
---|
| 184 | padding: 0.4em;
|
---|
| 185 | }
|
---|
| 186 |
|
---|
| 187 | /* -- general body styles --------------------------------------------------- */
|
---|
| 188 |
|
---|
| 189 | a.headerlink {
|
---|
| 190 | visibility: hidden;
|
---|
| 191 | }
|
---|
| 192 |
|
---|
| 193 | h1:hover > a.headerlink,
|
---|
| 194 | h2:hover > a.headerlink,
|
---|
| 195 | h3:hover > a.headerlink,
|
---|
| 196 | h4:hover > a.headerlink,
|
---|
| 197 | h5:hover > a.headerlink,
|
---|
| 198 | h6:hover > a.headerlink,
|
---|
| 199 | dt:hover > a.headerlink {
|
---|
| 200 | visibility: visible;
|
---|
| 201 | }
|
---|
| 202 |
|
---|
| 203 | div.body p.caption {
|
---|
| 204 | text-align: inherit;
|
---|
| 205 | }
|
---|
| 206 |
|
---|
| 207 | div.body td {
|
---|
| 208 | text-align: left;
|
---|
| 209 | }
|
---|
| 210 |
|
---|
| 211 | .field-list ul {
|
---|
| 212 | padding-left: 1em;
|
---|
| 213 | }
|
---|
| 214 |
|
---|
| 215 | .first {
|
---|
| 216 | margin-top: 0 !important;
|
---|
| 217 | }
|
---|
| 218 |
|
---|
| 219 | p.rubric {
|
---|
| 220 | margin-top: 30px;
|
---|
| 221 | font-weight: bold;
|
---|
| 222 | }
|
---|
| 223 |
|
---|
| 224 | img.align-left, .figure.align-left, object.align-left {
|
---|
| 225 | clear: left;
|
---|
| 226 | float: left;
|
---|
| 227 | margin-right: 1em;
|
---|
| 228 | }
|
---|
| 229 |
|
---|
| 230 | img.align-right, .figure.align-right, object.align-right {
|
---|
| 231 | clear: right;
|
---|
| 232 | float: right;
|
---|
| 233 | margin-left: 1em;
|
---|
| 234 | }
|
---|
| 235 |
|
---|
| 236 | img.align-center, .figure.align-center, object.align-center {
|
---|
| 237 | display: block;
|
---|
| 238 | margin-left: auto;
|
---|
| 239 | margin-right: auto;
|
---|
| 240 | }
|
---|
| 241 |
|
---|
| 242 | .align-left {
|
---|
| 243 | text-align: left;
|
---|
| 244 | }
|
---|
| 245 |
|
---|
| 246 | .align-center {
|
---|
| 247 | text-align: center;
|
---|
| 248 | }
|
---|
| 249 |
|
---|
| 250 | .align-right {
|
---|
| 251 | text-align: right;
|
---|
| 252 | }
|
---|
| 253 |
|
---|
| 254 | /* -- sidebars -------------------------------------------------------------- */
|
---|
| 255 |
|
---|
| 256 | div.sidebar {
|
---|
| 257 | margin: 0 0 0.5em 1em;
|
---|
| 258 | border: 1px solid #ddb;
|
---|
| 259 | padding: 7px 7px 0 7px;
|
---|
| 260 | background-color: #ffe;
|
---|
| 261 | width: 40%;
|
---|
| 262 | float: right;
|
---|
| 263 | }
|
---|
| 264 |
|
---|
| 265 | p.sidebar-title {
|
---|
| 266 | font-weight: bold;
|
---|
| 267 | }
|
---|
| 268 |
|
---|
| 269 | /* -- topics ---------------------------------------------------------------- */
|
---|
| 270 |
|
---|
| 271 | div.topic {
|
---|
| 272 | border: 1px solid #ccc;
|
---|
| 273 | padding: 7px 7px 0 7px;
|
---|
| 274 | margin: 10px 0 10px 0;
|
---|
| 275 | }
|
---|
| 276 |
|
---|
| 277 | p.topic-title {
|
---|
| 278 | font-size: 1.1em;
|
---|
| 279 | font-weight: bold;
|
---|
| 280 | margin-top: 10px;
|
---|
| 281 | }
|
---|
| 282 |
|
---|
| 283 | /* -- admonitions ----------------------------------------------------------- */
|
---|
| 284 |
|
---|
| 285 | div.admonition {
|
---|
| 286 | margin-top: 10px;
|
---|
| 287 | margin-bottom: 10px;
|
---|
| 288 | padding: 7px;
|
---|
| 289 | }
|
---|
| 290 |
|
---|
| 291 | div.admonition dt {
|
---|
| 292 | font-weight: bold;
|
---|
| 293 | }
|
---|
| 294 |
|
---|
| 295 | div.admonition dl {
|
---|
| 296 | margin-bottom: 0;
|
---|
| 297 | }
|
---|
| 298 |
|
---|
| 299 | p.admonition-title {
|
---|
| 300 | margin: 0px 10px 5px 0px;
|
---|
| 301 | font-weight: bold;
|
---|
| 302 | }
|
---|
| 303 |
|
---|
| 304 | div.body p.centered {
|
---|
| 305 | text-align: center;
|
---|
| 306 | margin-top: 25px;
|
---|
| 307 | }
|
---|
| 308 |
|
---|
| 309 | /* -- tables ---------------------------------------------------------------- */
|
---|
| 310 |
|
---|
| 311 | table.docutils {
|
---|
| 312 | border: 0;
|
---|
| 313 | border-collapse: collapse;
|
---|
| 314 | }
|
---|
| 315 |
|
---|
| 316 | table.docutils td, table.docutils th {
|
---|
| 317 | padding: 1px 8px 1px 5px;
|
---|
| 318 | border-top: 0;
|
---|
| 319 | border-left: 0;
|
---|
| 320 | border-right: 0;
|
---|
| 321 | border-bottom: 1px solid #aaa;
|
---|
| 322 | }
|
---|
| 323 |
|
---|
| 324 | table.field-list td, table.field-list th {
|
---|
| 325 | border: 0 !important;
|
---|
| 326 | }
|
---|
| 327 |
|
---|
| 328 | table.footnote td, table.footnote th {
|
---|
| 329 | border: 0 !important;
|
---|
| 330 | }
|
---|
| 331 |
|
---|
| 332 | th {
|
---|
| 333 | text-align: left;
|
---|
| 334 | padding-right: 5px;
|
---|
| 335 | }
|
---|
| 336 |
|
---|
| 337 | table.citation {
|
---|
| 338 | border-left: solid 1px gray;
|
---|
| 339 | margin-left: 1px;
|
---|
| 340 | }
|
---|
| 341 |
|
---|
| 342 | table.citation td {
|
---|
| 343 | border-bottom: none;
|
---|
| 344 | }
|
---|
| 345 |
|
---|
| 346 | /* -- other body styles ----------------------------------------------------- */
|
---|
| 347 |
|
---|
| 348 | ol.arabic {
|
---|
| 349 | list-style: decimal;
|
---|
| 350 | }
|
---|
| 351 |
|
---|
| 352 | ol.loweralpha {
|
---|
| 353 | list-style: lower-alpha;
|
---|
| 354 | }
|
---|
| 355 |
|
---|
| 356 | ol.upperalpha {
|
---|
| 357 | list-style: upper-alpha;
|
---|
| 358 | }
|
---|
| 359 |
|
---|
| 360 | ol.lowerroman {
|
---|
| 361 | list-style: lower-roman;
|
---|
| 362 | }
|
---|
| 363 |
|
---|
| 364 | ol.upperroman {
|
---|
| 365 | list-style: upper-roman;
|
---|
| 366 | }
|
---|
| 367 |
|
---|
| 368 | dl {
|
---|
| 369 | margin-bottom: 15px;
|
---|
| 370 | }
|
---|
| 371 |
|
---|
| 372 | dd p {
|
---|
| 373 | margin-top: 0px;
|
---|
| 374 | }
|
---|
| 375 |
|
---|
| 376 | dd ul, dd table {
|
---|
| 377 | margin-bottom: 10px;
|
---|
| 378 | }
|
---|
| 379 |
|
---|
| 380 | dd {
|
---|
| 381 | margin-top: 3px;
|
---|
| 382 | margin-bottom: 10px;
|
---|
| 383 | margin-left: 30px;
|
---|
| 384 | }
|
---|
| 385 |
|
---|
| 386 | dt:target, .highlighted {
|
---|
| 387 | background-color: #fbe54e;
|
---|
| 388 | }
|
---|
| 389 |
|
---|
| 390 | dl.glossary dt {
|
---|
| 391 | font-weight: bold;
|
---|
| 392 | font-size: 1.1em;
|
---|
| 393 | }
|
---|
| 394 |
|
---|
| 395 | .field-list ul {
|
---|
| 396 | margin: 0;
|
---|
| 397 | padding-left: 1em;
|
---|
| 398 | }
|
---|
| 399 |
|
---|
| 400 | .field-list p {
|
---|
| 401 | margin: 0;
|
---|
| 402 | }
|
---|
| 403 |
|
---|
| 404 | .refcount {
|
---|
| 405 | color: #060;
|
---|
| 406 | }
|
---|
| 407 |
|
---|
| 408 | .optional {
|
---|
| 409 | font-size: 1.3em;
|
---|
| 410 | }
|
---|
| 411 |
|
---|
| 412 | .versionmodified {
|
---|
| 413 | font-style: italic;
|
---|
| 414 | }
|
---|
| 415 |
|
---|
| 416 | .system-message {
|
---|
| 417 | background-color: #fda;
|
---|
| 418 | padding: 5px;
|
---|
| 419 | border: 3px solid red;
|
---|
| 420 | }
|
---|
| 421 |
|
---|
| 422 | .footnote:target {
|
---|
| 423 | background-color: #ffa;
|
---|
| 424 | }
|
---|
| 425 |
|
---|
| 426 | .line-block {
|
---|
| 427 | display: block;
|
---|
| 428 | margin-top: 1em;
|
---|
| 429 | margin-bottom: 1em;
|
---|
| 430 | }
|
---|
| 431 |
|
---|
| 432 | .line-block .line-block {
|
---|
| 433 | margin-top: 0;
|
---|
| 434 | margin-bottom: 0;
|
---|
| 435 | margin-left: 1.5em;
|
---|
| 436 | }
|
---|
| 437 |
|
---|
| 438 | .guilabel, .menuselection {
|
---|
| 439 | font-family: sans-serif;
|
---|
| 440 | }
|
---|
| 441 |
|
---|
| 442 | .accelerator {
|
---|
| 443 | text-decoration: underline;
|
---|
| 444 | }
|
---|
| 445 |
|
---|
| 446 | .classifier {
|
---|
| 447 | font-style: oblique;
|
---|
| 448 | }
|
---|
| 449 |
|
---|
| 450 | abbr, acronym {
|
---|
| 451 | border-bottom: dotted 1px;
|
---|
| 452 | cursor: help;
|
---|
| 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 | /* -- printout stylesheet --------------------------------------------------- */
|
---|
| 525 |
|
---|
| 526 | @media print {
|
---|
| 527 | div.document,
|
---|
| 528 | div.documentwrapper,
|
---|
| 529 | div.bodywrapper {
|
---|
| 530 | margin: 0 !important;
|
---|
| 531 | width: 100%;
|
---|
| 532 | }
|
---|
| 533 |
|
---|
| 534 | div.sphinxsidebar,
|
---|
| 535 | div.related,
|
---|
| 536 | div.footer,
|
---|
| 537 | #top-link {
|
---|
| 538 | display: none;
|
---|
| 539 | }
|
---|
| 540 | }
|
---|