Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
25
core/themes/seven/css/components/skip-link.css
Normal file
25
core/themes/seven/css/components/skip-link.css
Normal file
|
@ -0,0 +1,25 @@
|
|||
/**
|
||||
* @file
|
||||
* Skip link
|
||||
*
|
||||
* Allows keyboard users to quickly skip to the main content of the page.
|
||||
*/
|
||||
|
||||
.skip-link {
|
||||
left: 50%;
|
||||
-webkit-transform: translateX(-50%);
|
||||
-ms-transform: translateX(-50%);
|
||||
transform: translateX(-50%);
|
||||
z-index: 50;
|
||||
background: #444;
|
||||
color: #fff;
|
||||
font-size: 0.94em;
|
||||
padding: 1px 10px 2px;
|
||||
border-radius: 0 0 10px 10px;
|
||||
}
|
||||
.skip-link:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
.skip-link.visually-hidden.focusable:focus {
|
||||
position: absolute !important;
|
||||
}
|
Reference in a new issue