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.

This commit is contained in:
blake committed 2026-09-29 16:25:37 -05:00
1 parent cbf5ecc007
commit db1e41ff26
2 files changed
+15 -5

No files matched your search

+14 -4
View File
@@ -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;
+1 -1
View File
@@ -76,7 +76,7 @@
<div class="hero-content site-container">
<div class="hero-text">
<p class="hero-eyebrow">A Christ-centered ministry since 2017</p>
<h1>You deserve to<br>be safe, <em>and</em> to be<br>known by name.</h1>
<h1>You deserve to <br>be safe, <em>and</em> to be <br>known by name.</h1>
<p class="description">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.</p>
<div class="hero-actions">
<a class="btn btn--large" href="get-help/">I Need Help</a>