drupal/core/themes/olivero/css/components/skip-link.css

46 lines
916 B
CSS

/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Skip link
*
* Allows keyboard users to quickly skip to the main content of the page.
*/
.skip-link {
display: block;
width: 100%;
max-width: var(--max-bg-color);
padding-block: var(--sp0-5);
padding-inline-start: var(--sp);
padding-inline-end: var(--sp);
-webkit-text-decoration: none;
text-decoration: none;
color: var(--color--white);
outline: 0;
background-color: var(--color--gray-5);
}
.skip-link:hover {
-webkit-text-decoration: underline;
text-decoration: underline;
color: var(--color--white);
}
.skip-link::after {
content: "\0020 ➔";
}
.skip-link.focusable:focus {
position: absolute !important; /* Override position from module file. */
z-index: 503;
width: 100%;
height: 2.5rem;
outline: none;
}