diff options
author | tdro <tdro@noreply.example.com> | 2022-10-19 20:01:00 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-10-19 20:01:00 -0400 |
commit | 35fb3d8b24812db45670ffee078cd80f148c3402 (patch) | |
tree | 391ca20d5fda27da914d6e1c5886513677e6f8ea | |
parent | ca3f788e588def92cef7f48bfb303d0fbb269924 (diff) | |
download | canory-35fb3d8b24812db45670ffee078cd80f148c3402.tar.gz canory-35fb3d8b24812db45670ffee078cd80f148c3402.tar.bz2 canory-35fb3d8b24812db45670ffee078cd80f148c3402.zip |
assets/css/default: Reduce image brightness on hover
Disable hover shadows on gallery image hover interactions.
-rw-r--r-- | assets/css/default.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index 6fe3fbf..5a408cb 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -586,7 +586,7 @@ img { img:hover { box-shadow: 0 0 14px #999; box-shadow: 0 0 14px var(--shadow); - filter: unset; + filter: brightness(90%); } img, @@ -1431,6 +1431,10 @@ gallery-images picture img { height: 100%; } +gallery-images picture img:hover { + box-shadow: none; +} + gallery-overlay { background-color: transparent; border-radius: 0.5rem; |