| 1 |
{ |
| 2 |
font-family: Lato; |
| 3 |
font-weight: 400; |
| 4 |
src: local("ClarityCity Regular"), local("ClarityCity-Regular"), url(fonts/ClarityCity-Regular.woff2); |
| 5 |
} |
| 6 |
|
| 7 |
@font-face { |
| 8 |
font-family: ClarityCity; |
| 9 |
font-weight: 400; |
| 10 |
src: local("ClarityCity Regular"), local("ClarityCity-Regular"), url(fonts/ClarityCity-Regular.woff2); |
| 11 |
} |
| 12 |
|
| 13 |
@font-face { |
| 14 |
font-family: ClarityCity; |
| 15 |
font-weight: 700; |
| 16 |
src: local("ClarityCity Bold"), local("ClarityCity-Bold"), url(fonts/ClarityCity-Bold.woff2); |
| 17 |
} |
| 18 |
|
| 19 |
@font-face { |
| 20 |
font-family: ClarityCity; |
| 21 |
font-style: italic; |
| 22 |
font-weight: 400; |
| 23 |
src: local("ClarityCity RegularItalic"), local("ClarityCity-RegularItalic"), url(fonts/ClarityCity-RegularItalic.woff2); |
| 24 |
} |
| 25 |
|
| 26 |
@font-face { |
| 27 |
font-family: Inconsolata; |
| 28 |
font-weight: 400; |
| 29 |
src: local("Inconsolata"), url(fonts/Inconsolata-Regular.woff2); |
| 30 |
} |
| 31 |
|
| 32 |
@font-face { |
| 33 |
font-family: Inconsolata; |
| 34 |
font-weight: 700; |
| 35 |
src: local("Inconsolata Bold"), url(fonts/Inconsolata-Bold.woff2); |
| 36 |
} |
| 37 |
|
| 38 |
:root { |
| 39 |
--darker-black: #222; |
| 40 |
--black: #333; |
| 41 |
--lighter-black: #444; |
| 42 |
--grey: #f2f2f1; |
| 43 |
--red: #e8403a; |
| 44 |
--white: #fff; |
| 45 |
} |
| 46 |
|
| 47 |
body { |
| 48 |
color: var(--black); |
| 49 |
font-family: ClarityCity, sans-serif; |
| 50 |
} |
| 51 |
|
| 52 |
.rst-content .toctree-wrapper > p.caption, h1, h2, h3, h4, h5, h6, legend { |
| 53 |
font-family: Inconsolata, monospace; |
| 54 |
} |
| 55 |
|
| 56 |
.rst-content h2 { |
| 57 |
margin-top: 1.75em; |
| 58 |
} |
| 59 |
|
| 60 |
.rst-content h3 { |
| 61 |
font-size: 1.25em; |
| 62 |
} |
| 63 |
|
| 64 |
.rst-content h4 { |
| 65 |
font-size: 1em; |
| 66 |
} |
| 67 |
|
| 68 |
.rst-content .linenodiv pre, .rst-content div[class^=highlight] pre, .rst-content pre.literal-block { |
| 69 |
font-family: Inconsolata, monospace; |
| 70 |
font-size: 1em; |
| 71 |
} |
| 72 |
|
| 73 |
.rst-content code, .rst-content tt { |
| 74 |
border: none; |
| 75 |
font-family: Inconsolata, monospace; |
| 76 |
font-size: 1em; |
| 77 |
padding: 0; |
| 78 |
} |
| 79 |
|
| 80 |
.rst-content .toctree-wrapper ul li > ul, .rst-content .toctree-wrapper ol li > ul, .rst-content .toctree-wrapper ul li > ol, .rst-content .toctree-wrapper ol li > ol { |
| 81 |
margin-bottom: 0.2em; |
| 82 |
margin-top: 0.2em; |
| 83 |
} |
| 84 |
|
| 85 |
.rst-content code.literal, .rst-content tt.literal { |
| 86 |
background: transparent; |
| 87 |
color: inherit; |
| 88 |
} |
| 89 |
|
| 90 |
.wy-side-nav-search { |
| 91 |
background-color: var(--red); |
| 92 |
} |
| 93 |
|
| 94 |
.wy-side-nav-search .version { |
| 95 |
display: none; |
| 96 |
} |
| 97 |
|
| 98 |
.wy-menu-vertical header, .wy-menu-vertical p.caption { |
| 99 |
color: var(--red); |
| 100 |
} |
| 101 |
|
| 102 |
.wy-nav-content { |
| 103 |
background: var(--white); |
| 104 |
} |
| 105 |
|
| 106 |
.wy-nav-content a, .wy-nav-content a:visited { |
| 107 |
color: var(--red); |
| 108 |
} |
| 109 |
|
| 110 |
.wy-nav-content a:hover { |
| 111 |
color: var(--red); |
| 112 |
text-decoration: underline; |
| 113 |
} |
| 114 |
|
| 115 |
.wy-side-nav-search input[type=text] { |
| 116 |
border: 1px solid var(--grey); |
| 117 |
border-radius: 0; |
| 118 |
} |
| 119 |
|
| 120 |
.wy-nav-side { |
| 121 |
background: var(--grey); |
| 122 |
} |
| 123 |
|
| 124 |
.wy-menu-vertical a { |
| 125 |
color: inherit; |
| 126 |
} |
| 127 |
|
| 128 |
.wy-menu-vertical a:hover { |
| 129 |
background: var(--white); |
| 130 |
} |
| 131 |
|
| 132 |
.wy-nav-content-wrap { |
| 133 |
background: var(--grey); |
| 134 |
} |
| 135 |
|
| 136 |
.wy-side-nav-search > div.version { |
| 137 |
color: var(--white); |
| 138 |
} |
| 139 |
|
| 140 |
.wy-nav-top { |
| 141 |
background: var(--red); |
| 142 |
} |
| 143 |
|
| 144 |
#versions { |
| 145 |
background: var(--red) !important; |
| 146 |
} |
| 147 |
|
| 148 |
@media (prefers-color-scheme: dark) { |
| 149 |
body { |
| 150 |
color: var(--white); |
| 151 |
} |
| 152 |
|
| 153 |
.admonition { |
| 154 |
color: var(--black); |
| 155 |
} |
| 156 |
|
| 157 |
.wy-nav-content { |
| 158 |
background: var(--black); |
| 159 |
} |
| 160 |
|
| 161 |
.wy-nav-content-wrap { |
| 162 |
background: var(--darker-black); |
| 163 |
} |
| 164 |
|
| 165 |
.wy-nav-side { |
| 166 |
background: var(--darker-black); |
| 167 |
} |
| 168 |
|
| 169 |
.wy-menu-vertical a:hover { |
| 170 |
background: var(--black); |
| 171 |
} |
| 172 |
|
| 173 |
.wy-menu-vertical li.current { |
| 174 |
background: var(--black); |
| 175 |
} |
| 176 |
|
| 177 |
.wy-menu-vertical li.toctree-l2 a { |
| 178 |
border-color: var(--lighter-black); |
| 179 |
color: var(--white); |
| 180 |
} |
| 181 |
|
| 182 |
.wy-menu-vertical li[class^=toctree].current > a, |
| 183 |
.wy-menu-vertical li[class^=toctree].current li[class^=toctree].current > a { |
| 184 |
background: var(--darker-black); |
| 185 |
border-color: var(--lighter-black); |
| 186 |
color: var(--white); |
| 187 |
} |
| 188 |
|
| 189 |
.wy-menu-vertical li[class^=toctree].current li[class^=toctree]:not(.current) > a { |
| 190 |
background: transparent; |
| 191 |
} |
| 192 |
|
| 193 |
.wy-menu-vertical li[class^=toctree] > a:hover, |
| 194 |
.wy-menu-vertical li[class^=toctree].current li[class^=toctree] > a:hover { |
| 195 |
background: var(--lighter-black); |
| 196 |
} |
| 197 |
|
| 198 |
.wy-menu-vertical li.current > a span.toctree-expand { |
| 199 |
color: inherit; |
| 200 |
} |
| 201 |
|
| 202 |
.dark-invert { |
| 203 |
filter: invert(100%); |
| 204 |
} |
| 205 |
} |
| 206 |
|