umami/components/layout/Header.module.css
2022-02-28 18:39:37 -08:00

65 lines
863 B
CSS

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