2020-07-21 10:50:35 +02:00
|
|
|
.nav {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
2020-11-17 11:26:27 +01:00
|
|
|
max-width: calc(var(--nav-width) + var(--gap) * 2);
|
2020-10-19 11:17:23 +02:00
|
|
|
margin-inline-start: auto;
|
|
|
|
margin-inline-end: auto;
|
2020-11-17 08:15:19 +01:00
|
|
|
line-height: var(--header-height)
|
2020-07-21 10:50:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav a {
|
2020-11-17 08:15:19 +01:00
|
|
|
display: block
|
2020-07-21 10:50:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo,
|
|
|
|
.menu {
|
2020-10-04 17:13:24 +02:00
|
|
|
display: flex;
|
2020-09-20 08:24:41 +02:00
|
|
|
margin: auto var(--gap);
|
2020-12-01 04:06:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
2020-11-17 08:15:19 +01:00
|
|
|
flex-wrap: inherit
|
2020-07-21 10:50:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo a {
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 700;
|
2020-11-17 08:15:19 +01:00
|
|
|
margin-inline-end: 10px
|
2020-07-21 10:50:35 +02:00
|
|
|
}
|
|
|
|
|
2020-10-16 20:17:46 +02:00
|
|
|
.logo a img {
|
|
|
|
display: inline;
|
|
|
|
vertical-align: middle;
|
|
|
|
pointer-events: none;
|
|
|
|
transform: translate(0, -10%);
|
|
|
|
border-radius: 6px;
|
2020-11-17 08:15:19 +01:00
|
|
|
margin-inline-end: 8px
|
2020-10-16 20:17:46 +02:00
|
|
|
}
|
|
|
|
|
2020-10-20 07:08:43 +02:00
|
|
|
.theme-toggle svg {
|
2020-10-04 17:13:24 +02:00
|
|
|
height: 18px;
|
2020-10-20 07:08:43 +02:00
|
|
|
user-select: none;
|
2020-11-17 08:15:19 +01:00
|
|
|
cursor: pointer
|
2020-10-04 17:13:24 +02:00
|
|
|
}
|
|
|
|
|
2020-10-26 17:49:05 +01:00
|
|
|
body.dark #moon {
|
2020-10-04 17:13:24 +02:00
|
|
|
vertical-align: middle;
|
2020-11-17 08:15:19 +01:00
|
|
|
display: none
|
2020-10-04 17:13:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.dark) #sun {
|
2020-11-17 08:15:19 +01:00
|
|
|
display: none
|
2020-10-04 17:13:24 +02:00
|
|
|
}
|
|
|
|
|
2020-07-21 10:50:35 +02:00
|
|
|
.menu {
|
|
|
|
list-style: none;
|
|
|
|
word-break: keep-all;
|
|
|
|
overflow-x: auto;
|
2020-11-17 08:15:19 +01:00
|
|
|
white-space: nowrap
|
2020-07-21 10:50:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu li+li {
|
2020-11-17 08:15:19 +01:00
|
|
|
margin-inline-start: var(--gap)
|
2020-07-21 10:50:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu a {
|
2020-11-17 08:15:19 +01:00
|
|
|
font-size: 16px
|
2020-09-20 15:33:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu .active {
|
|
|
|
font-weight: 500;
|
2020-11-17 08:15:19 +01:00
|
|
|
border-bottom: 2px solid currentColor
|
2020-10-16 20:17:46 +02:00
|
|
|
}
|
2020-10-26 17:49:05 +01:00
|
|
|
|
2020-11-17 08:15:19 +01:00
|
|
|
.lang-switch li,
|
|
|
|
.lang-switch ul,
|
|
|
|
.logo-switches {
|
|
|
|
display: inline-flex
|
2020-10-26 17:49:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.lang-switch a {
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
2020-11-17 08:15:19 +01:00
|
|
|
margin: 0 8px
|
2020-10-26 17:49:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo-switches {
|
2020-11-17 08:15:19 +01:00
|
|
|
flex-wrap: inherit
|
2020-10-26 17:49:05 +01:00
|
|
|
}
|