2019-11-27 18:35:19 +07:00
|
|
|
/**
|
|
|
|
* Docs: Navs
|
|
|
|
*/
|
|
|
|
|
|
|
|
body > nav {
|
2022-02-27 14:41:34 +07:00
|
|
|
--nav-link-spacing-vertical: 1rem;
|
2022-03-06 09:44:46 +07:00
|
|
|
|
2019-11-27 18:35:19 +07:00
|
|
|
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
|
|
|
z-index: 99;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
backdrop-filter: saturate(180%) blur(20px);
|
2021-07-02 16:54:41 +07:00
|
|
|
background-color: var(--nav-background-color);
|
|
|
|
box-shadow: 0px 1px 0 var(--nav-border-color);
|
2019-11-27 18:35:19 +07:00
|
|
|
|
2021-11-14 11:09:58 +07:00
|
|
|
&.container-fluid {
|
|
|
|
padding-right: calc(var(--spacing) + var(--scrollbar-width, 0px));
|
|
|
|
}
|
|
|
|
|
2019-12-11 08:46:32 +07:00
|
|
|
a {
|
2019-11-27 18:35:19 +07:00
|
|
|
border-radius: 0;
|
2020-10-27 11:19:44 +07:00
|
|
|
}
|
2020-09-23 13:03:25 +07:00
|
|
|
|
2020-10-27 11:19:44 +07:00
|
|
|
svg {
|
|
|
|
vertical-align: text-bottom;
|
2019-11-27 18:35:19 +07:00
|
|
|
}
|
|
|
|
|
2020-10-27 11:19:44 +07:00
|
|
|
// Band & Title
|
2022-02-27 14:41:34 +07:00
|
|
|
ul:first-of-type {
|
|
|
|
margin-left: calc(var(--spacing) * -1);
|
2020-10-27 11:19:44 +07:00
|
|
|
|
2022-02-27 14:41:34 +07:00
|
|
|
li {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
// Brand
|
|
|
|
&:first-of-type {
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: var(--h1-color);
|
|
|
|
color: var(--nav-logo-color);
|
|
|
|
|
|
|
|
svg {
|
|
|
|
display: block;
|
|
|
|
width: 3.5rem;
|
|
|
|
height: 3.5rem;
|
|
|
|
}
|
2020-10-27 11:19:44 +07:00
|
|
|
}
|
2019-11-27 18:35:19 +07:00
|
|
|
}
|
2022-02-27 14:41:34 +07:00
|
|
|
|
|
|
|
// Title
|
|
|
|
&:nth-of-type(2) {
|
|
|
|
display: none;
|
|
|
|
margin-left: calc(var(--spacing) * 1.5);
|
|
|
|
color: var(--h1-color);
|
|
|
|
|
|
|
|
@media (min-width: map-get($breakpoints, "lg")) {
|
|
|
|
display: inline;
|
|
|
|
}
|
2019-11-27 18:35:19 +07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|