/* Give some spacing to icons in headings. */ h1 > img { padding-right: 5px; } h2 > img { padding-right: 5px; } /* Remove bottom spacing from lists in tables and admonitions. */ table.docutils > tbody > tr > td > ul, table.docutils > tbody > tr > td > ol { margin-bottom: 0 !important; } div.admonition > p:nth-child(2) { margin-bottom: 0; } /* Avoid horizontal scrolling of API documentation tables. */ .wy-table-responsive table td { white-space: normal; } /* Make API documentation table titles normal-monospace, and give them less spacing. */ .rst-content table.docutils caption { padding-top: 0; font-family: monospace; font-style: normal; } /* Fix font size for lists in table cells. */ table.docutils > tbody > tr > td > ul > li > p, table.docutils > tbody > tr > td > ol > li > p { font-size: inherit; } /* Tweak top and bottom spacing for tables in table cells. */ table.docutils > tbody > tr > td > div.wy-table-responsive { margin-top: 0.5em; margin-bottom: 0; } /* Fix odd row background on tables in table cells. */ tr.row-odd > td { background-color: #fcfcfc !important; } /* Vertical text for tables. */ div.vertical-text { transform: rotate(270deg); } /* Bitfield table. */ div.bit-table > div.wy-table-responsive > table > thead > tr > th:not(.stub), div.bit-table > div.wy-table-responsive > table > tbody > tr > td { text-align: center; vertical-align: middle; min-width: 26px; padding: 0; } /* Toggle containers. toggle-always-show is a class that takes on the look of a toggle container, but is always shown. */ .toggle, .toggle-always-show { background: #f3f6f6; border: 1px solid #e1e4e5; padding: 1em; margin: 0 0 24px; } .toggle-closed > .toggle-header, .toggle-open > .toggle-header { cursor: pointer; } @media screen { /* show toggle arrows on screen only */ .toggle-closed > .toggle-header > p:before { content: "\0025B6 "; } .toggle-open > .toggle-header > p:before { content: "\0025BC "; } } .toggle-header > p { font-weight: bold; margin-bottom: 0; } .toggle > div:nth-child(2), .toggle-always-show > div:nth-child(2) { margin-top: 12px; margin-bottom: 0; } @media screen { .toggle-closed > div:nth-child(2) { display: none; } } @media print { .toggle-closed > div:nth-child(2) { display: block !important; } } /* Print stuff. */ @media print { /* Allow page breaks in the middle of code. */ pre { break-inside: auto; } /* Fix theme bug where code blocks have blank space at the end. */ .rst-content div[class^=highlight] { white-space: nowrap; } div[class*="highlight-"] { white-space: pre-wrap; } }