2019-11-27 18:35:19 +07:00
|
|
|
/**
|
|
|
|
* Docs: Navs
|
|
|
|
*/
|
|
|
|
|
|
|
|
body > nav {
|
|
|
|
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
|
|
|
z-index: 99;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
backdrop-filter: saturate(180%) blur(20px);
|
|
|
|
background-color: var(--nav-background);
|
|
|
|
box-shadow: 0px 1px 0 var(--nav-border);
|
|
|
|
|
2019-12-11 08:46:32 +07:00
|
|
|
a {
|
2019-11-27 18:35:19 +07:00
|
|
|
border-radius: 0;
|
2020-09-23 13:03:25 +07:00
|
|
|
|
|
|
|
svg {
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
2019-11-27 18:35:19 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
ul:first-of-type li {
|
|
|
|
|
|
|
|
// Brand
|
|
|
|
&:first-of-type {
|
|
|
|
a {
|
|
|
|
width: 3.5rem;
|
|
|
|
height: 3.5rem;
|
2020-09-29 08:38:35 +07:00
|
|
|
margin-left: calc(var(--spacing-gutter) * -1);
|
2019-11-27 18:35:19 +07:00
|
|
|
padding: 0;
|
|
|
|
background: var(--h1);
|
|
|
|
color: var(--background);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Title
|
|
|
|
&:nth-of-type(2) {
|
|
|
|
display: none;
|
2020-09-29 08:38:35 +07:00
|
|
|
margin-left: var(--spacing-gutter);
|
2019-11-30 12:43:20 +07:00
|
|
|
color: var(--h1);
|
2019-11-27 18:35:19 +07:00
|
|
|
|
|
|
|
@media (min-width: map-get($breakpoints, "lg")) {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|