From db1e41ff26a14a54fab9c5a310524345ed7fcf9f Mon Sep 17 00:00:00 2001 From: blake Date: Tue, 29 Sep 2026 16:25:37 -0500 Subject: [PATCH] Refine hero section styling and layout in index.html and queries.css. Adjusted heading line breaks for better readability and updated CSS for responsive font sizing and layout enhancements. --- css/queries.css | 18 ++++++++++++++---- index.html | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/css/queries.css b/css/queries.css index d47d887..9437218 100644 --- a/css/queries.css +++ b/css/queries.css @@ -24,6 +24,10 @@ } @media (min-width: 75.0625em) { + .hero-text h1 { + font-size: clamp(6.4rem, 5.8vw, 8.8rem); + } + .get-help-intro, .what-we-do-hero-copy, .talitha-koum-hero-copy, @@ -146,15 +150,17 @@ transform: none; } - .nav--open .btns { + .js .nav--open .btns { display: flex; + flex-direction: column; + align-items: stretch; + width: max-content; grid-column: 1 / -1; gap: 1.2rem; padding: 0 0 2rem; } - .nav--open .btns .btn { - flex: 1; + .js .nav--open .btns .btn { text-align: center; } } @@ -307,10 +313,14 @@ } .hero-text { - max-width: 72rem; + max-width: 100rem; margin: 0 auto; } + .hero-text h1 br { + display: none; + } + .hero-image { width: 100%; max-width: 68rem; diff --git a/index.html b/index.html index 9f4ff16..5735382 100644 --- a/index.html +++ b/index.html @@ -76,7 +76,7 @@

A Christ-centered ministry since 2017

-

You deserve to
be safe, and to be
known by name.

+

You deserve to
be safe, and to be
known by name.

We walk alongside women and children healing from domestic abuse in northwest Iowa, through court dates, hard days, and the long ordinary work of building a life again. No paperwork to start. Just a conversation.