mirror of https://github.com/status-im/consul.git
27 lines
428 B
SCSS
27 lines
428 B
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
%skip-links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
z-index: 10;
|
|
left: 50%;
|
|
padding: 20px;
|
|
top: -100px;
|
|
transform: translateX(-50%);
|
|
}
|
|
%skip-links div,
|
|
%skip-links button,
|
|
%skip-links a {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
%skip-links:focus-within {
|
|
top: 0px;
|
|
}
|