From 9e4787d484e068139592387a4cf725cbcb0a6afd Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 28 Feb 2021 17:00:10 +0100 Subject: Add some horizontal padding to photo copyright Since line-height > font-size, there is a perceptible "vertical padding"; add some horizontal spacing too. --- stylesheets/galerie.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'stylesheets') diff --git a/stylesheets/galerie.css b/stylesheets/galerie.css index ede8ca0..037a785 100644 --- a/stylesheets/galerie.css +++ b/stylesheets/galerie.css @@ -25,8 +25,6 @@ .photo p.credits:before { content: '© '; - font-size: small; - color: white; } .photo p.credits { position: absolute; @@ -36,6 +34,7 @@ color: white; background: #0008; border-top-left-radius: 0.5em; + padding: 0 0.2em; font-size: small; } .photo p.credits > a { -- cgit v1.2.3