Sha256: a50e16b428fd5e80bcd74bc1e7bb993dd9251a88b7f10af58e4d9bada37ddd0d

Contents?: true

Size: 950 Bytes

Versions: 2

Compression:

Stored size: 950 Bytes

Contents

/* ----------------------------- */
/* ==Misc (skip links, hyphens)  */
/* ----------------------------- */

/* styling skip links */
.#{$kna-namespace}skip-links {
  position: absolute;

  & a {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0.5em;
    background: black;
    color: white;
    text-decoration: none;

    &:focus {
      position: static;
      overflow: visible;
      clip: auto;
    }
  }
}

// hyphens on tiny screens
@media (max-width: $tiny) {
  /* you shall not pass */
  div,
  textarea,
  table,
  td,
  th,
  code,
  pre,
  samp {
    word-wrap: break-word;
    hyphens: auto;
  }
}

// use .no-wrapping to disallow hyphens on tiny screens
@media (max-width: $tiny) {
  .no-wrapping {
    word-wrap: normal;
    hyphens: manual;
  }
}

// SVG width IE fix
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  img[src$=".svg"] {
    width: 100%;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
theme-knacss-a11y-0.2 _sass/library/_misc.scss
theme-knacss-a11y-0.1 _sass/library/_misc.scss