umami/components/layout/Header.module.css

69 lines
905 B
CSS
Raw Normal View History

2020-08-05 07:45:05 +02:00
.header {
display: flex;
2022-03-01 03:39:37 +01:00
align-items: center;
2020-08-18 01:46:13 +02:00
min-height: 100px;
width: 100%;
2020-08-05 07:45:05 +02:00
}
.title {
2022-03-05 18:42:32 +01:00
flex: 1;
font-size: var(--font-size-lg);
2020-09-27 07:02:10 +02:00
display: flex;
align-items: center;
2022-12-10 23:26:52 +01:00
flex-direction: row;
2020-08-05 07:45:05 +02:00
}
2020-08-18 01:46:13 +02:00
.logo {
margin-right: 12px;
}
2022-03-01 03:39:37 +01:00
.links {
2022-03-05 18:42:32 +01:00
flex: 2;
2020-08-05 07:45:05 +02:00
display: flex;
justify-content: center;
2020-08-05 07:45:05 +02:00
align-items: center;
font-size: var(--font-size-md);
font-weight: 600;
2020-08-05 07:45:05 +02:00
}
2022-03-01 03:39:37 +01:00
.links a + a {
margin-left: 40px;
2020-08-05 07:45:05 +02:00
}
2020-08-07 07:03:02 +02:00
.buttons {
2022-03-05 18:42:32 +01:00
flex: 1;
display: flex;
2022-12-10 23:26:52 +01:00
flex-direction: row;
justify-content: flex-end;
2020-09-27 07:02:10 +02:00
align-items: center;
}
@media only screen and (max-width: 992px) {
2022-03-01 03:39:37 +01:00
.header .buttons {
flex: 1;
}
2022-03-12 01:04:05 +01:00
2022-03-01 03:39:37 +01:00
.links {
order: 2;
margin: 20px 0;
min-width: 100%;
}
2021-01-03 12:32:25 +01:00
}
@media only screen and (max-width: 768px) {
2021-01-03 12:32:25 +01:00
.header {
2022-03-12 01:04:05 +01:00
padding: 0 30px;
}
2022-03-01 03:39:37 +01:00
.buttons,
.links {
display: none;
}
2022-03-01 03:39:37 +01:00
.title {
flex: 1;
padding: 0.5rem;
margin-bottom: 0.5rem;
}
2020-08-07 07:03:02 +02:00
}