commit ca6d00e91ad94f28858a56668340b2c63cd31d20
parent 82c846c96b27e94ac6198d1d66ceec0eb5d10a63
Author: Francesco Saccone <francesco@francescosaccone.com>
Date: Sat, 8 Mar 2025 20:12:21 +0100
fix: make border of header and footer fixed to 2px
This is because using 'em' in borders makes them depend on
'font-size': the border of footer was visibly thinner than the
other.
Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/style.css b/public/style.css
@@ -9,12 +9,12 @@ body {
}
header {
- border-bottom: solid 0.1em;
+ border-bottom: solid 2px;
font-size: 1.3em;
}
footer {
- border-top: solid 0.1em;
+ border-top: solid 2px;
font-size: 0.9em;
text-align: center;
width: 100%;