[THEME] Make link only on image size

Don't allow to clic outside of the image to follow link when the image
is smaller than the page.
This commit is contained in:
Gregory Trolliet 2021-02-26 14:26:00 +01:00
parent 31286f5f0b
commit 49c3cd386b

View file

@ -572,6 +572,7 @@ a:focus {
outline: none; outline: none;
min-height: 100%; min-height: 100%;
border: none; border: none;
width: fit-content;
} }
.article-body figure>a>img:hover { .article-body figure>a>img:hover {
box-shadow: 0 0 1em rgba(var(--font-color_rgb), 0.5); box-shadow: 0 0 1em rgba(var(--font-color_rgb), 0.5);