1
0

Enable dark theme

This commit is contained in:
Emil Miler 2022-11-28 14:42:40 +01:00
parent 9d2305bd68
commit d2d59b6491

View File

@ -191,7 +191,7 @@ main {
a { a {
text-decoration: none; text-decoration: none;
color: #E1140A; color: #e1140a;
&:hover { text-decoration: underline } &:hover { text-decoration: underline }
} }
@ -213,3 +213,36 @@ a {
header, aside { margin-bottom: 3rem } header, aside { margin-bottom: 3rem }
} }
@media (prefers-color-scheme: dark) {
body {
background-color: #131516;
color: #cdcdcd;
}
header {
background-color: inherit;
color: inherit;
}
aside ul li a {
color: inherit;
&:hover {
color: #131516;
background-color: #cdcdcd;
}
}
main .info {
border-color: #35393b;
}
main img {
border-color: #43494c;
}
a {
color: #ff6e67;
}
}