SiteWebAstrolabe/src/scss/components/_skip-link.scss
Yves Gatesoupe 87322c58f4 File cleanup
2020-07-16 23:34:37 +02:00

17 lines
358 B
SCSS

.skip-link:not(:focus) {
@extend %visually-hidden;
}
.skip-link:focus {
display: inline-block;
position: absolute;
top: 0;
left: 0;
padding: get-size(300) get-size(500) get-size('base') get-size(500);
background-color: var(--color-action-bg);
color: var(--color-action-text);
line-height: 1;
text-decoration: none;
font-weight: 700;
}