Skip to content

Commit b1ab812

Browse files
authored
Merge pull request #1 from dampsoft/DS-52109
DS-52109 Theme: Header Color und Dark-Theme anpassen
2 parents 5e715f7 + cd10309 commit b1ab812

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

layouts/partials/custom/meta.html

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,44 @@
11
<style>
22
.pre-header-links {
3-
background-color: #0a0c0f;
3+
background-color: rgb(241, 241, 241);
44
text-align: right;
55
padding-right: 10px;
66
}
77

88
.pre-header-links a {
99
border-bottom: none;
10-
color: #fff;
10+
color: #000;
11+
}
12+
13+
.header,
14+
.footer {
15+
background-color: rgb(241, 241, 241);
16+
}
17+
18+
{{ if not .Site.Params.disableDarkMode }}
19+
20+
/**
21+
* Dark theme
22+
*/
23+
24+
@media (prefers-color-scheme: dark) {
25+
26+
.pre-header-links {
27+
background-color: #0a0c0f;
28+
text-align: right;
29+
padding-right: 10px;
30+
}
31+
32+
.pre-header-links a {
33+
border-bottom: none;
34+
color: #e8e6e3;
35+
}
36+
37+
.header,
38+
.footer {
39+
background-color:#0a0c0f;
40+
}
1141
}
42+
43+
{{ end }}
1244
</style>

0 commit comments

Comments
 (0)