From d1a0532c6bd05b726fcc62f7629515760e7f84b6 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 7 Mar 2021 18:23:28 +0100 Subject: Always show photo credits on mobile --- stylesheets/galerie.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'stylesheets') diff --git a/stylesheets/galerie.css b/stylesheets/galerie.css index 1aa2c72..1e127d3 100644 --- a/stylesheets/galerie.css +++ b/stylesheets/galerie.css @@ -37,12 +37,6 @@ main h1 { padding: 0 0.2em; font-size: small; } -.photo p.credits > a { - display: none; -} -.photo p.credits:hover > a { - display: initial; -} .mosaic .video { position: relative; @@ -65,6 +59,13 @@ main h1 { .mosaic.videos { --mosaic-side: 25em; } + + .photo p.credits > a { + display: none; + } + .photo p.credits:hover > a { + display: initial; + } } @media (max-width: 40em) { -- cgit v1.2.3