Mercurial > hg > isophonics-drupal-site
diff core/themes/bartik/css/components/skip-link.css @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | af1871eacc83 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/themes/bartik/css/components/skip-link.css Wed Nov 29 16:09:58 2017 +0000 @@ -0,0 +1,25 @@ +/** + * @file + * Styles for the skip link. + */ + +.skip-link { + left: 50%; + -webkit-transform: translateX(-50%); + -ms-transform: translateX(-50%); + transform: translateX(-50%); + z-index: 50; + background: #444; + background: rgba(0, 0, 0, 0.6); + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size: 0.94em; + line-height: 1.7em; + padding: 1px 10px 2px; + border-radius: 0 0 10px 10px; + border-bottom-width: 0; + outline: 0; +} +.skip-link.visually-hidden.focusable:focus { + position: absolute !important; + color: #fff; +}