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: https://develop.svn.wordpress.org/trunk@21264 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Lance Willett 2012-07-13 00:08:52 +00:00
parent 09635ed0cb
commit 5ab1806b37
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;