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
This commit is contained in:
lancewillett 2012-07-13 00:08:52 +00:00
parent 23b119e304
commit f6acaa5817
1 changed files with 4 additions and 6 deletions

View File

@ -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;