css-system-colors

[ACTIVE] a grid of css system colors
git clone git://git.figbert.com/css-system-colors.git
Log | Files | Refs | LICENSE

commit a382bb572bf1afe7aeb9f1078b3c739bf27bef6d
parent 4ae8366fcd9f6ceb82353180dd9b56181e017483
Author: FIGBERT <figbert@figbert.com>
Date:   Sat, 18 May 2024 21:43:26 -0700

Reduce padding instead of line height

This prevents the text from overlapping with itself when the header is
broken over several lines.

Diffstat:
Mtemplates/index.html | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/templates/index.html b/templates/index.html @@ -13,7 +13,14 @@ header { text-align: center; - line-height: 90%; + } + + h1 { + margin-block-end: 0; + } + + h2 { + margin-block-start: 0; } main {