Andrey Andreev | c576995 | 2019-01-16 17:49:35 +0200 | [diff] [blame^] | 1 | /* |
| 2 | * basic.css |
| 3 | * ~~~~~~~~~ |
| 4 | * |
| 5 | * Sphinx stylesheet -- basic theme. |
| 6 | * |
| 7 | * :copyright: Copyright 2007-2017 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 | word-wrap: break-word; |
| 56 | overflow-wrap : break-word; |
| 57 | } |
| 58 | |
| 59 | div.sphinxsidebar ul { |
| 60 | list-style: none; |
| 61 | } |
| 62 | |
| 63 | div.sphinxsidebar ul ul, |
| 64 | div.sphinxsidebar ul.want-points { |
| 65 | margin-left: 20px; |
| 66 | list-style: square; |
| 67 | } |
| 68 | |
| 69 | div.sphinxsidebar ul ul { |
| 70 | margin-top: 0; |
| 71 | margin-bottom: 0; |
| 72 | } |
| 73 | |
| 74 | div.sphinxsidebar form { |
| 75 | margin-top: 10px; |
| 76 | } |
| 77 | |
| 78 | div.sphinxsidebar input { |
| 79 | border: 1px solid #98dbcc; |
| 80 | font-family: sans-serif; |
| 81 | font-size: 1em; |
| 82 | } |
| 83 | |
| 84 | div.sphinxsidebar #searchbox input[type="text"] { |
| 85 | width: 170px; |
| 86 | } |
| 87 | |
| 88 | img { |
| 89 | border: 0; |
| 90 | max-width: 100%; |
| 91 | } |
| 92 | |
| 93 | /* -- search page ----------------------------------------------------------- */ |
| 94 | |
| 95 | ul.search { |
| 96 | margin: 10px 0 0 20px; |
| 97 | padding: 0; |
| 98 | } |
| 99 | |
| 100 | ul.search li { |
| 101 | padding: 5px 0 5px 20px; |
| 102 | background-image: url(file.png); |
| 103 | background-repeat: no-repeat; |
| 104 | background-position: 0 7px; |
| 105 | } |
| 106 | |
| 107 | ul.search li a { |
| 108 | font-weight: bold; |
| 109 | } |
| 110 | |
| 111 | ul.search li div.context { |
| 112 | color: #888; |
| 113 | margin: 2px 0 0 30px; |
| 114 | text-align: left; |
| 115 | } |
| 116 | |
| 117 | ul.keywordmatches li.goodmatch a { |
| 118 | font-weight: bold; |
| 119 | } |
| 120 | |
| 121 | /* -- index page ------------------------------------------------------------ */ |
| 122 | |
| 123 | table.contentstable { |
| 124 | width: 90%; |
| 125 | margin-left: auto; |
| 126 | margin-right: auto; |
| 127 | } |
| 128 | |
| 129 | table.contentstable p.biglink { |
| 130 | line-height: 150%; |
| 131 | } |
| 132 | |
| 133 | a.biglink { |
| 134 | font-size: 1.3em; |
| 135 | } |
| 136 | |
| 137 | span.linkdescr { |
| 138 | font-style: italic; |
| 139 | padding-top: 5px; |
| 140 | font-size: 90%; |
| 141 | } |
| 142 | |
| 143 | /* -- general index --------------------------------------------------------- */ |
| 144 | |
| 145 | table.indextable { |
| 146 | width: 100%; |
| 147 | } |
| 148 | |
| 149 | table.indextable td { |
| 150 | text-align: left; |
| 151 | vertical-align: top; |
| 152 | } |
| 153 | |
| 154 | table.indextable ul { |
| 155 | margin-top: 0; |
| 156 | margin-bottom: 0; |
| 157 | list-style-type: none; |
| 158 | } |
| 159 | |
| 160 | table.indextable > tbody > tr > td > ul { |
| 161 | padding-left: 0em; |
| 162 | } |
| 163 | |
| 164 | table.indextable tr.pcap { |
| 165 | height: 10px; |
| 166 | } |
| 167 | |
| 168 | table.indextable tr.cap { |
| 169 | margin-top: 10px; |
| 170 | background-color: #f2f2f2; |
| 171 | } |
| 172 | |
| 173 | img.toggler { |
| 174 | margin-right: 3px; |
| 175 | margin-top: 3px; |
| 176 | cursor: pointer; |
| 177 | } |
| 178 | |
| 179 | div.modindex-jumpbox { |
| 180 | border-top: 1px solid #ddd; |
| 181 | border-bottom: 1px solid #ddd; |
| 182 | margin: 1em 0 1em 0; |
| 183 | padding: 0.4em; |
| 184 | } |
| 185 | |
| 186 | div.genindex-jumpbox { |
| 187 | border-top: 1px solid #ddd; |
| 188 | border-bottom: 1px solid #ddd; |
| 189 | margin: 1em 0 1em 0; |
| 190 | padding: 0.4em; |
| 191 | } |
| 192 | |
| 193 | /* -- domain module index --------------------------------------------------- */ |
| 194 | |
| 195 | table.modindextable td { |
| 196 | padding: 2px; |
| 197 | border-collapse: collapse; |
| 198 | } |
| 199 | |
| 200 | /* -- general body styles --------------------------------------------------- */ |
| 201 | |
| 202 | div.body p, div.body dd, div.body li, div.body blockquote { |
| 203 | -moz-hyphens: auto; |
| 204 | -ms-hyphens: auto; |
| 205 | -webkit-hyphens: auto; |
| 206 | hyphens: auto; |
| 207 | } |
| 208 | |
| 209 | a.headerlink { |
| 210 | visibility: hidden; |
| 211 | } |
| 212 | |
| 213 | h1:hover > a.headerlink, |
| 214 | h2:hover > a.headerlink, |
| 215 | h3:hover > a.headerlink, |
| 216 | h4:hover > a.headerlink, |
| 217 | h5:hover > a.headerlink, |
| 218 | h6:hover > a.headerlink, |
| 219 | dt:hover > a.headerlink, |
| 220 | caption:hover > a.headerlink, |
| 221 | p.caption:hover > a.headerlink, |
| 222 | div.code-block-caption:hover > a.headerlink { |
| 223 | visibility: visible; |
| 224 | } |
| 225 | |
| 226 | div.body p.caption { |
| 227 | text-align: inherit; |
| 228 | } |
| 229 | |
| 230 | div.body td { |
| 231 | text-align: left; |
| 232 | } |
| 233 | |
| 234 | .first { |
| 235 | margin-top: 0 !important; |
| 236 | } |
| 237 | |
| 238 | p.rubric { |
| 239 | margin-top: 30px; |
| 240 | font-weight: bold; |
| 241 | } |
| 242 | |
| 243 | img.align-left, .figure.align-left, object.align-left { |
| 244 | clear: left; |
| 245 | float: left; |
| 246 | margin-right: 1em; |
| 247 | } |
| 248 | |
| 249 | img.align-right, .figure.align-right, object.align-right { |
| 250 | clear: right; |
| 251 | float: right; |
| 252 | margin-left: 1em; |
| 253 | } |
| 254 | |
| 255 | img.align-center, .figure.align-center, object.align-center { |
| 256 | display: block; |
| 257 | margin-left: auto; |
| 258 | margin-right: auto; |
| 259 | } |
| 260 | |
| 261 | .align-left { |
| 262 | text-align: left; |
| 263 | } |
| 264 | |
| 265 | .align-center { |
| 266 | text-align: center; |
| 267 | } |
| 268 | |
| 269 | .align-right { |
| 270 | text-align: right; |
| 271 | } |
| 272 | |
| 273 | /* -- sidebars -------------------------------------------------------------- */ |
| 274 | |
| 275 | div.sidebar { |
| 276 | margin: 0 0 0.5em 1em; |
| 277 | border: 1px solid #ddb; |
| 278 | padding: 7px 7px 0 7px; |
| 279 | background-color: #ffe; |
| 280 | width: 40%; |
| 281 | float: right; |
| 282 | } |
| 283 | |
| 284 | p.sidebar-title { |
| 285 | font-weight: bold; |
| 286 | } |
| 287 | |
| 288 | /* -- topics ---------------------------------------------------------------- */ |
| 289 | |
| 290 | div.topic { |
| 291 | border: 1px solid #ccc; |
| 292 | padding: 7px 7px 0 7px; |
| 293 | margin: 10px 0 10px 0; |
| 294 | } |
| 295 | |
| 296 | p.topic-title { |
| 297 | font-size: 1.1em; |
| 298 | font-weight: bold; |
| 299 | margin-top: 10px; |
| 300 | } |
| 301 | |
| 302 | /* -- admonitions ----------------------------------------------------------- */ |
| 303 | |
| 304 | div.admonition { |
| 305 | margin-top: 10px; |
| 306 | margin-bottom: 10px; |
| 307 | padding: 7px; |
| 308 | } |
| 309 | |
| 310 | div.admonition dt { |
| 311 | font-weight: bold; |
| 312 | } |
| 313 | |
| 314 | div.admonition dl { |
| 315 | margin-bottom: 0; |
| 316 | } |
| 317 | |
| 318 | p.admonition-title { |
| 319 | margin: 0px 10px 5px 0px; |
| 320 | font-weight: bold; |
| 321 | } |
| 322 | |
| 323 | div.body p.centered { |
| 324 | text-align: center; |
| 325 | margin-top: 25px; |
| 326 | } |
| 327 | |
| 328 | /* -- tables ---------------------------------------------------------------- */ |
| 329 | |
| 330 | table.docutils { |
| 331 | border: 0; |
| 332 | border-collapse: collapse; |
| 333 | } |
| 334 | |
| 335 | table caption span.caption-number { |
| 336 | font-style: italic; |
| 337 | } |
| 338 | |
| 339 | table caption span.caption-text { |
| 340 | } |
| 341 | |
| 342 | table.docutils td, table.docutils th { |
| 343 | padding: 1px 8px 1px 5px; |
| 344 | border-top: 0; |
| 345 | border-left: 0; |
| 346 | border-right: 0; |
| 347 | border-bottom: 1px solid #aaa; |
| 348 | } |
| 349 | |
| 350 | table.footnote td, table.footnote th { |
| 351 | border: 0 !important; |
| 352 | } |
| 353 | |
| 354 | th { |
| 355 | text-align: left; |
| 356 | padding-right: 5px; |
| 357 | } |
| 358 | |
| 359 | table.citation { |
| 360 | border-left: solid 1px gray; |
| 361 | margin-left: 1px; |
| 362 | } |
| 363 | |
| 364 | table.citation td { |
| 365 | border-bottom: none; |
| 366 | } |
| 367 | |
| 368 | /* -- figures --------------------------------------------------------------- */ |
| 369 | |
| 370 | div.figure { |
| 371 | margin: 0.5em; |
| 372 | padding: 0.5em; |
| 373 | } |
| 374 | |
| 375 | div.figure p.caption { |
| 376 | padding: 0.3em; |
| 377 | } |
| 378 | |
| 379 | div.figure p.caption span.caption-number { |
| 380 | font-style: italic; |
| 381 | } |
| 382 | |
| 383 | div.figure p.caption span.caption-text { |
| 384 | } |
| 385 | |
| 386 | /* -- field list styles ----------------------------------------------------- */ |
| 387 | |
| 388 | table.field-list td, table.field-list th { |
| 389 | border: 0 !important; |
| 390 | } |
| 391 | |
| 392 | .field-list ul { |
| 393 | margin: 0; |
| 394 | padding-left: 1em; |
| 395 | } |
| 396 | |
| 397 | .field-list p { |
| 398 | margin: 0; |
| 399 | } |
| 400 | |
| 401 | .field-name { |
| 402 | -moz-hyphens: manual; |
| 403 | -ms-hyphens: manual; |
| 404 | -webkit-hyphens: manual; |
| 405 | hyphens: manual; |
| 406 | } |
| 407 | |
| 408 | /* -- other body styles ----------------------------------------------------- */ |
| 409 | |
| 410 | ol.arabic { |
| 411 | list-style: decimal; |
| 412 | } |
| 413 | |
| 414 | ol.loweralpha { |
| 415 | list-style: lower-alpha; |
| 416 | } |
| 417 | |
| 418 | ol.upperalpha { |
| 419 | list-style: upper-alpha; |
| 420 | } |
| 421 | |
| 422 | ol.lowerroman { |
| 423 | list-style: lower-roman; |
| 424 | } |
| 425 | |
| 426 | ol.upperroman { |
| 427 | list-style: upper-roman; |
| 428 | } |
| 429 | |
| 430 | dl { |
| 431 | margin-bottom: 15px; |
| 432 | } |
| 433 | |
| 434 | dd p { |
| 435 | margin-top: 0px; |
| 436 | } |
| 437 | |
| 438 | dd ul, dd table { |
| 439 | margin-bottom: 10px; |
| 440 | } |
| 441 | |
| 442 | dd { |
| 443 | margin-top: 3px; |
| 444 | margin-bottom: 10px; |
| 445 | margin-left: 30px; |
| 446 | } |
| 447 | |
| 448 | dt:target, .highlighted { |
| 449 | background-color: #fbe54e; |
| 450 | } |
| 451 | |
| 452 | dl.glossary dt { |
| 453 | font-weight: bold; |
| 454 | font-size: 1.1em; |
| 455 | } |
| 456 | |
| 457 | .optional { |
| 458 | font-size: 1.3em; |
| 459 | } |
| 460 | |
| 461 | .sig-paren { |
| 462 | font-size: larger; |
| 463 | } |
| 464 | |
| 465 | .versionmodified { |
| 466 | font-style: italic; |
| 467 | } |
| 468 | |
| 469 | .system-message { |
| 470 | background-color: #fda; |
| 471 | padding: 5px; |
| 472 | border: 3px solid red; |
| 473 | } |
| 474 | |
| 475 | .footnote:target { |
| 476 | background-color: #ffa; |
| 477 | } |
| 478 | |
| 479 | .line-block { |
| 480 | display: block; |
| 481 | margin-top: 1em; |
| 482 | margin-bottom: 1em; |
| 483 | } |
| 484 | |
| 485 | .line-block .line-block { |
| 486 | margin-top: 0; |
| 487 | margin-bottom: 0; |
| 488 | margin-left: 1.5em; |
| 489 | } |
| 490 | |
| 491 | .guilabel, .menuselection { |
| 492 | font-family: sans-serif; |
| 493 | } |
| 494 | |
| 495 | .accelerator { |
| 496 | text-decoration: underline; |
| 497 | } |
| 498 | |
| 499 | .classifier { |
| 500 | font-style: oblique; |
| 501 | } |
| 502 | |
| 503 | abbr, acronym { |
| 504 | border-bottom: dotted 1px; |
| 505 | cursor: help; |
| 506 | } |
| 507 | |
| 508 | /* -- code displays --------------------------------------------------------- */ |
| 509 | |
| 510 | pre { |
| 511 | overflow: auto; |
| 512 | overflow-y: hidden; /* fixes display issues on Chrome browsers */ |
| 513 | } |
| 514 | |
| 515 | span.pre { |
| 516 | -moz-hyphens: none; |
| 517 | -ms-hyphens: none; |
| 518 | -webkit-hyphens: none; |
| 519 | hyphens: none; |
| 520 | } |
| 521 | |
| 522 | td.linenos pre { |
| 523 | padding: 5px 0px; |
| 524 | border: 0; |
| 525 | background-color: transparent; |
| 526 | color: #aaa; |
| 527 | } |
| 528 | |
| 529 | table.highlighttable { |
| 530 | margin-left: 0.5em; |
| 531 | } |
| 532 | |
| 533 | table.highlighttable td { |
| 534 | padding: 0 0.5em 0 0.5em; |
| 535 | } |
| 536 | |
| 537 | div.code-block-caption { |
| 538 | padding: 2px 5px; |
| 539 | font-size: small; |
| 540 | } |
| 541 | |
| 542 | div.code-block-caption code { |
| 543 | background-color: transparent; |
| 544 | } |
| 545 | |
| 546 | div.code-block-caption + div > div.highlight > pre { |
| 547 | margin-top: 0; |
| 548 | } |
| 549 | |
| 550 | div.code-block-caption span.caption-number { |
| 551 | padding: 0.1em 0.3em; |
| 552 | font-style: italic; |
| 553 | } |
| 554 | |
| 555 | div.code-block-caption span.caption-text { |
| 556 | } |
| 557 | |
| 558 | div.literal-block-wrapper { |
| 559 | padding: 1em 1em 0; |
| 560 | } |
| 561 | |
| 562 | div.literal-block-wrapper div.highlight { |
| 563 | margin: 0; |
| 564 | } |
| 565 | |
| 566 | code.descname { |
| 567 | background-color: transparent; |
| 568 | font-weight: bold; |
| 569 | font-size: 1.2em; |
| 570 | } |
| 571 | |
| 572 | code.descclassname { |
| 573 | background-color: transparent; |
| 574 | } |
| 575 | |
| 576 | code.xref, a code { |
| 577 | background-color: transparent; |
| 578 | font-weight: bold; |
| 579 | } |
| 580 | |
| 581 | h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { |
| 582 | background-color: transparent; |
| 583 | } |
| 584 | |
| 585 | .viewcode-link { |
| 586 | float: right; |
| 587 | } |
| 588 | |
| 589 | .viewcode-back { |
| 590 | float: right; |
| 591 | font-family: sans-serif; |
| 592 | } |
| 593 | |
| 594 | div.viewcode-block:target { |
| 595 | margin: -1px -10px; |
| 596 | padding: 0 10px; |
| 597 | } |
| 598 | |
| 599 | /* -- math display ---------------------------------------------------------- */ |
| 600 | |
| 601 | img.math { |
| 602 | vertical-align: middle; |
| 603 | } |
| 604 | |
| 605 | div.body div.math p { |
| 606 | text-align: center; |
| 607 | } |
| 608 | |
| 609 | span.eqno { |
| 610 | float: right; |
| 611 | } |
| 612 | |
| 613 | span.eqno a.headerlink { |
| 614 | position: relative; |
| 615 | left: 0px; |
| 616 | z-index: 1; |
| 617 | } |
| 618 | |
| 619 | div.math:hover a.headerlink { |
| 620 | visibility: visible; |
| 621 | } |
| 622 | |
| 623 | /* -- printout stylesheet --------------------------------------------------- */ |
| 624 | |
| 625 | @media print { |
| 626 | div.document, |
| 627 | div.documentwrapper, |
| 628 | div.bodywrapper { |
| 629 | margin: 0 !important; |
| 630 | width: 100%; |
| 631 | } |
| 632 | |
| 633 | div.sphinxsidebar, |
| 634 | div.related, |
| 635 | div.footer, |
| 636 | #top-link { |
| 637 | display: none; |
| 638 | } |
| 639 | } |