Fix skip-to-content to be completely hidden by default
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
f1381d722a
commit
042324a302
|
@ -14,19 +14,36 @@ a { color: #EB2078; }
|
||||||
|
|
||||||
/* Fix skip-to-content accessibility styling */
|
/* Fix skip-to-content accessibility styling */
|
||||||
.skip-to-content {
|
.skip-to-content {
|
||||||
|
background: #EB2078;
|
||||||
|
height: 1px;
|
||||||
|
width: 1px;
|
||||||
|
overflow: hidden;
|
||||||
|
clip: rect(1px, 1px, 1px, 1px);
|
||||||
|
clip-path: inset(50%);
|
||||||
|
position: absolute;
|
||||||
|
padding: 0;
|
||||||
|
margin: -1px;
|
||||||
|
border: 0;
|
||||||
|
z-index: -999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.skip-to-content:focus {
|
||||||
background: #EB2078;
|
background: #EB2078;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
position: absolute;
|
color: white;
|
||||||
top: 0;
|
text-align: center;
|
||||||
left: -999px;
|
clip: auto;
|
||||||
|
clip-path: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
transition: left 0.3s;
|
position: fixed;
|
||||||
}
|
top: 0;
|
||||||
.skip-to-content:focus {
|
|
||||||
left: 0;
|
left: 0;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
outline: 3px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Video.js custom styling */
|
/* Video.js custom styling */
|
||||||
|
|
Loading…
Reference in New Issue