132 lines
2.2 KiB
SCSS
132 lines
2.2 KiB
SCSS
:host {
|
|
display: block;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 900;
|
|
}
|
|
|
|
.site-header {
|
|
background: #fff;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
|
|
|
|
&__inner {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
height: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 32px;
|
|
|
|
@media (max-width: 600px) {
|
|
padding: 0 16px;
|
|
}
|
|
}
|
|
|
|
&__brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
text-decoration: none;
|
|
flex-shrink: 0;
|
|
|
|
img {
|
|
width: 32px;
|
|
height: 32px;
|
|
object-fit: contain;
|
|
}
|
|
}
|
|
|
|
&__wordmark {
|
|
font-size: 18px;
|
|
letter-spacing: -0.02em;
|
|
white-space: nowrap;
|
|
line-height: 1;
|
|
}
|
|
|
|
&__nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-left: auto;
|
|
|
|
@media (max-width: 600px) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&__link {
|
|
padding: 8px 14px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #475569;
|
|
text-decoration: none;
|
|
transition: background 0.15s, color 0.15s;
|
|
|
|
&:hover {
|
|
background: #f1f5f9;
|
|
color: #0f172a;
|
|
}
|
|
}
|
|
|
|
&__burger {
|
|
display: none;
|
|
margin-left: auto;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #475569;
|
|
cursor: pointer;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background 0.15s;
|
|
-webkit-appearance: none;
|
|
font-family: inherit;
|
|
|
|
&:hover { background: #f1f5f9; }
|
|
|
|
@media (max-width: 600px) {
|
|
display: inline-flex;
|
|
}
|
|
}
|
|
|
|
&__mobile-menu {
|
|
border-top: 1px solid #e2e8f0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 8px 12px 12px;
|
|
background: #fff;
|
|
}
|
|
|
|
&__mobile-link {
|
|
padding: 12px 14px;
|
|
border-radius: 10px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
color: #0f172a;
|
|
text-decoration: none;
|
|
transition: background 0.15s;
|
|
|
|
&:hover { background: #f1f5f9; }
|
|
}
|
|
}
|
|
|
|
// Wordmark colours
|
|
.wm-fast {
|
|
font-weight: 400;
|
|
font-size: 0.72em;
|
|
color: #64748b;
|
|
margin-right: 0.04em;
|
|
}
|
|
.wm-check {
|
|
font-weight: 700;
|
|
font-size: 1em;
|
|
color: #1e40af;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|