| 1 |
/* |
| 2 |
* pygments14.css |
| 3 |
* ~~~~~~~~~~~~~~ |
| 4 |
* |
| 5 |
* Sphinx stylesheet -- pygments14 theme. Heavily copied from sphinx13. |
| 6 |
* |
| 7 |
* :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. |
| 8 |
* :license: BSD, see LICENSE for details. |
| 9 |
* |
| 10 |
*/ |
| 11 |
|
| 12 |
@import url("basic.css"); |
| 13 |
|
| 14 |
/* -- page layout ----------------------------------------------------------- */ |
| 15 |
|
| 16 |
body { |
| 17 |
font-family: {{ theme_font }}, 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', |
| 18 |
'Verdana', sans-serif; |
| 19 |
font-size: 14px; |
| 20 |
text-align: center; |
| 21 |
background-image: url(bodybg.png); |
| 22 |
background-color: {{ theme_background }}; |
| 23 |
color: black; |
| 24 |
padding: 0; |
| 25 |
/* |
| 26 |
border-right: 1px solid {{ theme_border }}; |
| 27 |
border-left: 1px solid {{ theme_border }}; |
| 28 |
*/ |
| 29 |
|
| 30 |
margin: 0 auto; |
| 31 |
max-width: 1080px; |
| 32 |
} |
| 33 |
|
| 34 |
.outerwrapper { |
| 35 |
background-image: url(docbg.png); |
| 36 |
background-attachment: fixed; |
| 37 |
} |
| 38 |
|
| 39 |
.pageheader { |
| 40 |
text-align: left; |
| 41 |
padding: 10px 15px; |
| 42 |
} |
| 43 |
|
| 44 |
.pageheader ul { |
| 45 |
float: right; |
| 46 |
color: white; |
| 47 |
list-style-type: none; |
| 48 |
padding-left: 0; |
| 49 |
margin-top: 40px; |
| 50 |
margin-right: 10px; |
| 51 |
} |
| 52 |
|
| 53 |
.pageheader li { |
| 54 |
float: left; |
| 55 |
margin: 0 0 0 10px; |
| 56 |
} |
| 57 |
|
| 58 |
.pageheader li a { |
| 59 |
border-radius: 3px; |
| 60 |
padding: 8px 12px; |
| 61 |
color: {{ theme_darkgray }}; |
| 62 |
text-shadow: 0 0 5px rgba(0, 0, 0, 0.2); |
| 63 |
} |
| 64 |
|
| 65 |
.pageheader li a:hover { |
| 66 |
background-color: {{ theme_yellow }}; |
| 67 |
color: black; |
| 68 |
text-shadow: none; |
| 69 |
} |
| 70 |
|
| 71 |
div.document { |
| 72 |
width: 700px; |
| 73 |
flex-grow: 100; |
| 74 |
text-align: left; |
| 75 |
/*border-left: 1em solid {{ theme_lightyellow }};*/ |
| 76 |
min-width: 500px; |
| 77 |
} |
| 78 |
|
| 79 |
@media screen and (max-width: 550px) { |
| 80 |
div.document { |
| 81 |
min-width: inherit; |
| 82 |
} |
| 83 |
} |
| 84 |
|
| 85 |
div.bodywrapper { |
| 86 |
background-color: white; |
| 87 |
/* border-right: 1px solid {{ theme_border }}; */ |
| 88 |
} |
| 89 |
|
| 90 |
.flexwrapper { |
| 91 |
display: flex; |
| 92 |
gap: 15px; |
| 93 |
flex-wrap: wrap; |
| 94 |
padding-right: 12px; |
| 95 |
} |
| 96 |
|
| 97 |
div.body { |
| 98 |
margin: 0; |
| 99 |
padding: 0.5em 20px 20px 20px; |
| 100 |
width: 100%; |
| 101 |
box-sizing: border-box; |
| 102 |
} |
| 103 |
|
| 104 |
div.related { |
| 105 |
font-size: 1em; |
| 106 |
color: {{ theme_darkgray }}; |
| 107 |
} |
| 108 |
|
| 109 |
div.related ul { |
| 110 |
background-image: url(relbg.png); |
| 111 |
background-repeat: repeat-y; |
| 112 |
background-color: {{ theme_yellow }}; |
| 113 |
height: 1.9em; |
| 114 |
/* |
| 115 |
border-top: 1px solid {{ theme_border }}; |
| 116 |
border-bottom: 1px solid {{ theme_border }}; |
| 117 |
*/ |
| 118 |
} |
| 119 |
|
| 120 |
div.related ul li { |
| 121 |
margin: 0 5px 0 0; |
| 122 |
padding: 0; |
| 123 |
float: left; |
| 124 |
} |
| 125 |
|
| 126 |
div.related ul li.right { |
| 127 |
float: right; |
| 128 |
margin-right: 5px; |
| 129 |
} |
| 130 |
|
| 131 |
div.related ul li a { |
| 132 |
margin: 0; |
| 133 |
padding: 0 5px 0 5px; |
| 134 |
line-height: 1.75em; |
| 135 |
color: {{ theme_darkgray }}; |
| 136 |
/*text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);*/ |
| 137 |
} |
| 138 |
|
| 139 |
div.related ul li a:hover { |
| 140 |
text-decoration: underline; |
| 141 |
text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.5); |
| 142 |
} |
| 143 |
|
| 144 |
div.sphinxsidebar { |
| 145 |
margin: 0; |
| 146 |
padding: 0 0px 15px 15px; |
| 147 |
width: 210px; |
| 148 |
float: none; |
| 149 |
font-size: 1em; |
| 150 |
text-align: left; |
| 151 |
flex-grow: 1; |
| 152 |
} |
| 153 |
|
| 154 |
.sphinxsidebarwrapper > * { |
| 155 |
flex: 1 1 0px; |
| 156 |
min-width: 200px; |
| 157 |
} |
| 158 |
|
| 159 |
div.sphinxsidebar .logo { |
| 160 |
font-size: 1.8em; |
| 161 |
color: #666; |
| 162 |
font-weight: 300; |
| 163 |
text-align: center; |
| 164 |
} |
| 165 |
|
| 166 |
div.sphinxsidebar .logo img { |
| 167 |
vertical-align: middle; |
| 168 |
} |
| 169 |
|
| 170 |
div.sphinxsidebar input { |
| 171 |
border: 1px solid #aaa; |
| 172 |
font-family: {{ theme_font }}, 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', |
| 173 |
'Verdana', sans-serif; |
| 174 |
font-size: 1em; |
| 175 |
} |
| 176 |
|
| 177 |
div.sphinxsidebar h3 { |
| 178 |
font-size: 1.5em; |
| 179 |
/* border-top: 1px solid {{ theme_border }}; */ |
| 180 |
margin-top: 0; |
| 181 |
margin-bottom: 0.5em; |
| 182 |
padding-top: 0.5em; |
| 183 |
} |
| 184 |
|
| 185 |
div.sphinxsidebar h4 { |
| 186 |
font-size: 1.2em; |
| 187 |
margin-bottom: 0; |
| 188 |
} |
| 189 |
|
| 190 |
div.sphinxsidebar h3, div.sphinxsidebar h4 { |
| 191 |
margin-left: -15px; |
| 192 |
padding-right: 14px; |
| 193 |
padding-left: 14px; |
| 194 |
color: #333; |
| 195 |
font-weight: 300; |
| 196 |
/*text-shadow: 0px 0px 0.5px rgba(0, 0, 0, 0.4);*/ |
| 197 |
} |
| 198 |
|
| 199 |
div.sphinxsidebarwrapper { |
| 200 |
padding: 0; |
| 201 |
display: flex; |
| 202 |
flex-wrap: wrap; |
| 203 |
gap: 15px; |
| 204 |
position: sticky; |
| 205 |
top: 0; |
| 206 |
} |
| 207 |
|
| 208 |
div.sphinxsidebarwrapper > h3:first-child { |
| 209 |
margin-top: 0.5em; |
| 210 |
border: none; |
| 211 |
} |
| 212 |
|
| 213 |
div.sphinxsidebar h3 a { |
| 214 |
color: #333; |
| 215 |
} |
| 216 |
|
| 217 |
div.sphinxsidebar ul { |
| 218 |
color: #444; |
| 219 |
margin-top: 7px; |
| 220 |
padding: 0; |
| 221 |
line-height: 130%; |
| 222 |
} |
| 223 |
|
| 224 |
div.sphinxsidebar ul ul { |
| 225 |
margin-left: 20px; |
| 226 |
list-style-image: url(listitem.png); |
| 227 |
} |
| 228 |
|
| 229 |
div.footer { |
| 230 |
color: {{ theme_darkgray }}; |
| 231 |
text-shadow: 0 0 .2px rgba(255, 255, 255, 0.8); |
| 232 |
padding: 2em; |
| 233 |
text-align: center; |
| 234 |
clear: both; |
| 235 |
font-size: 0.8em; |
| 236 |
} |
| 237 |
|
| 238 |
/* -- body styles ----------------------------------------------------------- */ |
| 239 |
|
| 240 |
p { |
| 241 |
margin: 0.8em 0 0.5em 0; |
| 242 |
} |
| 243 |
|
| 244 |
a { |
| 245 |
color: {{ theme_darkgreen }}; |
| 246 |
text-decoration: none; |
| 247 |
} |
| 248 |
|
| 249 |
a:hover { |
| 250 |
color: {{ theme_darkyellow }}; |
| 251 |
} |
| 252 |
|
| 253 |
div.body a { |
| 254 |
text-decoration: underline; |
| 255 |
} |
| 256 |
|
| 257 |
h1 { |
| 258 |
margin: 10px 0 0 0; |
| 259 |
font-size: 2.4em; |
| 260 |
color: {{ theme_darkgray }}; |
| 261 |
font-weight: 300; |
| 262 |
} |
| 263 |
|
| 264 |
h2 { |
| 265 |
margin: 1.0em 0 0.2em 0; |
| 266 |
font-size: 1.5em; |
| 267 |
font-weight: 300; |
| 268 |
padding: 0; |
| 269 |
color: {{ theme_darkgreen }}; |
| 270 |
} |
| 271 |
|
| 272 |
h3 { |
| 273 |
margin: 1em 0 -0.3em 0; |
| 274 |
font-size: 1.3em; |
| 275 |
font-weight: 300; |
| 276 |
} |
| 277 |
|
| 278 |
div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a { |
| 279 |
text-decoration: none; |
| 280 |
} |
| 281 |
|
| 282 |
div.body h1 a tt, div.body h2 a tt, div.body h3 a tt, div.body h4 a tt, div.body h5 a tt, div.body h6 a tt { |
| 283 |
color: {{ theme_darkgreen }} !important; |
| 284 |
font-size: inherit !important; |
| 285 |
} |
| 286 |
|
| 287 |
a.headerlink { |
| 288 |
color: {{ theme_green }} !important; |
| 289 |
font-size: 12px; |
| 290 |
margin-left: 6px; |
| 291 |
padding: 0 4px 0 4px; |
| 292 |
text-decoration: none !important; |
| 293 |
float: right; |
| 294 |
} |
| 295 |
|
| 296 |
a.headerlink:hover { |
| 297 |
background-color: #ccc; |
| 298 |
color: white!important; |
| 299 |
} |
| 300 |
|
| 301 |
cite, code, tt { |
| 302 |
font-family: 'Consolas', 'DejaVu Sans Mono', |
| 303 |
'Bitstream Vera Sans Mono', monospace; |
| 304 |
font-size: 14px; |
| 305 |
letter-spacing: -0.02em; |
| 306 |
} |
| 307 |
|
| 308 |
tt { |
| 309 |
background-color: #f2f2f2; |
| 310 |
border: 1px solid #ddd; |
| 311 |
border-radius: 2px; |
| 312 |
color: #333; |
| 313 |
padding: 1px; |
| 314 |
} |
| 315 |
|
| 316 |
tt.descname, tt.descclassname, tt.xref { |
| 317 |
border: 0; |
| 318 |
} |
| 319 |
|
| 320 |
hr { |
| 321 |
border: 1px solid #abc; |
| 322 |
margin: 2em; |
| 323 |
} |
| 324 |
|
| 325 |
a tt { |
| 326 |
border: 0; |
| 327 |
color: {{ theme_darkgreen }}; |
| 328 |
} |
| 329 |
|
| 330 |
a tt:hover { |
| 331 |
color: {{ theme_darkyellow }}; |
| 332 |
} |
| 333 |
|
| 334 |
pre { |
| 335 |
font-family: 'Consolas', 'DejaVu Sans Mono', |
| 336 |
'Bitstream Vera Sans Mono', monospace; |
| 337 |
font-size: 13px; |
| 338 |
letter-spacing: 0.015em; |
| 339 |
line-height: 120%; |
| 340 |
padding: 0.5em; |
| 341 |
border: 1px solid #ccc; |
| 342 |
border-radius: 2px; |
| 343 |
background-color: #f8f8f8; |
| 344 |
} |
| 345 |
|
| 346 |
pre a { |
| 347 |
color: inherit; |
| 348 |
text-decoration: underline; |
| 349 |
} |
| 350 |
|
| 351 |
td.linenos pre { |
| 352 |
padding: 0.5em 0; |
| 353 |
} |
| 354 |
|
| 355 |
div.quotebar { |
| 356 |
background-color: #f8f8f8; |
| 357 |
max-width: 250px; |
| 358 |
float: right; |
| 359 |
padding: 0px 7px; |
| 360 |
border: 1px solid #ccc; |
| 361 |
margin-left: 1em; |
| 362 |
} |
| 363 |
|
| 364 |
div.topic { |
| 365 |
background-color: #f8f8f8; |
| 366 |
} |
| 367 |
|
| 368 |
table { |
| 369 |
border-collapse: collapse; |
| 370 |
margin: 0 -0.5em 0 -0.5em; |
| 371 |
} |
| 372 |
|
| 373 |
table td, table th { |
| 374 |
padding: 0.2em 0.5em 0.2em 0.5em; |
| 375 |
} |
| 376 |
|
| 377 |
div.admonition, div.warning { |
| 378 |
font-size: 0.9em; |
| 379 |
margin: 1em 0 1em 0; |
| 380 |
border: 1px solid #86989B; |
| 381 |
border-radius: 2px; |
| 382 |
background-color: #f7f7f7; |
| 383 |
padding: 0; |
| 384 |
padding-bottom: 0.5rem; |
| 385 |
} |
| 386 |
|
| 387 |
/* |
| 388 |
If we have a code highlight box inside an admonition, we hide the background |
| 389 |
color of the highlight box so it doesn't interfere with the admonition |
| 390 |
background color set above. |
| 391 |
*/ |
| 392 |
div.admonition .highlight { |
| 393 |
background-color: unset; |
| 394 |
} |
| 395 |
|
| 396 |
div.admonition div[class*="highlight-"] { |
| 397 |
margin: 0; |
| 398 |
} |
| 399 |
|
| 400 |
div.admonition p, div.warning p { |
| 401 |
margin: 0.5em 1em 0.5em 1em; |
| 402 |
padding: 0; |
| 403 |
} |
| 404 |
|
| 405 |
div.admonition pre, div.warning pre { |
| 406 |
margin: 0.4em 1em 0.4em 1em; |
| 407 |
} |
| 408 |
|
| 409 |
div.admonition p.admonition-title, |
| 410 |
div.warning p.admonition-title { |
| 411 |
font-weight: bold; |
| 412 |
} |
| 413 |
|
| 414 |
div.warning { |
| 415 |
border: 1px solid #940000; |
| 416 |
/* background-color: #FFCCCF;*/ |
| 417 |
} |
| 418 |
|
| 419 |
div.warning p.admonition-title { |
| 420 |
} |
| 421 |
|
| 422 |
div.admonition ul, div.admonition ol, |
| 423 |
div.warning ul, div.warning ol { |
| 424 |
margin: 0.1em 0.5em 0.5em 3em; |
| 425 |
padding: 0; |
| 426 |
} |
| 427 |
|
| 428 |
.viewcode-back { |
| 429 |
font-family: {{ theme_font }}, 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', |
| 430 |
'Verdana', sans-serif; |
| 431 |
} |
| 432 |
|
| 433 |
div.viewcode-block:target { |
| 434 |
background-color: #f4debf; |
| 435 |
border-top: 1px solid #ac9; |
| 436 |
border-bottom: 1px solid #ac9; |
| 437 |
} |