| 1 |
/** Fix the font weight (300 for normal, 400 for slightly bold) **/ |
| 2 |
|
| 3 |
div.page, h1, h2, h3, h4, h5, h6, .sidebar-tree .current-page>.reference, button, input, optgroup, select, textarea, th.head { |
| 4 |
font-weight: 300 |
| 5 |
} |
| 6 |
|
| 7 |
.toc-tree li.scroll-current>.reference, dl.glossary dt, dl.simple dt, dl:not([class]) dt { |
| 8 |
font-weight: 400; |
| 9 |
} |
| 10 |
|
| 11 |
/** Table styling **/ |
| 12 |
|
| 13 |
th.head { |
| 14 |
text-transform: uppercase; |
| 15 |
font-size: var(--font-size--small); |
| 16 |
} |
| 17 |
|
| 18 |
table.docutils { |
| 19 |
border: 0; |
| 20 |
box-shadow: none; |
| 21 |
width:100%; |
| 22 |
} |
| 23 |
|
| 24 |
table.docutils td, table.docutils th, table.docutils td:last-child, table.docutils th:last-child, table.docutils td:first-child, table.docutils th:first-child { |
| 25 |
border-right: none; |
| 26 |
border-left: none; |
| 27 |
} |
| 28 |
|
| 29 |
/* Allow to centre text horizontally in table data cells */ |
| 30 |
table.align-center { |
| 31 |
text-align: center !important; |
| 32 |
} |
| 33 |
|
| 34 |
/** No rounded corners **/ |
| 35 |
|
| 36 |
.admonition, code.literal, .sphinx-tabs-tab, .sphinx-tabs-panel, .highlight { |
| 37 |
border-radius: 0; |
| 38 |
} |
| 39 |
|
| 40 |
/** Admonition styling **/ |
| 41 |
|
| 42 |
.admonition { |
| 43 |
border-top: 1px solid #d9d9d9; |
| 44 |
border-right: 1px solid #d9d9d9; |
| 45 |
border-bottom: 1px solid #d9d9d9; |
| 46 |
} |
| 47 |
|
| 48 |
/** Color for the "copy link" symbol next to headings **/ |
| 49 |
|
| 50 |
a.headerlink { |
| 51 |
color: var(--color-brand-primary); |
| 52 |
} |
| 53 |
|
| 54 |
/** Line to the left of the current navigation entry **/ |
| 55 |
|
| 56 |
.sidebar-tree li.current-page { |
| 57 |
border-left: 2px solid var(--color-brand-primary); |
| 58 |
} |
| 59 |
|
| 60 |
/** Some tweaks for issue #16 **/ |
| 61 |
|
| 62 |
[role="tablist"] { |
| 63 |
border-bottom: 1px solid var(--color-sidebar-item-background--hover); |
| 64 |
} |
| 65 |
|
| 66 |
.sphinx-tabs-tab[aria-selected="true"] { |
| 67 |
border: 0; |
| 68 |
border-bottom: 2px solid var(--color-brand-primary); |
| 69 |
background-color: var(--color-sidebar-item-background--current); |
| 70 |
font-weight:300; |
| 71 |
} |
| 72 |
|
| 73 |
.sphinx-tabs-tab{ |
| 74 |
color: var(--color-brand-primary); |
| 75 |
font-weight:300; |
| 76 |
} |
| 77 |
|
| 78 |
.sphinx-tabs-panel { |
| 79 |
border: 0; |
| 80 |
border-bottom: 1px solid var(--color-sidebar-item-background--hover); |
| 81 |
background: var(--color-background-primary); |
| 82 |
} |
| 83 |
|
| 84 |
button.sphinx-tabs-tab:hover { |
| 85 |
background-color: var(--color-sidebar-item-background--hover); |
| 86 |
} |
| 87 |
|
| 88 |
/** Custom classes to fix scrolling in tables by decreasing the |
| 89 |
font size or breaking certain columns. |
| 90 |
Specify the classes in the Markdown file with, for example: |
| 91 |
```{rst-class} break-col-4 min-width-4-8 |
| 92 |
``` |
| 93 |
**/ |
| 94 |
|
| 95 |
table.dec-font-size { |
| 96 |
font-size: smaller; |
| 97 |
} |
| 98 |
table.break-col-1 td.text-left:first-child { |
| 99 |
word-break: break-word; |
| 100 |
} |
| 101 |
table.break-col-4 td.text-left:nth-child(4) { |
| 102 |
word-break: break-word; |
| 103 |
} |
| 104 |
table.min-width-1-15 td.text-left:first-child { |
| 105 |
min-width: 15em; |
| 106 |
} |
| 107 |
table.min-width-4-8 td.text-left:nth-child(4) { |
| 108 |
min-width: 8em; |
| 109 |
} |
| 110 |
|
| 111 |
/** Underline for abbreviations **/ |
| 112 |
|
| 113 |
abbr[title] { |
| 114 |
text-decoration: underline solid #cdcdcd; |
| 115 |
} |
| 116 |
|
| 117 |
/** Use the same style for right-details as for left-details **/ |
| 118 |
.bottom-of-page .right-details { |
| 119 |
font-size: var(--font-size--small); |
| 120 |
display: block; |
| 121 |
} |
| 122 |
|
| 123 |
/** Version switcher */ |
| 124 |
button.version_select { |
| 125 |
color: var(--color-foreground-primary); |
| 126 |
background-color: var(--color-toc-background); |
| 127 |
padding: 5px 10px; |
| 128 |
border: none; |
| 129 |
} |
| 130 |
|
| 131 |
.version_select:hover, .version_select:focus { |
| 132 |
background-color: var(--color-sidebar-item-background--hover); |
| 133 |
} |
| 134 |
|
| 135 |
.version_dropdown { |
| 136 |
position: relative; |
| 137 |
display: inline-block; |
| 138 |
text-align: right; |
| 139 |
font-size: var(--sidebar-item-font-size); |
| 140 |
} |
| 141 |
|
| 142 |
.available_versions { |
| 143 |
display: none; |
| 144 |
position: absolute; |
| 145 |
right: 0px; |
| 146 |
background-color: var(--color-toc-background); |
| 147 |
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); |
| 148 |
z-index: 11; |
| 149 |
} |
| 150 |
|
| 151 |
.available_versions a { |
| 152 |
color: var(--color-foreground-primary); |
| 153 |
padding: 12px 16px; |
| 154 |
text-decoration: none; |
| 155 |
display: block; |
| 156 |
} |
| 157 |
|
| 158 |
.available_versions a:hover {background-color: var(--color-sidebar-item-background--current)} |
| 159 |
|
| 160 |
.show {display:block;} |
| 161 |
|
| 162 |
/** Fix for nested numbered list - the nested list is lettered **/ |
| 163 |
ol.arabic ol.arabic { |
| 164 |
list-style: lower-alpha; |
| 165 |
} |
| 166 |
|
| 167 |
/** Make expandable sections look like links **/ |
| 168 |
details summary { |
| 169 |
color: var(--color-link); |
| 170 |
} |
| 171 |
|
| 172 |
/** Fix the styling of the version box for readthedocs **/ |
| 173 |
|
| 174 |
#furo-readthedocs-versions .rst-versions, #furo-readthedocs-versions .rst-current-version, #furo-readthedocs-versions:focus-within .rst-current-version, #furo-readthedocs-versions:hover .rst-current-version { |
| 175 |
background: var(--color-sidebar-item-background--hover); |
| 176 |
} |
| 177 |
|
| 178 |
.rst-versions .rst-other-versions dd a { |
| 179 |
color: var(--color-link); |
| 180 |
} |
| 181 |
|
| 182 |
#furo-readthedocs-versions:focus-within .rst-current-version .fa-book, #furo-readthedocs-versions:hover .rst-current-version .fa-book, .rst-versions .rst-other-versions { |
| 183 |
color: var(--color-sidebar-link-text); |
| 184 |
} |
| 185 |
|
| 186 |
.rst-versions .rst-current-version { |
| 187 |
color: var(--color-version-popup); |
| 188 |
font-weight: bolder; |
| 189 |
} |
| 190 |
|
| 191 |
/* Code-block copybutton invisible by default |
| 192 |
(overriding Furo config to achieve default copybutton setting). */ |
| 193 |
.highlight button.copybtn { |
| 194 |
opacity: 0; |
| 195 |
} |