Sha256: 38f41b62a68b6e62b690e3149f2ee0453706841e49110ed09263ddf3eef61ae8

Contents?: true

Size: 1007 Bytes

Versions: 9

Compression:

Stored size: 1007 Bytes

Contents

/* ==========================================================================
   Accessibility Modules
   ========================================================================== */

/* Text meant only for screen readers */
.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
  position: absolute !important;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  border: 0;
  overflow: hidden;

  &:focus {
    display: block;
    top: 5px;
    left: 5px;
    width: auto;
    height: auto;
    padding: 0.75em 1em;
    clip: auto !important;
    border-radius: 0.125em;
    background-color: $base-color;
    color: #fff;
    font-weight: bold;
    line-height: normal;
    text-decoration: none;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    z-index: 100000;
  }
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus {
  width: auto;
  height: auto;
  clip: auto !important;
  text-decoration: none;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  z-index: 100000;
}

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
jekyll-theme-basically-basic-1.4.5 _sass/basically-basic/utilities/_accessibility.scss
jekyll-theme-so-simple-3.1.3 _sass/so-simple/utilities/_accessibility.scss
jekyll-theme-basically-basic-1.4.4 _sass/basically-basic/utilities/_accessibility.scss
jekyll-theme-basically-basic-1.4.3 _sass/basically-basic/utilities/_accessibility.scss
jekyll-theme-basically-basic-1.4.2 _sass/basically-basic/utilities/_accessibility.scss
jekyll-theme-so-simple-3.1.2 _sass/so-simple/utilities/_accessibility.scss
jekyll-theme-basically-basic-1.4.1 _sass/basically-basic/utilities/_accessibility.scss
jekyll-theme-so-simple-3.1.1 _sass/so-simple/utilities/_accessibility.scss
jekyll-theme-basically-basic-1.4.0 _sass/basically-basic/utilities/_accessibility.scss