mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
add experimental dark mode
This commit is contained in:
parent
3c03975cf4
commit
63d801b86d
@ -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);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user