Commit a261841d authored by Tristram Gräbener's avatar Tristram Gräbener

Merge branch 'darkmode' into 'master'

Add macOS 10.4.4 dark mode support in CSS

See merge request !95
parents 47312ee2 4bd4f80c
......@@ -296,3 +296,32 @@ footer {
.icon-twitter::before { background-image: url('../img/fa-twitter.svg') }
.icon-mastodon::before { background-image: url('../img/mastodon.svg'); vertical-align: -2px; }
@media (prefers-color-scheme: dark) {
body {
color: #f6f6f6;
background-color: #101010;
}
a {
color: #f72223;
}
a:focus, a:hover {
color: #d42021;
}
.navbar {
background-color: #282828;
border-bottom: 1px solid #3a3a3a;
}
.navbar__item a {
color: #d4d4d4;
}
.navbar__item a:hover {
color: #e8e8e8;
}
.bio {
background-color: #282828;
border: 1px solid #3a3a3a;
}
.icon {
filter: invert(95%);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment