Display pointer if an image is in link

This commit is contained in:
daudix
2024-09-11 20:17:49 +03:00
parent b5a7653bfe
commit a946255c44
10 changed files with 60 additions and 26 deletions

View File

@ -77,15 +77,14 @@ video {
img {
transition: var(--transition-longer);
&:not(.no-hover, .full-bleed, &[src*="#no-hover"], &[src*="#full-bleed"]) {
cursor: zoom-in;
&:not(.no-hover, .full-bleed, [src*="#no-hover"], [src*="#full-bleed"]) {
&:hover {
position: relative;
transform: var(--hover);
z-index: 1;
cursor: zoom-in;
box-shadow: var(--edge-highlight), var(--shadow-raised);
border-radius: 0;
position: relative;
}
&.start,
@ -113,3 +112,7 @@ img {
}
}
}
a img:not(.no-hover, .full-bleed, [src*="#no-hover"], [src*="#full-bleed"]):hover {
cursor: pointer;
}