sass-site/source/assets/css/components/_navigation.scss

29 lines
521 B
SCSS
Raw Normal View History

.sl-l-medium-holy-grail__body.sl-js-nav--is-sticky .sl-c-list-navigation-wrapper{
position: sticky;
top: 0;
bottom: 0;
overflow-y: scroll;
@include sl-breakpoint--large {
height: 100vh;
}
}
2019-12-13 05:46:17 +01:00
.skip-link {
display: block;
padding: 0.25em 1em;
transform: translateY(calc(-100% - 1em));
2019-12-16 23:39:30 +01:00
transition: all .1s ease-in-out;
2019-12-13 05:46:17 +01:00
position: absolute;
left: 1em;
top: 1em;
z-index: 9999;
&:focus {
transform: translateY(0);
background: $sl-color--hopbush;
color: $sl-color--white;
}
}