Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated to match H5BP’s new image replacement technique http://is.gd/…

  • Loading branch information...
commit c0cec572610fff3fadda63dd07133741b17513c4 1 parent b72e6c9
@andrewdisley authored
Showing with 3 additions and 5 deletions.
  1. +2 −3 css/_h5bp.css
  2. +1 −2  css/style.css
View
5 css/_h5bp.css
@@ -250,8 +250,7 @@ td { vertical-align: top; }
========================================================================== */
/* For image replacement */
-.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
-.ir br { display: none; }
+.ir { border:0; font: 0/0 a; text-shadow: none; color: transparent; background-color: transparent; }
/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }
@@ -290,4 +289,4 @@ td { vertical-align: top; }
@page { margin: 0.5cm; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3 { page-break-after: avoid; }
-}
+}
View
3  css/style.css
@@ -77,8 +77,7 @@ td { vertical-align: top; }
/** H5BP and Skeleton Helpers
------------------------------------------------------------*/
-.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
-.ir br { display: none; }
+.ir { border:0; font: 0/0 a; text-shadow: none; color: transparent; background-color: transparent; }
.hidden { display: none !important; visibility: hidden; }
.vh { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.vhf:active, .vhf:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
Please sign in to comment.
Something went wrong with that request. Please try again.