2020-10-10 19:47:58 +00:00
|
|
|
.site-header {
|
2024-06-03 23:22:36 +00:00
|
|
|
text-transform: lowercase;
|
|
|
|
padding-block: 1rem;
|
|
|
|
background: var(--color-background);
|
|
|
|
.container {
|
|
|
|
height: 4rem;
|
|
|
|
display: grid;
|
|
|
|
place-items: center start;
|
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
}
|
2021-12-28 14:52:13 +00:00
|
|
|
|
2024-06-03 23:22:36 +00:00
|
|
|
.support {
|
|
|
|
--icon-size: 2rem;
|
|
|
|
svg {
|
|
|
|
font-size: var(--icon-size, 2rem);
|
2021-12-28 14:52:13 +00:00
|
|
|
}
|
2024-06-03 23:22:36 +00:00
|
|
|
span {
|
|
|
|
display: none;
|
2021-12-28 14:52:13 +00:00
|
|
|
}
|
|
|
|
|
2024-06-03 23:22:36 +00:00
|
|
|
padding: 1rem;
|
|
|
|
display: grid;
|
|
|
|
place-items: center;
|
|
|
|
background: var(--color-accent);
|
|
|
|
color: var(--color-text);
|
|
|
|
text-decoration: none;
|
2021-12-28 14:52:13 +00:00
|
|
|
&:hover {
|
2024-06-03 23:22:36 +00:00
|
|
|
background-color: var(--color-button-hover-background);
|
|
|
|
color: var(--color-button-hover-text);
|
2021-12-28 14:52:13 +00:00
|
|
|
}
|
2024-06-03 23:22:36 +00:00
|
|
|
border-radius: 0.75rem;
|
|
|
|
|
|
|
|
@media (min-width: 400px) {
|
|
|
|
span {display: unset;}
|
|
|
|
grid-template-columns: var(--icon-size, 1rem) auto;
|
|
|
|
width: unset;
|
|
|
|
gap: 1rem;
|
|
|
|
padding-inline: 1rem;
|
2021-12-28 14:52:13 +00:00
|
|
|
}
|
|
|
|
}
|
2024-06-03 23:22:36 +00:00
|
|
|
|
2021-12-27 22:42:31 +00:00
|
|
|
|
2020-10-10 23:43:26 +00:00
|
|
|
|
2024-06-03 23:22:36 +00:00
|
|
|
.site-masthead {
|
|
|
|
display: inline-flex;
|
|
|
|
gap: 1rem;
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
font-weight: bold;
|
|
|
|
img {
|
|
|
|
width: 3rem;
|
|
|
|
height: 3rem;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
padding: 1rem;
|
|
|
|
border-radius: 0;
|
|
|
|
transition-duration: 0.4s;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
p {
|
|
|
|
background-color: var(--color-highlight-weak);
|
|
|
|
color: var(--color-highlight);
|
|
|
|
border-radius: 100rem;
|
|
|
|
}
|
|
|
|
}
|
2021-12-24 06:20:07 +00:00
|
|
|
}
|
2024-06-03 23:22:36 +00:00
|
|
|
.site-nav {
|
|
|
|
--icon-size: 3rem;
|
|
|
|
--icon-size-active: 3rem;
|
|
|
|
--icon-size-hover: 3rem;
|
|
|
|
height: var(--nav-height, 4rem);
|
|
|
|
padding-block-end: 0.5rem;
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
padding-inline-start: 0;
|
2024-02-26 11:41:39 +00:00
|
|
|
margin-block: 0;
|
2024-06-03 23:22:36 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
display: contents;
|
2020-10-16 20:00:32 +00:00
|
|
|
&.active {
|
2024-06-03 23:22:36 +00:00
|
|
|
font-weight: bold;
|
|
|
|
color: var(--color-highlight);
|
2021-12-28 14:52:13 +00:00
|
|
|
svg {
|
2024-06-03 23:22:36 +00:00
|
|
|
font-size: var(--icon-size-active, 2rem)
|
2021-12-28 14:52:13 +00:00
|
|
|
}
|
2024-06-03 23:22:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: var(--nav-height);
|
|
|
|
transition-duration: var(--transition-duration);
|
|
|
|
svg {
|
|
|
|
transition-duration: var(--transition-duration);
|
|
|
|
padding: 0.0rem 0.5rem;
|
|
|
|
font-size: var(--icon-size, 2rem);
|
|
|
|
border-radius: 100rem;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-highlight);
|
|
|
|
svg {
|
|
|
|
font-size: var(--icon-size-hover, 2.5rem);
|
|
|
|
background-color: var(--color-highlight-weak);
|
2021-12-28 14:52:13 +00:00
|
|
|
}
|
2020-10-16 20:00:32 +00:00
|
|
|
}
|
|
|
|
}
|
2024-06-03 23:22:36 +00:00
|
|
|
background-color: var(--color-background);
|
|
|
|
color: var(--color-text);
|
|
|
|
position: fixed;
|
|
|
|
z-index: 10;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
box-shadow: 0 -1px 3px rgba(0,35,54,0.12), 0 -1px 2px rgba(0,35,54,0.24);
|
2020-10-16 20:00:32 +00:00
|
|
|
}
|
2024-06-03 23:22:36 +00:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
--nav-height: 4rem;
|
|
|
|
.site-nav {
|
|
|
|
position: unset;
|
|
|
|
grid-area: nav;
|
|
|
|
display: inline-flex;
|
|
|
|
background: unset;
|
|
|
|
width: unset;
|
|
|
|
place-self: end;
|
|
|
|
box-shadow: unset;
|
|
|
|
padding-block-end: unset;
|
|
|
|
ul {gap: 1rem;}
|
|
|
|
}
|
|
|
|
.container {
|
|
|
|
grid-template-columns: auto 1fr auto;
|
|
|
|
grid-template-areas: "mast nav button";
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
2021-10-18 03:20:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-03 23:22:36 +00:00
|
|
|
body {
|
|
|
|
--nav-height: 5rem;
|
2024-03-11 02:05:55 +00:00
|
|
|
}
|