commit 9e4787d484e068139592387a4cf725cbcb0a6afd
parent 6e8f06c468ef5c16ea45a926e92e129fc38caccd
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Sun, 28 Feb 2021 17:00:10 +0100
Add some horizontal padding to photo copyright
Since line-height > font-size, there is a perceptible "vertical
padding"; add some horizontal spacing too.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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 {