commit d1a0532c6bd05b726fcc62f7629515760e7f84b6 parent ed6c3dcc511e515b7d396a043aaeb1fe3b70c76d Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Sun, 7 Mar 2021 18:23:28 +0100 Always show photo credits on mobile Diffstat:
| M | stylesheets/galerie.css | | | 13 | +++++++------ |
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git 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) {