diff options
author | Stefan Kügel <skuegel@web.de> | 2023-01-16 17:42:30 +0100 |
---|---|---|
committer | Stefan Kügel <skuegel@web.de> | 2023-01-16 17:42:30 +0100 |
commit | 4367ac1fc2f629c875935fe0398e7aee15045de8 (patch) | |
tree | ce3ead65f24b1ddb509ce37a0e2a97acd2f5d97e | |
parent | ba957a74f8933e3c375432a56f688586f3c95fd6 (diff) |
Inserting the CSS skip style
-rw-r--r-- | static/styles.css | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/static/styles.css b/static/styles.css index 46aa59a8..ee017164 100644 --- a/static/styles.css +++ b/static/styles.css @@ -30,25 +30,24 @@ left: 0; z-index: 3; } -.skip { - display: none !important; - position: absolute; - top: 0; - left: 0; - width: 100%; - font-size: .857143em; } - .skip li { - position: absolute; - z-index: 1; - margin: 0; } - .skip a { - position: absolute; - left: -9999px; } - .skip a:active, .skip a:focus { - display: block; - position: static; - left: 0; - padding: .25em 1em; } +.skip +{ +position:absolute; +left:-10000px; +top:auto; +width:1px; +height:1px; +overflow:hidden; +} + +.skip:focus +{ +position:static; +width:auto; +height:auto; +background: white; +padding: 5px; +} .near-white { color: #f4f4f4 !important; } |