styles.alv.cx/modules/darkmode.css

15 lines
240 B
CSS
Raw Normal View History

2022-04-12 16:01:14 +00:00
@media (prefers-color-scheme: dark) {
:root {
2022-04-13 02:05:45 +00:00
--light: var(--gruvbox-fg);
2022-04-13 01:39:09 +00:00
--fg: var(--light);
--bg: var(--dark);
}
2022-04-12 16:01:14 +00:00
img, video {
opacity: .75;
transition: opacity .5s ease-in-out;
}
img:hover, video:hover {
opacity: 1;
}
}