umami/src/app/(app)/NavBar.module.css

75 lines
1.1 KiB
CSS
Raw Normal View History

.navbar {
2023-09-29 14:29:22 +02:00
display: grid;
grid-template-columns: max-content 1fr 1fr;
position: relative;
align-items: center;
2023-03-22 05:28:36 +01:00
height: 60px;
background: var(--base75);
2023-03-26 13:15:08 +02:00
border-bottom: 1px solid var(--base300);
2023-03-22 05:28:36 +01:00
padding: 0 20px;
}
2023-03-22 05:28:36 +01:00
.logo {
display: flex;
2023-03-24 18:55:20 +01:00
flex-direction: row;
align-items: center;
gap: 10px;
font-size: 16px;
font-weight: 700;
2023-03-22 05:28:36 +01:00
min-width: 0;
}
2023-03-22 05:28:36 +01:00
.links {
display: flex;
flex-direction: row;
2023-03-23 19:46:49 +01:00
gap: 30px;
2023-03-22 05:28:36 +01:00
padding: 0 40px;
font-weight: 700;
2023-09-29 14:29:22 +02:00
max-height: 60px;
}
2023-09-29 14:29:22 +02:00
.links a,
.links a:active,
.links a:visited {
2023-03-23 19:46:49 +01:00
color: var(--font-color200);
2023-09-29 14:29:22 +02:00
line-height: 60px;
2023-03-23 19:46:49 +01:00
border-bottom: 2px solid transparent;
}
2023-03-22 05:28:36 +01:00
.links a:hover {
2023-03-23 19:46:49 +01:00
color: var(--font-color100);
border-bottom: 2px solid var(--primary400);
}
2023-09-29 14:29:22 +02:00
.links a.selected {
2023-03-23 19:46:49 +01:00
color: var(--font-color100);
border-bottom: 2px solid var(--primary400);
}
2023-01-21 02:12:53 +01:00
2023-04-10 05:22:28 +02:00
.actions,
.mobile {
2023-01-21 02:12:53 +01:00
display: flex;
2023-03-22 05:28:36 +01:00
flex-direction: row;
2023-01-21 02:12:53 +01:00
align-items: center;
2023-03-22 05:28:36 +01:00
justify-content: flex-end;
}
2023-03-24 18:55:20 +01:00
2023-04-10 05:22:28 +02:00
.mobile {
display: none;
}
2023-03-24 18:55:20 +01:00
@media only screen and (max-width: 768px) {
2023-09-29 14:29:22 +02:00
.navbar {
grid-template-columns: repeat(2, 1fr);
}
2023-03-24 18:55:20 +01:00
.links,
.actions {
display: none;
}
2023-04-10 05:22:28 +02:00
.mobile {
display: flex;
}
2023-03-24 18:55:20 +01:00
}