umami/components/layout/Header.module.css
Nick Radford a30074c055 Addresses mikecao/umami#460
Adds an explicit meta tag for the viewport, resizes the navigation link size
for smaller screens
2021-02-09 02:58:35 -08:00

51 lines
733 B
CSS

.header {
display: flex;
min-height: 100px;
}
.title {
font-size: var(--font-size-large);
display: flex;
align-items: center;
line-height: 1.4;
}
.logo {
margin-right: 12px;
}
.nav {
display: flex;
justify-content: center;
align-items: center;
font-size: var(--font-size-normal);
font-weight: 600;
}
.nav a + a {
margin-left: 40px;
}
.buttons {
display: flex;
justify-content: flex-end;
align-items: center;
}
@media only screen and (max-width: 992px) {
.nav {
font-size: var(--font-size-large);
justify-content: center;
padding: 20px 0;
}
}
@media only screen and (max-width: 576px) {
.header {
padding: 0 15px;
}
.nav {
font-size: var(--font-size-normal);
}
}