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) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
--fg: var(--colorscheme-light);
|
--fg: var(--colorscheme-light);
|
||||||
--bg: var(--colorscheme-dark);
|
--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