|
| 1 | +/* font-awesome icons library */ |
| 2 | +@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css'); |
| 3 | + |
1 | 4 | /* Custom variables */ |
2 | 5 | :root { |
3 | 6 | --quadriga-main: #00305e; |
4 | 7 | --quadriga-main-45: #818bac; |
5 | 8 | --quadriga-main-web: #c1d3e0; |
6 | 9 | } |
7 | 10 |
|
| 11 | +html[data-theme='dark'] .navbar-brand img { |
| 12 | + filter: invert(95%) hue-rotate(190deg) saturate(60%) brightness(135%); |
| 13 | +} |
| 14 | + |
8 | 15 | /* Reset ALL default admonition icons */ |
9 | 16 | .admonition-title::before { |
10 | 17 | content: none !important; |
@@ -119,7 +126,8 @@ html[data-theme='dark'] div.caution > .admonition-title, |
119 | 126 | html[data-theme='dark'] div.hinweis > .admonition-title, |
120 | 127 | html[data-theme='dark'] div.keypoint > .admonition-title, |
121 | 128 | html[data-theme='dark'] div.solution > .admonition-title, |
122 | | -html[data-theme='dark'] div.exercise > .admonition-title { |
| 129 | +html[data-theme='dark'] div.exercise > .admonition-title, |
| 130 | +html[data-theme='dark'] div.story > .admonition-title { |
123 | 131 | color: #CED6DD !important; |
124 | 132 | } |
125 | 133 |
|
@@ -250,9 +258,81 @@ html[data-theme='dark'] div.citation-information > .admonition-title::after { |
250 | 258 |
|
251 | 259 | /* Dark mode styling for Jupyter notebook cells */ |
252 | 260 | html[data-theme='dark'] div.cell div.cell_input, |
253 | | -html[data-theme='dark'] div.cell details.above-input > summary { |
| 261 | +html[data-theme='dark'] div.cell div.cell_output, |
| 262 | +html[data-theme='dark'] div.cell details.above-input > summary, |
| 263 | +html[data-theme='dark'] div.cell details.above-output > summary { |
254 | 264 | background-color: #29313d !important; |
255 | 265 | color: #f7fbff !important; |
256 | 266 | } |
257 | 267 |
|
258 | 268 |
|
| 269 | +/* Zeitinfo/Bearbeitungszeit styling */ |
| 270 | +div.zeitinfo { |
| 271 | + background-color: #fff9f4 !important; /* sehr helles Apricot */ |
| 272 | + border-left-color: #e59d7e !important; /* weiches Apricot */ |
| 273 | +} |
| 274 | + |
| 275 | +div.zeitinfo > .admonition-title { |
| 276 | + background-color: rgba(229, 157, 126, 0.12) !important; |
| 277 | + color: #cc6f53 !important; /* kräftigerer Apricot-Ton */ |
| 278 | +} |
| 279 | + |
| 280 | +div.zeitinfo > .admonition-title::after { |
| 281 | + content: "\f017" !important; /* Font Awesome clock */ |
| 282 | + float: left !important; |
| 283 | + padding-right: 0.5rem !important; |
| 284 | + font-size: 1em !important; |
| 285 | + font-family: "Font Awesome 5 Free"; |
| 286 | + font-weight: 900; |
| 287 | + color: #cc6f53 !important; /* Apricot-Farbe für das Icon */ |
| 288 | +} |
| 289 | + |
| 290 | +/* Dark mode overrides for zeitinfo */ |
| 291 | +html[data-theme='dark'] div.zeitinfo { |
| 292 | + background-color: rgba(229, 157, 126, 0.1) !important; |
| 293 | + border-left-color: #e59d7e !important; |
| 294 | +} |
| 295 | + |
| 296 | +html[data-theme='dark'] div.zeitinfo > .admonition-title { |
| 297 | + background-color: rgba(229, 157, 126, 0.15) !important; |
| 298 | + color: #e59d7e !important; |
| 299 | +} |
| 300 | + |
| 301 | +html[data-theme='dark'] div.zeitinfo > .admonition-title::after { |
| 302 | + color: #e59d7e !important; |
| 303 | +} |
| 304 | + |
| 305 | +/* Story styling */ |
| 306 | +div.story { |
| 307 | + background-color: #faf8ff !important; /* sehr helles Lila */ |
| 308 | + border-left-color: #8e44ad !important; /* weiches Lila */ |
| 309 | +} |
| 310 | + |
| 311 | +div.story > .admonition-title { |
| 312 | + background-color: rgba(142, 68, 173, 0.12) !important; |
| 313 | + color: #222832 !important; |
| 314 | +} |
| 315 | + |
| 316 | +div.story > .admonition-title::after { |
| 317 | + content: "\f02d" !important; /* Font Awesome book */ |
| 318 | + float: left !important; |
| 319 | + padding-right: 0.5rem !important; |
| 320 | + font-size: 1em !important; |
| 321 | + font-family: "Font Awesome 5 Free"; |
| 322 | + font-weight: 900; |
| 323 | + color: #7a3a96 !important; /* Lila-Farbe für das Icon */ |
| 324 | +} |
| 325 | + |
| 326 | +/* Dark mode overrides for story */ |
| 327 | +html[data-theme='dark'] div.story { |
| 328 | + background-color: rgba(142, 68, 173, 0.1) !important; |
| 329 | + border-left-color: #8e44ad !important; |
| 330 | +} |
| 331 | + |
| 332 | +html[data-theme='dark'] div.story > .admonition-title { |
| 333 | + background-color: rgba(142, 68, 173, 0.15) !important; |
| 334 | +} |
| 335 | + |
| 336 | +html[data-theme='dark'] div.story > .admonition-title::after { |
| 337 | + color: #b876d1 |
| 338 | +} |
0 commit comments