fix(website): lock global header height to 90px and remove duplicate marketplace nav button

This commit is contained in:
oib
2026-02-27 12:25:21 +01:00
parent 2b6ac4a0bb
commit 37bdc7d034
5 changed files with 16 additions and 8 deletions

View File

@@ -376,5 +376,5 @@
/* Global Header spacing fix */ /* Global Header spacing fix */
.page { .page {
margin-top: 80px; /* Make space for the fixed global header */ margin-top: 90px; /* Make space for the fixed global header */
} }

View File

@@ -557,7 +557,7 @@ body {
} }
/* Add padding to account for the fixed global header */ /* Add padding to account for the fixed global header */
main { main {
margin-top: 80px; margin-top: 90px;
padding: 2rem; padding: 2rem;
max-width: 1200px; max-width: 1200px;
margin-left: auto; margin-left: auto;

View File

@@ -33,6 +33,8 @@ body.light {
} }
.global-header { .global-header {
height: 90px;
box-sizing: border-box;
position: sticky; position: sticky;
top: 0; top: 0;
width: 100%; width: 100%;
@@ -45,11 +47,11 @@ body.light {
.global-header__inner { .global-header__inner {
max-width: 1200px; max-width: 1200px;
margin: 0 auto; margin: 0 auto;
padding: 0.85rem 1.25rem; padding: 0 1.25rem;
height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 1.25rem; gap: 1.25rem;
flex-wrap: wrap;
justify-content: space-between; justify-content: space-between;
} }
@@ -184,10 +186,18 @@ body.light {
color: var(--global-header-accent); color: var(--global-header-accent);
} }
@media (max-width: 960px) { @media (max-width: 960px) {
.global-header {
height: auto;
min-height: 90px;
padding: 1rem 0;
}
.global-header__inner { .global-header__inner {
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
height: auto;
} }
.global-header__actions { .global-header__actions {
@@ -199,7 +209,6 @@ body.light {
width: 100%; width: 100%;
} }
} }
@media (max-width: 640px) { @media (max-width: 640px) {
.global-brand__text span { .global-brand__text span {
font-size: 1rem; font-size: 1rem;

View File

@@ -41,8 +41,7 @@
<span class="global-dark-toggle__emoji">🌙</span> <span class="global-dark-toggle__emoji">🌙</span>
<span class="global-dark-toggle__text">Dark</span> <span class="global-dark-toggle__text">Dark</span>
</button> </button>
<a href="${CTA.href}" class="global-nav__cta">${CTA.label}</a> </div>
</div>
</div> </div>
</header> </header>
`; `;

View File

@@ -239,7 +239,7 @@ nav {
============================================ */ ============================================ */
main { main {
margin-top: 80px; margin-top: 90px;
padding: 40px 0; padding: 40px 0;
} }