mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-18 03:54:39 -05:00
42 lines
660 B
CSS
42 lines
660 B
CSS
/* 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 {
|
|
margin-left: var(--gap);
|
|
margin-right: var(--gap);
|
|
}
|
|
|
|
.logo a {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.menu {
|
|
display: flex;
|
|
list-style: none;
|
|
word-break: keep-all;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.menu li+li {
|
|
margin-left: var(--gap);
|
|
}
|
|
|
|
.menu a {
|
|
font-size: 16px;
|
|
} |