2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2021-01-26 17:40:33 +00:00
|
|
|
%skip-links {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: absolute;
|
2021-04-06 12:40:40 +00:00
|
|
|
z-index: 10;
|
2021-01-26 17:40:33 +00:00
|
|
|
left: 50%;
|
|
|
|
padding: 20px;
|
|
|
|
top: -100px;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
}
|
2021-04-06 12:40:40 +00:00
|
|
|
%skip-links div,
|
|
|
|
%skip-links button,
|
|
|
|
%skip-links a {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2021-01-26 17:40:33 +00:00
|
|
|
%skip-links:focus-within {
|
|
|
|
top: 0px;
|
|
|
|
}
|