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
1 file changed
+14 -4
+14 -4
View File
@@ -24,6 +24,10 @@
} }
@media (min-width: 75.0625em) { @media (min-width: 75.0625em) {
.hero-text h1 {
font-size: clamp(6.4rem, 5.8vw, 8.8rem);
}
.get-help-intro, .get-help-intro,
.what-we-do-hero-copy, .what-we-do-hero-copy,
.talitha-koum-hero-copy, .talitha-koum-hero-copy,
@@ -146,15 +150,17 @@
transform: none; transform: none;
} }
.nav--open .btns { .js .nav--open .btns {
display: flex; display: flex;
flex-direction: column;
align-items: stretch;
width: max-content;
grid-column: 1 / -1; grid-column: 1 / -1;
gap: 1.2rem; gap: 1.2rem;
padding: 0 0 2rem; padding: 0 0 2rem;
} }
.nav--open .btns .btn { .js .nav--open .btns .btn {
flex: 1;
text-align: center; text-align: center;
} }
} }
@@ -307,10 +313,14 @@
} }
.hero-text { .hero-text {
max-width: 72rem; max-width: 100rem;
margin: 0 auto; margin: 0 auto;
} }
.hero-text h1 br {
display: none;
}
.hero-image { .hero-image {
width: 100%; width: 100%;
max-width: 68rem; max-width: 68rem;