don't put labels on top of images for (hover: none)

This commit is contained in:
Rhiannon Morris 2020-08-01 05:09:51 +02:00
parent 2a0ca6177e
commit 44bf2fc4a4

View file

@ -126,3 +126,22 @@ footer {
} }
} }
} }
@media (hover: none) {
.item:not(.year-marker) {
height: min-content;
}
figcaption {
position: initial;
}
.item a {
display: block;
height: var(--image-size);
}
.item img {
margin-bottom: 0;
}
}