nonsemantic.css 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /* ==|== non-semantic helper classes ========================================
  2. Please define your styles before this section.
  3. ========================================================================== */
  4. /* For image replacement */
  5. .ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
  6. .ir br { display: none; }
  7. /* Hide from both screenreaders and browsers: h5bp.com/u */
  8. .hidden { display: none !important; visibility: hidden; }
  9. /* Hide only visually, but have it available for screenreaders: h5bp.com/v */
  10. .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
  11. /* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
  12. .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
  13. /* Hide visually and from screenreaders, but maintain layout */
  14. .invisible { visibility: hidden; }
  15. /* Contain floats: h5bp.com/q */
  16. .clearfix:before, .clearfix:after { content: ""; display: table; }
  17. .clearfix:after { clear: both; }
  18. .clearfix { zoom: 1; }
  19. *:focus{outline:none;}
  20. *::-moz-focus-inner { border: 0; }
  21. /* ==|== media queries ======================================================
  22. PLACEHOLDER Media Queries for Responsive Design.
  23. These override the primary ('mobile first') styles
  24. Modify as content requires.
  25. ========================================================================== */
  26. @media only screen and (min-width: 480px) {
  27. /* Style adjustments for viewports 480px and over go here */
  28. }
  29. @media only screen and (min-width: 768px) {
  30. /* Style adjustments for viewports 768px and over go here */
  31. }