From b4e14c14163c372125615f169c3bae69fa90fd41 Mon Sep 17 00:00:00 2001 From: alessandrovitali Date: Sun, 1 Nov 2026 08:35:05 +0100 Subject: [PATCH] css: clean up styles --- index.html | 8 +++----- styles.css | 14 +++++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 7e57c1c..d99956d 100644 --- a/index.html +++ b/index.html @@ -17,11 +17,9 @@ +41 44 520 15 96
diff --git a/styles.css b/styles.css index 7b18547..6d37d0c 100644 --- a/styles.css +++ b/styles.css @@ -18,7 +18,7 @@ --font-sans: "Geist", system-ui, sans-serif; --color-paper: #ffffff; --color-ink: #000000; - --gutter: clamp(0.1rem, 1vw, 0.2rem); + --gutter: clamp(0.4rem, 1vw, 0.8rem); } *, @@ -37,15 +37,19 @@ body { min-height: 100%; color: var(--color-ink); font-family: var(--font-sans); - font-size: 1rem; + font-size: clamp(1rem, 2vw, 2rem); + font-weight: 600; line-height: 1.2; } h1, h2, -p { +p, +a { margin: 0; font-size: inherit; + font-weight: inherit; + text-box: trim-both cap alphabetic; } a:hover { @@ -58,12 +62,12 @@ address { .frame { position: fixed; - gap: 0.6rem; + display: flex; + gap: 0.8rem; } .frame-block-start { inset: var(--gutter) auto auto var(--gutter); - display: flex; } .frame-inline-end {