hugo-PaperMod/assets/css/header.css
Aditya Telange e91b15284a
css : refactor all margins
* hope this does not break anything xd
2020-09-20 16:33:50 +05:30

41 lines
630 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: auto 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;
}