Changeset ada37fa in ammosreader for doc/html/_static/basic.css
- Timestamp:
- 05/04/22 12:00:45 (3 years ago)
- Branches:
- AmmosSource, guix
- Children:
- 64565fe
- Parents:
- 1846087
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/html/_static/basic.css
r1846087 rada37fa 5 5 * Sphinx stylesheet -- basic theme. 6 6 * 7 * :copyright: Copyright 2007-20 19by the Sphinx team, see AUTHORS.7 * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS. 8 8 * :license: BSD, see LICENSE for details. 9 9 * … … 14 14 div.clearer { 15 15 clear: both; 16 } 17 18 div.section::after { 19 display: block; 20 content: ''; 21 clear: left; 16 22 } 17 23 … … 125 131 } 126 132 127 ul.search li div.context {133 ul.search li p.context { 128 134 color: #888; 129 135 margin: 2px 0 0 30px; … … 230 236 a.headerlink { 231 237 visibility: hidden; 238 } 239 240 a.brackets:before, 241 span.brackets > a:before{ 242 content: "["; 243 } 244 245 a.brackets:after, 246 span.brackets > a:after { 247 content: "]"; 232 248 } 233 249 … … 262 278 } 263 279 264 img.align-left, .figure.align-left, object.align-left {280 img.align-left, figure.align-left, .figure.align-left, object.align-left { 265 281 clear: left; 266 282 float: left; … … 268 284 } 269 285 270 img.align-right, .figure.align-right, object.align-right {286 img.align-right, figure.align-right, .figure.align-right, object.align-right { 271 287 clear: right; 272 288 float: right; … … 274 290 } 275 291 276 img.align-center, .figure.align-center, object.align-center {292 img.align-center, figure.align-center, .figure.align-center, object.align-center { 277 293 display: block; 278 294 margin-left: auto; … … 280 296 } 281 297 298 img.align-default, figure.align-default, .figure.align-default { 299 display: block; 300 margin-left: auto; 301 margin-right: auto; 302 } 303 282 304 .align-left { 283 305 text-align: left; … … 288 310 } 289 311 312 .align-default { 313 text-align: center; 314 } 315 290 316 .align-right { 291 317 text-align: right; … … 294 320 /* -- sidebars -------------------------------------------------------------- */ 295 321 296 div.sidebar { 322 div.sidebar, 323 aside.sidebar { 297 324 margin: 0 0 0.5em 1em; 298 325 border: 1px solid #ddb; 299 padding: 7px 7px 0 7px;326 padding: 7px; 300 327 background-color: #ffe; 301 328 width: 40%; 302 329 float: right; 330 clear: right; 331 overflow-x: auto; 303 332 } 304 333 305 334 p.sidebar-title { 306 335 font-weight: bold; 336 } 337 338 div.admonition, div.topic, blockquote { 339 clear: left; 307 340 } 308 341 … … 311 344 div.topic { 312 345 border: 1px solid #ccc; 313 padding: 7px 7px 0 7px;346 padding: 7px; 314 347 margin: 10px 0 10px 0; 315 348 } … … 333 366 } 334 367 335 div.admonition dl {336 margin-bottom: 0;337 }338 339 368 p.admonition-title { 340 369 margin: 0px 10px 5px 0px; … … 347 376 } 348 377 378 /* -- content of sidebars/topics/admonitions -------------------------------- */ 379 380 div.sidebar > :last-child, 381 aside.sidebar > :last-child, 382 div.topic > :last-child, 383 div.admonition > :last-child { 384 margin-bottom: 0; 385 } 386 387 div.sidebar::after, 388 aside.sidebar::after, 389 div.topic::after, 390 div.admonition::after, 391 blockquote::after { 392 display: block; 393 content: ''; 394 clear: both; 395 } 396 349 397 /* -- tables ---------------------------------------------------------------- */ 350 398 351 399 table.docutils { 400 margin-top: 10px; 401 margin-bottom: 10px; 352 402 border: 0; 353 403 border-collapse: collapse; … … 355 405 356 406 table.align-center { 407 margin-left: auto; 408 margin-right: auto; 409 } 410 411 table.align-default { 357 412 margin-left: auto; 358 413 margin-right: auto; … … 392 447 } 393 448 449 th > :first-child, 450 td > :first-child { 451 margin-top: 0px; 452 } 453 454 th > :last-child, 455 td > :last-child { 456 margin-bottom: 0px; 457 } 458 394 459 /* -- figures --------------------------------------------------------------- */ 395 460 396 div.figure {461 div.figure, figure { 397 462 margin: 0.5em; 398 463 padding: 0.5em; 399 464 } 400 465 401 div.figure p.caption {466 div.figure p.caption, figcaption { 402 467 padding: 0.3em; 403 468 } 404 469 405 div.figure p.caption span.caption-number { 470 div.figure p.caption span.caption-number, 471 figcaption span.caption-number { 406 472 font-style: italic; 407 473 } 408 474 409 div.figure p.caption span.caption-text { 475 div.figure p.caption span.caption-text, 476 figcaption span.caption-text { 410 477 } 411 478 … … 434 501 /* -- hlist styles ---------------------------------------------------------- */ 435 502 503 table.hlist { 504 margin: 1em 0; 505 } 506 436 507 table.hlist td { 437 508 vertical-align: top; 438 509 } 439 510 511 /* -- object description styles --------------------------------------------- */ 512 513 .sig { 514 font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; 515 } 516 517 .sig-name, code.descname { 518 background-color: transparent; 519 font-weight: bold; 520 } 521 522 .sig-name { 523 font-size: 1.1em; 524 } 525 526 code.descname { 527 font-size: 1.2em; 528 } 529 530 .sig-prename, code.descclassname { 531 background-color: transparent; 532 } 533 534 .optional { 535 font-size: 1.3em; 536 } 537 538 .sig-paren { 539 font-size: larger; 540 } 541 542 .sig-param.n { 543 font-style: italic; 544 } 545 546 /* C++ specific styling */ 547 548 .sig-inline.c-texpr, 549 .sig-inline.cpp-texpr { 550 font-family: unset; 551 } 552 553 .sig.c .k, .sig.c .kt, 554 .sig.cpp .k, .sig.cpp .kt { 555 color: #0033B3; 556 } 557 558 .sig.c .m, 559 .sig.cpp .m { 560 color: #1750EB; 561 } 562 563 .sig.c .s, .sig.c .sc, 564 .sig.cpp .s, .sig.cpp .sc { 565 color: #067D17; 566 } 567 440 568 441 569 /* -- other body styles ----------------------------------------------------- */ … … 461 589 } 462 590 591 :not(li) > ol > li:first-child > :first-child, 592 :not(li) > ul > li:first-child > :first-child { 593 margin-top: 0px; 594 } 595 596 :not(li) > ol > li:last-child > :last-child, 597 :not(li) > ul > li:last-child > :last-child { 598 margin-bottom: 0px; 599 } 600 601 ol.simple ol p, 602 ol.simple ul p, 603 ul.simple ol p, 604 ul.simple ul p { 605 margin-top: 0; 606 } 607 608 ol.simple > li:not(:first-child) > p, 609 ul.simple > li:not(:first-child) > p { 610 margin-top: 0; 611 } 612 613 ol.simple p, 614 ul.simple p { 615 margin-bottom: 0; 616 } 617 618 dl.footnote > dt, 619 dl.citation > dt { 620 float: left; 621 margin-right: 0.5em; 622 } 623 624 dl.footnote > dd, 625 dl.citation > dd { 626 margin-bottom: 0em; 627 } 628 629 dl.footnote > dd:after, 630 dl.citation > dd:after { 631 content: ""; 632 clear: both; 633 } 634 635 dl.field-list { 636 display: grid; 637 grid-template-columns: fit-content(30%) auto; 638 } 639 640 dl.field-list > dt { 641 font-weight: bold; 642 word-break: break-word; 643 padding-left: 0.5em; 644 padding-right: 5px; 645 } 646 647 dl.field-list > dt:after { 648 content: ":"; 649 } 650 651 dl.field-list > dd { 652 padding-left: 0.5em; 653 margin-top: 0em; 654 margin-left: 0em; 655 margin-bottom: 0em; 656 } 657 463 658 dl { 464 659 margin-bottom: 15px; 465 660 } 466 661 467 dd p{662 dd > :first-child { 468 663 margin-top: 0px; 469 664 } … … 479 674 } 480 675 676 dl > dd:last-child, 677 dl > dd:last-child > :last-child { 678 margin-bottom: 0; 679 } 680 481 681 dt:target, span.highlighted { 482 682 background-color: #fbe54e; … … 490 690 font-weight: bold; 491 691 font-size: 1.1em; 492 }493 494 .optional {495 font-size: 1.3em;496 }497 498 .sig-paren {499 font-size: larger;500 692 } 501 693 … … 538 730 } 539 731 732 .classifier:before { 733 font-style: normal; 734 margin: 0.5em; 735 content: ":"; 736 } 737 540 738 abbr, acronym { 541 739 border-bottom: dotted 1px; … … 548 746 overflow: auto; 549 747 overflow-y: hidden; /* fixes display issues on Chrome browsers */ 748 } 749 750 pre, div[class*="highlight-"] { 751 clear: both; 550 752 } 551 753 … … 557 759 } 558 760 761 div[class*="highlight-"] { 762 margin: 1em 0; 763 } 764 559 765 td.linenos pre { 560 padding: 5px 0px;561 766 border: 0; 562 767 background-color: transparent; … … 565 770 566 771 table.highlighttable { 567 margin-left: 0.5em; 772 display: block; 773 } 774 775 table.highlighttable tbody { 776 display: block; 777 } 778 779 table.highlighttable tr { 780 display: flex; 568 781 } 569 782 570 783 table.highlighttable td { 571 padding: 0 0.5em 0 0.5em; 784 margin: 0; 785 padding: 0; 786 } 787 788 table.highlighttable td.linenos { 789 padding-right: 0.5em; 790 } 791 792 table.highlighttable td.code { 793 flex: 1; 794 overflow: hidden; 795 } 796 797 .highlight .hll { 798 display: block; 799 } 800 801 div.highlight pre, 802 table.highlighttable pre { 803 margin: 0; 804 } 805 806 div.code-block-caption + div { 807 margin-top: 0; 572 808 } 573 809 574 810 div.code-block-caption { 811 margin-top: 1em; 575 812 padding: 2px 5px; 576 813 font-size: small; … … 581 818 } 582 819 583 div.code-block-caption + div > div.highlight > pre { 584 margin-top: 0; 820 table.highlighttable td.linenos, 821 span.linenos, 822 div.highlight span.gp { /* gp: Generic.Prompt */ 823 user-select: none; 824 -webkit-user-select: text; /* Safari fallback only */ 825 -webkit-user-select: none; /* Chrome/Safari */ 826 -moz-user-select: none; /* Firefox */ 827 -ms-user-select: none; /* IE10+ */ 585 828 } 586 829 … … 594 837 595 838 div.literal-block-wrapper { 596 padding: 1em 1em 0; 597 } 598 599 div.literal-block-wrapper div.highlight { 600 margin: 0; 601 } 602 603 code.descname { 604 background-color: transparent; 605 font-weight: bold; 606 font-size: 1.2em; 607 } 608 609 code.descclassname { 610 background-color: transparent; 839 margin: 1em 0; 611 840 } 612 841 … … 649 878 650 879 span.eqno a.headerlink { 651 position: relative; 652 left: 0px; 880 position: absolute; 653 881 z-index: 1; 654 882 }
Note:
See TracChangeset
for help on using the changeset viewer.