2020-07-21 09:50:35 +01:00
|
|
|
/* Header
|
|
|
|
-------------------------------------------------- */
|
|
|
|
.nav {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
max-width: calc(var(--nav-width) + var(--gap) * 2);
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav a {
|
|
|
|
display: block;
|
|
|
|
line-height: var(--header-height);
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo,
|
|
|
|
.menu {
|
2020-09-20 07:24:41 +01:00
|
|
|
margin: auto var(--gap);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo a {
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu {
|
|
|
|
display: flex;
|
|
|
|
list-style: none;
|
|
|
|
word-break: keep-all;
|
|
|
|
overflow-x: auto;
|
2020-07-26 14:24:53 +01:00
|
|
|
white-space: nowrap;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu li+li {
|
|
|
|
margin-left: var(--gap);
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu a {
|
|
|
|
font-size: 16px;
|
2020-09-20 14:33:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu .active {
|
|
|
|
font-weight: 500;
|
|
|
|
border-bottom: 2px solid currentColor;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|