From d213110e30e5e4351c8fecb477695374b002b0bf Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Mon, 12 Jan 2026 17:57:14 -0500 Subject: [PATCH] for now --- public/styles/base.css | 12 ++++++++++++ public/styles/index.css | 33 ++++++++++++++++++--------------- 2 files changed, 30 insertions(+), 15 deletions(-) diff --git a/public/styles/base.css b/public/styles/base.css index 8bbdd06..f7decda 100644 --- a/public/styles/base.css +++ b/public/styles/base.css @@ -142,6 +142,18 @@ font-display: swap; } +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +html, +body { + font-family: "Signifier", serif; + overflow-x: hidden; +} + pre, code, pre code, diff --git a/public/styles/index.css b/public/styles/index.css index 46eb48c..f6493c5 100644 --- a/public/styles/index.css +++ b/public/styles/index.css @@ -1,33 +1,36 @@ +.container { + width: 100%; + max-width: 55%; + margin: 0 auto; + padding: 0 clamp(20px, 5vw, 60px); +} + header { - padding: 60px 0; + padding: clamp(80px, 15vw, 150px) 0 clamp(50px, 10vw, 80px) 0; display: flex; align-items: center; justify-content: space-between; + flex-wrap: wrap; + gap: 20px; } h1, .delta { - font-size: 4em; + font-size: clamp(1.5rem, 8vw, 4rem); font-weight: 300; } -.container { - max-width: 60%; - margin: 0 auto; -} - section { display: grid; - grid-template-columns: repeat(4, 1fr); - gap: 50px; - max-width: 1200px; - margin: 0 auto; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: clamp(20px, 3vw, 40px); } h2 { font-weight: 300; font-style: italic; - font-size: 2em; + font-size: clamp(1.25rem, 4vw, 2rem); + margin-bottom: clamp(15px, 3vw, 25px); } ul { @@ -36,9 +39,9 @@ ul { } li { - margin-bottom: 12px; - font-size: 1.1em; - line-height: 1.3; + margin-bottom: 10px; + font-size: clamp(0.9rem, 2.5vw, 1.1rem); + line-height: 1.1; } a {