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
1 changed files with 19 additions and 0 deletions

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;
}
}