From 6e8f06c468ef5c16ea45a926e92e129fc38caccd Mon Sep 17 00:00:00 2001 From: KΓ©vin Le Gouguec Date: Sun, 28 Feb 2021 00:13:39 +0100 Subject: Add (provisions for) links to photographs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reintroduce intermediate
, since π’―π’½β„΄π“Š π“ˆπ’½π’Άπ“π“‰ 𝓃ℴ𝓉 π“ˆπ“Šπ’»π’»β„―π“‡ π“‰π“Œβ„΄ <𝒢>π“ˆ 𝓉ℴ 𝒷ℯ π“ƒβ„―π“ˆπ“‰β„―π’Ή. --- stylesheets/galerie.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'stylesheets') diff --git a/stylesheets/galerie.css b/stylesheets/galerie.css index 3a80253..ede8ca0 100644 --- a/stylesheets/galerie.css +++ b/stylesheets/galerie.css @@ -4,7 +4,7 @@ grid-gap: 0.8em; } -.mosaic a.photo { +.mosaic .photo { position: relative; width: 100%; height: 0; @@ -23,24 +23,25 @@ filter: none; } -a.photo p.credits:before { +.photo p.credits:before { content: 'Β© '; font-size: small; color: white; } -a.photo p.credits { +.photo p.credits { position: absolute; bottom: 0; right: 0; margin: 0; color: white; background: #0008; + border-top-left-radius: 0.5em; font-size: small; } -a.photo p.credits > span { +.photo p.credits > a { display: none; } -a.photo p.credits:hover > span { +.photo p.credits:hover > a { display: initial; } -- cgit v1.2.3