From 34d283cdb2b5d23be72206d7b8e519c592ed56ad Mon Sep 17 00:00:00 2001 From: Stefan Kügel Date: Thu, 8 Dec 2022 17:44:08 +0100 Subject: Integrated skip navigation link styles into CSS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Kügel --- static/styles.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'static/styles.css') diff --git a/static/styles.css b/static/styles.css index 44274f50..d27ef7bf 100644 --- 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); -- cgit v1.2.3