mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-05 08:13:40 +00:00
Invert colors when dark mode is preferred
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
filter: invert(80%);
|
||||
}
|
||||
|
||||
html img {
|
||||
filter: invert(100%);
|
||||
}
|
||||
}
|
||||
|
||||
.container{
|
||||
max-width: 1200px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user