Commit 4bd4f80c authored by Nicolas Bouilleaud's avatar Nicolas Bouilleaud

Add macOS 10.4.4 dark mode support in CSS

Ça sert à rien mais ça m’amuse
parent 47312ee2
......@@ -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