umami/components/layout/Header.module.css
2023-01-18 15:05:39 -08:00

71 lines
963 B
CSS

.header {
display: flex;
align-items: center;
width: 100%;
height: 50px;
border-bottom: 1px solid var(--base300);
}
.title {
flex: 1;
font-size: var(--font-size-lg);
font-weight: 700;
display: flex;
align-items: center;
flex-direction: row;
}
.logo {
margin-right: 12px;
}
.links {
flex: 2;
display: flex;
justify-content: center;
align-items: center;
font-size: var(--font-size-md);
font-weight: 600;
}
.links a + a {
margin-left: 40px;
}
.buttons {
flex: 1;
display: flex;
flex-direction: row;
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 30px;
}
.buttons,
.links {
display: none;
}
.title {
flex: 1;
padding: 0.5rem;
margin-bottom: 0.5rem;
}
}