add experimental dark mode

This commit is contained in:
Tom Hodson 2023-08-15 21:24:04 +01:00
parent 3c03975cf4
commit 63d801b86d

View File

@ -134,4 +134,17 @@ model-viewer {
height: 300px;
}
@media (prefers-color-scheme: dark) {
body, a{
background: #222;
color: #fcfcfc;
}
img {
opacity: .75;
transition: opacity .5s ease-in-out;
}
img.icon {
filter: invert(1);
}
}