0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 09:33:54 +01:00
wagtail/client/scss/components/_skiplink.scss
Thibaud Colas 5c362bf831 Refactor all stylesheets to use CSS variables
Co-authored-by: Scott Cranfill <scott@scottcranfill.com>
2022-07-20 12:08:47 +01:00

17 lines
251 B
SCSS

.skiplink {
display: block;
position: fixed;
top: -1000rem;
inset-inline-start: 1rem;
z-index: 3000;
&:focus {
top: 1rem;
}
&.button {
background: theme('colors.positive.100');
border: theme('colors.positive.100');
}
}