add soft_media module
This commit is contained in:
parent
f6ee2cf09d
commit
22ab71170b
6
modules/readmes/soft_media.txt
Normal file
6
modules/readmes/soft_media.txt
Normal file
@ -0,0 +1,6 @@
|
||||
in the css
|
||||
|
||||
@import url("https://styles.alv.cx/modules/soft_media.css");
|
||||
|
||||
this module makes reduces the opacity of all images to give the webpage a softer look,
|
||||
even when in light mode (this is default behaviour in dark mode).
|
7
modules/soft_media.css
Normal file
7
modules/soft_media.css
Normal file
@ -0,0 +1,7 @@
|
||||
img, video {
|
||||
opacity: .75;
|
||||
transition: opacity .5s ease-in-out;
|
||||
}
|
||||
img:hover, video:hover {
|
||||
opacity: 1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user