mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
49 lines
906 B
SCSS
49 lines
906 B
SCSS
|
.screen-reader-text {
|
||
|
border: 0;
|
||
|
clip: rect(1px, 1px, 1px, 1px);
|
||
|
-webkit-clip-path: inset(50%);
|
||
|
clip-path: inset(50%);
|
||
|
height: 1px;
|
||
|
margin: -1px;
|
||
|
overflow: hidden;
|
||
|
padding: 0;
|
||
|
position: absolute !important;
|
||
|
width: 1px;
|
||
|
word-wrap: normal !important;
|
||
|
word-break: normal;
|
||
|
}
|
||
|
|
||
|
.skip-link:focus {
|
||
|
background-color: #f1f1f1;
|
||
|
border-radius: 3px;
|
||
|
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
|
||
|
clip: auto !important;
|
||
|
-webkit-clip-path: none;
|
||
|
clip-path: none;
|
||
|
color: #21759b;
|
||
|
display: block;
|
||
|
font-size: 0.875rem;
|
||
|
font-weight: 700;
|
||
|
height: auto;
|
||
|
left: 5px;
|
||
|
line-height: normal;
|
||
|
padding: 15px 23px 14px;
|
||
|
text-decoration: none;
|
||
|
top: 5px;
|
||
|
width: auto;
|
||
|
z-index: 100000;
|
||
|
}
|
||
|
|
||
|
/* Do not show the outline on the skip link target. */
|
||
|
#content[tabindex="-1"]:focus {
|
||
|
outline: 0;
|
||
|
}
|
||
|
|
||
|
@media (prefers-reduced-motion) {
|
||
|
|
||
|
* {
|
||
|
transition-delay: 0s !important;
|
||
|
transition-duration: 0s !important;
|
||
|
}
|
||
|
}
|