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;
|
2020-11-17 02:15:19 -05:00
|
|
|
line-height: var(--header-height)
|
2020-07-21 04:50:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav a {
|
2020-11-17 02:15:19 -05:00
|
|
|
display: block
|
2020-07-21 04:50:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo,
|
|
|
|
.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-17 02:15:19 -05:00
|
|
|
flex-wrap: inherit
|
2020-07-21 04:50:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo a {
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: 700;
|
2020-11-17 02:15:19 -05:00
|
|
|
margin-inline-end: 10px
|
2020-07-21 04:50:35 -04:00
|
|
|
}
|
|
|
|
|
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;
|
2020-11-17 02:15:19 -05:00
|
|
|
margin-inline-end: 8px
|
2020-10-16 14:17:46 -04:00
|
|
|
}
|
|
|
|
|
2020-10-20 01:08:43 -04:00
|
|
|
.theme-toggle svg {
|
2020-10-04 11:13:24 -04:00
|
|
|
height: 18px;
|
2020-10-20 01:08:43 -04:00
|
|
|
user-select: none;
|
2020-11-17 02:15:19 -05:00
|
|
|
cursor: pointer
|
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;
|
2020-11-17 02:15:19 -05:00
|
|
|
display: none
|
2020-10-04 11:13:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
body:not(.dark) #sun {
|
2020-11-17 02:15:19 -05:00
|
|
|
display: none
|
2020-10-04 11:13:24 -04:00
|
|
|
}
|
|
|
|
|
2020-07-21 04:50:35 -04:00
|
|
|
.menu {
|
|
|
|
list-style: none;
|
|
|
|
word-break: keep-all;
|
|
|
|
overflow-x: auto;
|
2020-11-17 02:15:19 -05:00
|
|
|
white-space: nowrap
|
2020-07-21 04:50:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu li+li {
|
2020-11-17 02:15:19 -05:00
|
|
|
margin-inline-start: var(--gap)
|
2020-07-21 04:50:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu a {
|
2020-11-17 02:15:19 -05:00
|
|
|
font-size: 16px
|
2020-09-20 09:33:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu .active {
|
|
|
|
font-weight: 500;
|
2020-11-17 02:15:19 -05: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 {
|
|
|
|
display: inline-flex
|
2020-10-26 12:49:05 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.lang-switch a {
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
2020-11-17 02:15:19 -05:00
|
|
|
margin: 0 8px
|
2020-10-26 12:49:05 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo-switches {
|
2020-11-17 02:15:19 -05:00
|
|
|
flex-wrap: inherit
|
2020-10-26 12:49:05 -04:00
|
|
|
}
|