From 4f7ec3b0e56ea78e155201090831e5d0b65dc7c6 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 5 Jul 2012 03:35:43 -0400 Subject: [PATCH] little cleanup --- css/reset.css | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/css/reset.css b/css/reset.css index 76f0a7eb..8860fda4 100644 --- a/css/reset.css +++ b/css/reset.css @@ -51,32 +51,14 @@ ul{ margin: 1em 0; padding: 0 20px 0 20px; } .chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; } -/* ==|== non-semantic helper classes ======================================== +/* ==== non-semantic helper classes ======================================== Please define your styles before this section. ========================================================================== */ -/* 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; } - /* Hide from both screenreaders and browsers: h5bp.com/u */ .hidden { display: none !important; visibility: hidden; } -/* Hide only visually, but have it available for screenreaders: h5bp.com/v */ -.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } - -/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */ -.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } - -/* Hide visually and from screenreaders, but maintain layout */ -.invisible { visibility: hidden; } - -/* Contain floats: h5bp.com/q */ -.clearfix:before, .clearfix:after { content: ""; display: table; } -.clearfix:after { clear: both; } -.clearfix { *zoom: 1; } - -/* ==|== print styles ======================================================= +/* ==== print styles ======================================================= Print styles. Inlined to avoid required HTTP connection: h5bp.com/r ========================================================================== */