You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

43 lines
808 B

  1. @charset "UTF-8";
  2. //
  3. // Scaffolding
  4. // --------------------------------------------------
  5. // Only display content to screen readers
  6. //
  7. // See: http://a11yproject.com/posts/how-to-hide-content/
  8. .sr-only {
  9. position: absolute;
  10. width: 1px;
  11. height: 1px;
  12. margin: -1px;
  13. padding: 0;
  14. overflow: hidden;
  15. clip: rect(0,0,0,0);
  16. border: 0;
  17. white-space: nowrap;
  18. }
  19. // Use in conjunction with .sr-only to only display content when it's focused.
  20. // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
  21. // Credit: HTML5 Boilerplate
  22. .sr-only-focusable {
  23. &:active,
  24. &:focus {
  25. position: static;
  26. width: auto;
  27. height: auto;
  28. margin: 0;
  29. overflow: visible;
  30. clip: auto;
  31. }
  32. }
  33. .hidden {
  34. display: none !important;
  35. visibility: hidden;
  36. }