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) {
|
||||
.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;
|
||||
|
||||
Reference in new issue
Block a user