mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
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:
parent
fde992b32f
commit
bf1f57085e
@ -404,9 +404,12 @@ a {
|
|||||||
a:hover {
|
a:hover {
|
||||||
color: #0f3647;
|
color: #0f3647;
|
||||||
}
|
}
|
||||||
|
/* Assistive text */
|
||||||
.skip-link,
|
.skip-link,
|
||||||
|
.screen-reader-text,
|
||||||
.assistive-text {
|
.assistive-text {
|
||||||
display: none;
|
position: absolute !important;
|
||||||
|
clip: rect(1px, 1px, 1px, 1px);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Page structure */
|
/* Page structure */
|
||||||
@ -835,11 +838,6 @@ article.sticky .featured-post {
|
|||||||
margin: 0 0 1.714285714rem;
|
margin: 0 0 1.714285714rem;
|
||||||
line-height: 1.714285714;
|
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 ol,
|
||||||
.entry-content ul {
|
.entry-content ul {
|
||||||
margin: 0 0 24px;
|
margin: 0 0 24px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user