Skip to content

Commit 76e5e30

Browse files
committed
Update: quadriga.css version
1 parent 1fd50fd commit 76e5e30

File tree

1 file changed

+85
-2
lines changed

1 file changed

+85
-2
lines changed

_static/quadriga.css

Lines changed: 85 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1+
/* font-awesome icons library */
2+
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
3+
14
/* Custom variables */
25
:root {
36
--quadriga-main: #00305e;
47
--quadriga-main-45: #818bac;
58
--quadriga-main-web: #c1d3e0;
69
}
710

11+
html[data-theme='dark'] .navbar-brand img {
12+
height: 100%;
13+
max-width: 100%;
14+
width: auto;
15+
filter: invert(95%) hue-rotate(190deg) saturate(60%) brightness(135%);
16+
}
17+
818
/* Reset ALL default admonition icons */
919
.admonition-title::before {
1020
content: none !important;
@@ -119,7 +129,8 @@ html[data-theme='dark'] div.caution > .admonition-title,
119129
html[data-theme='dark'] div.hinweis > .admonition-title,
120130
html[data-theme='dark'] div.keypoint > .admonition-title,
121131
html[data-theme='dark'] div.solution > .admonition-title,
122-
html[data-theme='dark'] div.exercise > .admonition-title {
132+
html[data-theme='dark'] div.exercise > .admonition-title,
133+
html[data-theme='dark'] div.story > .admonition-title {
123134
color: #CED6DD !important;
124135
}
125136

@@ -250,9 +261,81 @@ html[data-theme='dark'] div.citation-information > .admonition-title::after {
250261

251262
/* Dark mode styling for Jupyter notebook cells */
252263
html[data-theme='dark'] div.cell div.cell_input,
253-
html[data-theme='dark'] div.cell details.above-input > summary {
264+
html[data-theme='dark'] div.cell div.cell_output,
265+
html[data-theme='dark'] div.cell details.above-input > summary,
266+
html[data-theme='dark'] div.cell details.above-output > summary {
254267
background-color: #29313d !important;
255268
color: #f7fbff !important;
256269
}
257270

258271

272+
/* Zeitinfo/Bearbeitungszeit styling */
273+
div.zeitinfo {
274+
background-color: #fff9f4 !important; /* sehr helles Apricot */
275+
border-left-color: #e59d7e !important; /* weiches Apricot */
276+
}
277+
278+
div.zeitinfo > .admonition-title {
279+
background-color: rgba(229, 157, 126, 0.12) !important;
280+
color: #cc6f53 !important; /* kräftigerer Apricot-Ton */
281+
}
282+
283+
div.zeitinfo > .admonition-title::after {
284+
content: "\f017" !important; /* Font Awesome clock */
285+
float: left !important;
286+
padding-right: 0.5rem !important;
287+
font-size: 1em !important;
288+
font-family: "Font Awesome 5 Free";
289+
font-weight: 900;
290+
color: #cc6f53 !important; /* Apricot-Farbe für das Icon */
291+
}
292+
293+
/* Dark mode overrides for zeitinfo */
294+
html[data-theme='dark'] div.zeitinfo {
295+
background-color: rgba(229, 157, 126, 0.1) !important;
296+
border-left-color: #e59d7e !important;
297+
}
298+
299+
html[data-theme='dark'] div.zeitinfo > .admonition-title {
300+
background-color: rgba(229, 157, 126, 0.15) !important;
301+
color: #e59d7e !important;
302+
}
303+
304+
html[data-theme='dark'] div.zeitinfo > .admonition-title::after {
305+
color: #e59d7e !important;
306+
}
307+
308+
/* Story styling */
309+
div.story {
310+
background-color: #faf8ff !important; /* sehr helles Lila */
311+
border-left-color: #8e44ad !important; /* weiches Lila */
312+
}
313+
314+
div.story > .admonition-title {
315+
background-color: rgba(142, 68, 173, 0.12) !important;
316+
color: #222832 !important;
317+
}
318+
319+
div.story > .admonition-title::after {
320+
content: "\f02d" !important; /* Font Awesome book */
321+
float: left !important;
322+
padding-right: 0.5rem !important;
323+
font-size: 1em !important;
324+
font-family: "Font Awesome 5 Free";
325+
font-weight: 900;
326+
color: #7a3a96 !important; /* Lila-Farbe für das Icon */
327+
}
328+
329+
/* Dark mode overrides for story */
330+
html[data-theme='dark'] div.story {
331+
background-color: rgba(142, 68, 173, 0.1) !important;
332+
border-left-color: #8e44ad !important;
333+
}
334+
335+
html[data-theme='dark'] div.story > .admonition-title {
336+
background-color: rgba(142, 68, 173, 0.15) !important;
337+
}
338+
339+
html[data-theme='dark'] div.story > .admonition-title::after {
340+
color: #b876d1
341+
}

0 commit comments

Comments
 (0)