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