fix(website): lock global header height to 90px and remove duplicate marketplace nav button
This commit is contained in:
@@ -33,6 +33,8 @@ body.light {
|
||||
}
|
||||
|
||||
.global-header {
|
||||
height: 90px;
|
||||
box-sizing: border-box;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
@@ -45,11 +47,11 @@ body.light {
|
||||
.global-header__inner {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0.85rem 1.25rem;
|
||||
padding: 0 1.25rem;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.25rem;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
@@ -184,10 +186,18 @@ body.light {
|
||||
color: var(--global-header-accent);
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 960px) {
|
||||
.global-header {
|
||||
height: auto;
|
||||
min-height: 90px;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.global-header__inner {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.global-header__actions {
|
||||
@@ -199,7 +209,6 @@ body.light {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.global-brand__text span {
|
||||
font-size: 1rem;
|
||||
|
||||
@@ -41,8 +41,7 @@
|
||||
<span class="global-dark-toggle__emoji">🌙</span>
|
||||
<span class="global-dark-toggle__text">Dark</span>
|
||||
</button>
|
||||
<a href="${CTA.href}" class="global-nav__cta">${CTA.label}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
`;
|
||||
|
||||
@@ -239,7 +239,7 @@ nav {
|
||||
============================================ */
|
||||
|
||||
main {
|
||||
margin-top: 80px;
|
||||
margin-top: 90px;
|
||||
padding: 40px 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user