skip-link.css
Same filename in this branch
Same filename in other branches
- 9 core/profiles/demo_umami/themes/umami/css/components/navigation/skip-link/skip-link.css
- 9 core/themes/olivero/css/components/skip-link.css
- 9 core/themes/seven/css/components/skip-link.css
- 9 core/themes/claro/css/components/skip-link.css
- 9 core/themes/bartik/css/components/skip-link.css
- 8.9.x core/profiles/demo_umami/themes/umami/css/components/navigation/skip-link/skip-link.css
- 8.9.x core/themes/seven/css/components/skip-link.css
- 8.9.x core/themes/claro/css/components/skip-link.css
- 8.9.x core/themes/bartik/css/components/skip-link.css
- 10 core/profiles/demo_umami/themes/umami/css/components/navigation/skip-link/skip-link.css
- 10 core/themes/olivero/css/components/skip-link.css
- 10 core/themes/claro/css/components/skip-link.css
Skip link
Allows keyboard users to quickly skip to the main content of the page.
File
-
core/
themes/ olivero/ css/ components/ skip-link.css
View source
- /*
- * 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: calc(var(--max-bg-color) + var(--drupal-displace-offset-left, 0px));
- 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;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.