From ed18f9d48c7c57ad9e96d9354bf58a2df9c5c161 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 14 Mar 2021 11:17:22 +0100 Subject: Tweak copyright presentation for concert photos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not satisfied with how things look on mobile; it's unintuitive to scroll back up to see the information we thought we would get by clicking on something… --- stylesheets/concerts.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stylesheets/concerts.css b/stylesheets/concerts.css index a413d28..ac96122 100644 --- a/stylesheets/concerts.css +++ b/stylesheets/concerts.css @@ -61,11 +61,11 @@ a.event { } .credits { position: absolute; - top: 0; + bottom: 0; right: 0; color: white; background: #0008; - border-bottom-left-radius: 0.5em; + border-top-left-radius: 0.5em; padding: 0 0.2em; font-size: small; } @@ -194,4 +194,8 @@ a.event { height: 100%; justify-content: center; } + + .eventcontainer:not(.active) .credits > span:only-child { + display: none; + } } -- cgit v1.2.3