hugo-theme-wondermod/assets/css/header.css

42 lines
660 B
CSS
Raw Permalink Normal View History

2020-07-21 10:50:35 +02: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 {
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;
2020-07-26 15:24:53 +02:00
white-space: nowrap;
2020-07-21 10:50:35 +02:00
}
.menu li+li {
margin-left: var(--gap);
}
.menu a {
font-size: 16px;
}