Changeset ada37fa in ammosreader for doc/html/_static/basic.css


Ignore:
Timestamp:
05/04/22 12:00:45 (3 years ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
AmmosSource, guix
Children:
64565fe
Parents:
1846087
Message:

docs generated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/html/_static/basic.css

    r1846087 rada37fa  
    55 * Sphinx stylesheet -- basic theme.
    66 *
    7  * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
     7 * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
    88 * :license: BSD, see LICENSE for details.
    99 *
     
    1414div.clearer {
    1515    clear: both;
     16}
     17
     18div.section::after {
     19    display: block;
     20    content: '';
     21    clear: left;
    1622}
    1723
     
    125131}
    126132
    127 ul.search li div.context {
     133ul.search li p.context {
    128134    color: #888;
    129135    margin: 2px 0 0 30px;
     
    230236a.headerlink {
    231237    visibility: hidden;
     238}
     239
     240a.brackets:before,
     241span.brackets > a:before{
     242    content: "[";
     243}
     244
     245a.brackets:after,
     246span.brackets > a:after {
     247    content: "]";
    232248}
    233249
     
    262278}
    263279
    264 img.align-left, .figure.align-left, object.align-left {
     280img.align-left, figure.align-left, .figure.align-left, object.align-left {
    265281    clear: left;
    266282    float: left;
     
    268284}
    269285
    270 img.align-right, .figure.align-right, object.align-right {
     286img.align-right, figure.align-right, .figure.align-right, object.align-right {
    271287    clear: right;
    272288    float: right;
     
    274290}
    275291
    276 img.align-center, .figure.align-center, object.align-center {
     292img.align-center, figure.align-center, .figure.align-center, object.align-center {
    277293  display: block;
    278294  margin-left: auto;
     
    280296}
    281297
     298img.align-default, figure.align-default, .figure.align-default {
     299  display: block;
     300  margin-left: auto;
     301  margin-right: auto;
     302}
     303
    282304.align-left {
    283305    text-align: left;
     
    288310}
    289311
     312.align-default {
     313    text-align: center;
     314}
     315
    290316.align-right {
    291317    text-align: right;
     
    294320/* -- sidebars -------------------------------------------------------------- */
    295321
    296 div.sidebar {
     322div.sidebar,
     323aside.sidebar {
    297324    margin: 0 0 0.5em 1em;
    298325    border: 1px solid #ddb;
    299     padding: 7px 7px 0 7px;
     326    padding: 7px;
    300327    background-color: #ffe;
    301328    width: 40%;
    302329    float: right;
     330    clear: right;
     331    overflow-x: auto;
    303332}
    304333
    305334p.sidebar-title {
    306335    font-weight: bold;
     336}
     337
     338div.admonition, div.topic, blockquote {
     339    clear: left;
    307340}
    308341
     
    311344div.topic {
    312345    border: 1px solid #ccc;
    313     padding: 7px 7px 0 7px;
     346    padding: 7px;
    314347    margin: 10px 0 10px 0;
    315348}
     
    333366}
    334367
    335 div.admonition dl {
    336     margin-bottom: 0;
    337 }
    338 
    339368p.admonition-title {
    340369    margin: 0px 10px 5px 0px;
     
    347376}
    348377
     378/* -- content of sidebars/topics/admonitions -------------------------------- */
     379
     380div.sidebar > :last-child,
     381aside.sidebar > :last-child,
     382div.topic > :last-child,
     383div.admonition > :last-child {
     384    margin-bottom: 0;
     385}
     386
     387div.sidebar::after,
     388aside.sidebar::after,
     389div.topic::after,
     390div.admonition::after,
     391blockquote::after {
     392    display: block;
     393    content: '';
     394    clear: both;
     395}
     396
    349397/* -- tables ---------------------------------------------------------------- */
    350398
    351399table.docutils {
     400    margin-top: 10px;
     401    margin-bottom: 10px;
    352402    border: 0;
    353403    border-collapse: collapse;
     
    355405
    356406table.align-center {
     407    margin-left: auto;
     408    margin-right: auto;
     409}
     410
     411table.align-default {
    357412    margin-left: auto;
    358413    margin-right: auto;
     
    392447}
    393448
     449th > :first-child,
     450td > :first-child {
     451    margin-top: 0px;
     452}
     453
     454th > :last-child,
     455td > :last-child {
     456    margin-bottom: 0px;
     457}
     458
    394459/* -- figures --------------------------------------------------------------- */
    395460
    396 div.figure {
     461div.figure, figure {
    397462    margin: 0.5em;
    398463    padding: 0.5em;
    399464}
    400465
    401 div.figure p.caption {
     466div.figure p.caption, figcaption {
    402467    padding: 0.3em;
    403468}
    404469
    405 div.figure p.caption span.caption-number {
     470div.figure p.caption span.caption-number,
     471figcaption span.caption-number {
    406472    font-style: italic;
    407473}
    408474
    409 div.figure p.caption span.caption-text {
     475div.figure p.caption span.caption-text,
     476figcaption span.caption-text {
    410477}
    411478
     
    434501/* -- hlist styles ---------------------------------------------------------- */
    435502
     503table.hlist {
     504    margin: 1em 0;
     505}
     506
    436507table.hlist td {
    437508    vertical-align: top;
    438509}
    439510
     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
     526code.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
    440568
    441569/* -- other body styles ----------------------------------------------------- */
     
    461589}
    462590
     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
     601ol.simple ol p,
     602ol.simple ul p,
     603ul.simple ol p,
     604ul.simple ul p {
     605    margin-top: 0;
     606}
     607
     608ol.simple > li:not(:first-child) > p,
     609ul.simple > li:not(:first-child) > p {
     610    margin-top: 0;
     611}
     612
     613ol.simple p,
     614ul.simple p {
     615    margin-bottom: 0;
     616}
     617
     618dl.footnote > dt,
     619dl.citation > dt {
     620    float: left;
     621    margin-right: 0.5em;
     622}
     623
     624dl.footnote > dd,
     625dl.citation > dd {
     626    margin-bottom: 0em;
     627}
     628
     629dl.footnote > dd:after,
     630dl.citation > dd:after {
     631    content: "";
     632    clear: both;
     633}
     634
     635dl.field-list {
     636    display: grid;
     637    grid-template-columns: fit-content(30%) auto;
     638}
     639
     640dl.field-list > dt {
     641    font-weight: bold;
     642    word-break: break-word;
     643    padding-left: 0.5em;
     644    padding-right: 5px;
     645}
     646
     647dl.field-list > dt:after {
     648    content: ":";
     649}
     650
     651dl.field-list > dd {
     652    padding-left: 0.5em;
     653    margin-top: 0em;
     654    margin-left: 0em;
     655    margin-bottom: 0em;
     656}
     657
    463658dl {
    464659    margin-bottom: 15px;
    465660}
    466661
    467 dd p {
     662dd > :first-child {
    468663    margin-top: 0px;
    469664}
     
    479674}
    480675
     676dl > dd:last-child,
     677dl > dd:last-child > :last-child {
     678    margin-bottom: 0;
     679}
     680
    481681dt:target, span.highlighted {
    482682    background-color: #fbe54e;
     
    490690    font-weight: bold;
    491691    font-size: 1.1em;
    492 }
    493 
    494 .optional {
    495     font-size: 1.3em;
    496 }
    497 
    498 .sig-paren {
    499     font-size: larger;
    500692}
    501693
     
    538730}
    539731
     732.classifier:before {
     733    font-style: normal;
     734    margin: 0.5em;
     735    content: ":";
     736}
     737
    540738abbr, acronym {
    541739    border-bottom: dotted 1px;
     
    548746    overflow: auto;
    549747    overflow-y: hidden;  /* fixes display issues on Chrome browsers */
     748}
     749
     750pre, div[class*="highlight-"] {
     751    clear: both;
    550752}
    551753
     
    557759}
    558760
     761div[class*="highlight-"] {
     762    margin: 1em 0;
     763}
     764
    559765td.linenos pre {
    560     padding: 5px 0px;
    561766    border: 0;
    562767    background-color: transparent;
     
    565770
    566771table.highlighttable {
    567     margin-left: 0.5em;
     772    display: block;
     773}
     774
     775table.highlighttable tbody {
     776    display: block;
     777}
     778
     779table.highlighttable tr {
     780    display: flex;
    568781}
    569782
    570783table.highlighttable td {
    571     padding: 0 0.5em 0 0.5em;
     784    margin: 0;
     785    padding: 0;
     786}
     787
     788table.highlighttable td.linenos {
     789    padding-right: 0.5em;
     790}
     791
     792table.highlighttable td.code {
     793    flex: 1;
     794    overflow: hidden;
     795}
     796
     797.highlight .hll {
     798    display: block;
     799}
     800
     801div.highlight pre,
     802table.highlighttable pre {
     803    margin: 0;
     804}
     805
     806div.code-block-caption + div {
     807    margin-top: 0;
    572808}
    573809
    574810div.code-block-caption {
     811    margin-top: 1em;
    575812    padding: 2px 5px;
    576813    font-size: small;
     
    581818}
    582819
    583 div.code-block-caption + div > div.highlight > pre {
    584     margin-top: 0;
     820table.highlighttable td.linenos,
     821span.linenos,
     822div.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+ */
    585828}
    586829
     
    594837
    595838div.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;
    611840}
    612841
     
    649878
    650879span.eqno a.headerlink {
    651     position: relative;
    652     left: 0px;
     880    position: absolute;
    653881    z-index: 1;
    654882}
Note: See TracChangeset for help on using the changeset viewer.