use opacity code in soft_media module
This commit is contained in:
parent
22ab71170b
commit
f0795da618
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user