diff --git a/modules/darkmode.css b/modules/darkmode.css index f267ec8..1084aee 100644 --- a/modules/darkmode.css +++ b/modules/darkmode.css @@ -1,13 +1,8 @@ +@import url("https://styles.alv.cx/modules/soft_media.css") screen and (prefers-color-scheme: dark); + @media (prefers-color-scheme: dark) { :root { --fg: var(--colorscheme-light); --bg: var(--colorscheme-dark); } - img, video { - opacity: .75; - transition: opacity .5s ease-in-out; - } - img:hover, video:hover { - opacity: 1; - } }