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