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;
|
2021-06-11 08:59:56 +01:00
|
|
|
line-height: var(--header-height);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav a {
|
2021-06-11 08:59:56 +01: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 {
|
2021-06-11 08:59:56 +01: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;
|
2021-06-11 08:59:56 +01: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
|
|
|
}
|
|
|
|
|
2021-06-11 09:04:55 +01:00
|
|
|
button#theme-toggle {
|
2021-02-12 05:18:04 +00:00
|
|
|
font-size: 26px;
|
2021-06-11 08:59:56 +01:00
|
|
|
margin: auto 4px;
|
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;
|
2021-06-11 08:59:56 +01:00
|
|
|
display: none;
|
2020-10-04 16:13:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.dark) #sun {
|
2021-06-11 08:59:56 +01: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;
|
2021-06-11 08:59:56 +01:00
|
|
|
white-space: nowrap;
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2021-06-11 09:04:55 +01:00
|
|
|
#menu li + li {
|
2021-06-11 08:59:56 +01:00
|
|
|
margin-inline-start: var(--gap);
|
2020-07-21 09:50:35 +01:00
|
|
|
}
|
|
|
|
|
2021-01-31 11:35:40 +00:00
|
|
|
#menu a {
|
2021-06-11 08:59:56 +01:00
|
|
|
font-size: 16px;
|
2022-04-10 17:54:50 +01:00
|
|
|
font-weight: 500;
|
|
|
|
color: var(--secondary);
|
2020-09-20 14:33:43 +01:00
|
|
|
}
|
|
|
|
|
2021-01-31 11:35:40 +00:00
|
|
|
#menu .active {
|
2022-04-10 17:54:50 +01:00
|
|
|
color: var(--primary);
|
2021-06-11 08:59:56 +01: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;
|
2021-06-11 08:59:56 +01:00
|
|
|
flex-wrap: inherit;
|
2020-10-26 16:49:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.lang-switch a {
|
2021-01-31 12:34:06 +00:00
|
|
|
margin: auto 3px;
|
2020-10-26 16:49:05 +00:00
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo-switches {
|
2021-06-11 08:59:56 +01:00
|
|
|
flex-wrap: inherit;
|
2020-10-26 16:49:05 +00:00
|
|
|
}
|