pico/docs/scss/components/_nav.scss
Lucas 73237bdcd4 Improvements
- Add .contrast variant
- Separate _button-styles.scss
- Edit .secondary, mark, figcaption, hgroup, tooltips
- Docs: Add More about grids, External links icon, Second theme switcher
2019-11-30 12:43:20 +07:00

46 lines
801 B
SCSS

/**
* 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);
li a {
border-radius: 0;
}
ul:first-of-type li {
// Brand
&:first-of-type {
a {
width: 3.5rem;
height: 3.5rem;
margin-left: -$spacing-gutter;
padding: 0;
background: var(--h1);
color: var(--background);
}
}
// Title
&:nth-of-type(2) {
display: none;
margin-left: $spacing-gutter;
color: var(--h1);
@media (min-width: map-get($breakpoints, "lg")) {
display: inline;
}
}
}
}