fix: unblur both media as body when hoevering over either one

This commit is contained in:
pimlie 2024-07-30 15:01:42 +02:00
parent 3677ca10e2
commit f90bf5b724

View file

@ -1121,9 +1121,7 @@ a.search_subreddit:hover {
margin: auto;
}
.post_blurred img,
.post_blurred svg,
.post_blurred video {
.post_blurred .post_media_content * {
filter: blur(1.5rem);
}
@ -1131,16 +1129,16 @@ a.search_subreddit:hover {
filter: blur(0.25rem);
}
.post_blurred .post_thumbnail svg {
.post_blurred .post_thumbnail * {
filter: blur(0.3rem);
}
.post_blurred img:hover,
.post_blurred svg:hover,
.post_blurred video:hover,
.post_blurred .post_media_content:hover *,
.post_blurred .post_media_content:hover ~ .post_body,
.post_blurred .post_media_content:has(~ .post_body:hover) *,
.post_blurred .post_body:hover,
.post_blurred .post_thumbnail:hover svg {
filter: none;
.post_blurred .post_thumbnail:hover * {
filter: none;
}
.post_media_image svg {