view core/themes/seven/css/components/skip-link.css @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children af1871eacc83
line wrap: on
line source
/**
 * @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;
}