commit 34d283cdb2b5d23be72206d7b8e519c592ed56ad
parent 408efe0a1bf3555e00d798a9af3b9159e5976036
Author: Stefan Kügel <skuegel@web.de>
Date: Thu, 8 Dec 2022 17:44:08 +0100
Integrated skip navigation link styles into CSS
Signed-off-by: Stefan Kügel <skuegel@web.de>
Diffstat:
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/static/styles.css b/static/styles.css
@@ -54,6 +54,25 @@ nav a:visited {
text-decoration: underline;
}
+.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;
+}
+
#body_content a:hover {
transition: background-color 0.3s;
background-color: rgba(200, 200, 200, 0.5);