From f1b9abef9e9cf39c4a04d937f793b1d1177e866d Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 28 Feb 2021 00:02:39 +0100 Subject: Credit photographs --- stylesheets/galerie.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'stylesheets') diff --git a/stylesheets/galerie.css b/stylesheets/galerie.css index 28166b8..3a80253 100644 --- a/stylesheets/galerie.css +++ b/stylesheets/galerie.css @@ -23,6 +23,27 @@ filter: none; } +a.photo p.credits:before { + content: '© '; + font-size: small; + color: white; +} +a.photo p.credits { + position: absolute; + bottom: 0; + right: 0; + margin: 0; + color: white; + background: #0008; + font-size: small; +} +a.photo p.credits > span { + display: none; +} +a.photo p.credits:hover > span { + display: initial; +} + .mosaic .video { position: relative; width: 100%; -- cgit v1.2.3