fix: compact header and set 1180px responsive breakpoint

This commit is contained in:
2026-09-02 13:53:23 -07:00
parent 32ac98d8a7
commit 2c729f516d
2 changed files with 29 additions and 23 deletions
+28 -22
View File
@@ -186,32 +186,34 @@ button, input, select, textarea {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
height: 72px; height: 70px;
max-width: 1400px; width: 100%;
max-width: 1380px;
margin: 0 auto; margin: 0 auto;
padding: 0 24px; padding: 0 18px;
gap: 20px; box-sizing: border-box;
gap: 16px;
} }
/* Brand Logo */ /* Brand Logo */
.brand { .brand {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 12px; gap: 10px;
flex-shrink: 0; flex-shrink: 0;
text-decoration: none; text-decoration: none;
} }
.brand-icon { .brand-icon {
width: 42px; width: 38px;
height: 42px; height: 38px;
background: var(--grad-gold); background: var(--grad-gold);
border-radius: var(--radius-sm); border-radius: var(--radius-sm);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: var(--primary-950); color: var(--primary-950);
font-size: 20px; font-size: 18px;
font-weight: 900; font-weight: 900;
box-shadow: var(--shadow-gold); box-shadow: var(--shadow-gold);
flex-shrink: 0; flex-shrink: 0;
@@ -225,7 +227,7 @@ button, input, select, textarea {
.brand-name { .brand-name {
font-family: var(--font-heading); font-family: var(--font-heading);
font-size: 1.12rem; font-size: 1.05rem;
font-weight: 700; font-weight: 700;
color: var(--white); color: var(--white);
line-height: 1.15; line-height: 1.15;
@@ -233,10 +235,10 @@ button, input, select, textarea {
} }
.brand-sub { .brand-sub {
font-size: 0.72rem; font-size: 0.68rem;
color: var(--gold-300); color: var(--gold-300);
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.06em; letter-spacing: 0.05em;
white-space: nowrap; white-space: nowrap;
margin-top: 2px; margin-top: 2px;
} }
@@ -246,13 +248,14 @@ button, input, select, textarea {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 20px; gap: 16px;
margin: 0; margin: 0;
padding: 0; padding: 0;
flex-shrink: 1;
} }
.nav-links a { .nav-links a {
font-size: 0.88rem; font-size: 0.84rem;
font-weight: 600; font-weight: 600;
color: var(--slate-200); color: var(--slate-200);
white-space: nowrap; white-space: nowrap;
@@ -286,8 +289,9 @@ button, input, select, textarea {
.nav-actions { .nav-actions {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 12px; gap: 10px;
flex-shrink: 0; flex-shrink: 0;
margin-left: auto;
} }
/* Bilingual Language Switcher */ /* Bilingual Language Switcher */
@@ -296,15 +300,15 @@ button, input, select, textarea {
background: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(212, 175, 55, 0.35); border: 1px solid rgba(212, 175, 55, 0.35);
border-radius: var(--radius-full); border-radius: var(--radius-full);
padding: 3px; padding: 2px;
gap: 2px; gap: 2px;
flex-shrink: 0; flex-shrink: 0;
} }
.lang-btn { .lang-btn {
padding: 5px 11px; padding: 4px 9px;
border-radius: var(--radius-full); border-radius: var(--radius-full);
font-size: 0.76rem; font-size: 0.74rem;
font-weight: 700; font-weight: 700;
color: var(--slate-200); color: var(--slate-200);
background: transparent; background: transparent;
@@ -323,13 +327,14 @@ button, input, select, textarea {
} }
.nav-cta-btn { .nav-cta-btn {
padding: 9px 18px; padding: 8px 16px;
font-size: 0.86rem; font-size: 0.82rem;
font-weight: 700; font-weight: 700;
white-space: nowrap; white-space: nowrap;
flex-shrink: 0; flex-shrink: 0;
} }
/* Buttons */ /* Buttons */
.btn { .btn {
display: inline-flex; display: inline-flex;
@@ -1352,13 +1357,13 @@ button, input, select, textarea {
} }
} }
@media (max-width: 1024px) { @media (max-width: 1180px) {
.nav-links { .nav-links {
position: fixed; position: fixed;
top: 108px; top: 106px;
left: -100%; left: -100%;
width: 100%; width: 100%;
height: calc(100vh - 108px); height: calc(100vh - 106px);
background: var(--primary-950); background: var(--primary-950);
flex-direction: column; flex-direction: column;
padding: 36px 24px; padding: 36px 24px;
@@ -1367,6 +1372,7 @@ button, input, select, textarea {
border-top: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.1);
} }
.nav-links.open { .nav-links.open {
left: 0; left: 0;
} }
+1 -1
View File
@@ -43,12 +43,12 @@
<a href="#crisis-problem" data-i18n="nav.need">The Need</a> <a href="#crisis-problem" data-i18n="nav.need">The Need</a>
<a href="#about-pastor" data-i18n="nav.about">Pastor Víctor</a> <a href="#about-pastor" data-i18n="nav.about">Pastor Víctor</a>
<a href="#how-to-help" data-i18n="nav.plan">The Plan</a> <a href="#how-to-help" data-i18n="nav.plan">The Plan</a>
<a href="#rebuilding-fund" data-i18n="nav.rebuilding">Rebuilding Fund</a>
<a href="#seminary" data-i18n="nav.seminary">Seminary</a> <a href="#seminary" data-i18n="nav.seminary">Seminary</a>
<a href="#location" data-i18n="nav.location">Location</a> <a href="#location" data-i18n="nav.location">Location</a>
<a href="#contact" data-i18n="nav.contact">Contact</a> <a href="#contact" data-i18n="nav.contact">Contact</a>
</nav> </nav>
<!-- Language & CTA Actions --> <!-- Language & CTA Actions -->
<div class="nav-actions"> <div class="nav-actions">
<div class="lang-switch" role="group" aria-label="Language Selector"> <div class="lang-switch" role="group" aria-label="Language Selector">