mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-06 00:33:39 +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{
|
.container{
|
||||||
max-width: 1200px;
|
max-width: 1200px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user