Sha256: 4f78c73fa9f09d3d72420da41aca15ef1cfe4fa4ff839ee09451e0ccbf976f8a

Contents?: true

Size: 647 Bytes

Versions: 10

Compression:

Stored size: 647 Bytes

Contents

// Only display content to screen readers
//
// See: http://a11yproject.com/posts/how-to-hide-content

@mixin sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

// Use in conjunction with .sr-only to only display content when it's focused.
//
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
//
// Credit: HTML5 Boilerplate

@mixin sr-only-focusable {
  &:active,
  &:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
  }
}

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
geekyll-0.1.2 _sass/geekyll/bootstrap4alpha4/mixins/_screen-reader.scss
geekyll-0.1.1 _sass/geekyll/bootstrap4alpha4/mixins/_screen-reader.scss
geekyll-0.1.0 _sass/geekyll/bootstrap4alpha4/mixins/_screen-reader.scss
geekyll-0.0.9 _sass/geekyll/bootstrap4alpha4/mixins/_screen-reader.scss
flying_dutchman-0.6.0 vendor/assets/stylesheets/bootstrap/mixins/_screen-reader.scss
bootstrap-4.0.0.alpha4 assets/stylesheets/bootstrap/mixins/_screen-reader.scss
flying_dutchman-0.5.0 vendor/assets/stylesheets/bootstrap/mixins/_screen-reader.scss
flying_dutchman-0.4.0 vendor/assets/stylesheets/bootstrap/mixins/_screen-reader.scss
flying_dutchman-0.3.0 vendor/assets/stylesheets/bootstrap/mixins/_screen-reader.scss
bootstrap-4.0.0.alpha3.1 assets/stylesheets/bootstrap/mixins/_screen-reader.scss