From f6acaa5817a5dabc536c08cef23b0a664dd234c9 Mon Sep 17 00:00:00 2001 From: lancewillett Date: Fri, 13 Jul 2012 00:08:52 +0000 Subject: [PATCH] Twenty Twelve: improve screen-reader-text handling (aka assistive-text) to use text hiding technique more friendly for RTL. Also remove a duplicate CSS declaration as the same selector exists below in the file. git-svn-id: http://core.svn.wordpress.org/trunk@21264 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- style.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/style.css b/style.css index d119f0f88..05badd43c 100644 --- a/style.css +++ b/style.css @@ -404,9 +404,12 @@ a { a:hover { color: #0f3647; } +/* Assistive text */ .skip-link, +.screen-reader-text, .assistive-text { - display: none; + position: absolute !important; + clip: rect(1px, 1px, 1px, 1px); } /* Page structure */ @@ -835,11 +838,6 @@ article.sticky .featured-post { margin: 0 0 1.714285714rem; line-height: 1.714285714; } -.entry-content img.alignleft { - float: left; - margin: 0 24px 0 0; - margin: 0 1.714285714rem 0 0; -} .entry-content ol, .entry-content ul { margin: 0 0 24px;