From 4caa5675ddeaf4e747de88238c9f231b3ea8ffd0 Mon Sep 17 00:00:00 2001 From: dax Date: Wed, 5 Aug 2026 10:33:57 +0100 Subject: scale splash title to viewport --- public/app.css | 2 +- public/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'public') diff --git a/public/app.css b/public/app.css index d20d4b5..b6cebb6 100644 --- a/public/app.css +++ b/public/app.css @@ -152,7 +152,7 @@ html, body { transition: opacity .4s, visibility .4s; } #splash.hide { opacity: 0; visibility: hidden; pointer-events: none; } -#splash h1 { margin: 0; font-size: 72px; font-weight: 300; letter-spacing: .18em; } +#splash h1 { margin: 0; font-size: clamp(64px, 20vw, 220px); font-weight: 300; letter-spacing: .18em; } #splash h1 .dot { color: var(--ring); } #splash p { max-width: 34ch; color: var(--muted); margin: 0; font-size: 15px; line-height: 1.6; } diff --git a/public/index.html b/public/index.html index 1f98bf7..b3e960b 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,7 @@ pathways - +
@@ -34,6 +34,6 @@
- + -- cgit v1.3.1