diff --git a/style/shiny/gallery.css b/style/shiny/gallery.css index 1c8fa0c..04adff9 100644 --- a/style/shiny/gallery.css +++ b/style/shiny/gallery.css @@ -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; + } +}