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:
1 parent
cbf5ecc007
commit
db1e41ff26
2 files changed
+15
-5
No files matched your search
+14
-4
@@ -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;
|
||||||
|
|||||||
+1
-1
@@ -76,7 +76,7 @@
|
|||||||
<div class="hero-content site-container">
|
<div class="hero-content site-container">
|
||||||
<div class="hero-text">
|
<div class="hero-text">
|
||||||
<p class="hero-eyebrow">A Christ-centered ministry since 2017</p>
|
<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>
|
<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">
|
<div class="hero-actions">
|
||||||
<a class="btn btn--large" href="get-help/">I Need Help</a>
|
<a class="btn btn--large" href="get-help/">I Need Help</a>
|
||||||
|
|||||||
Reference in new issue
Block a user