From 126ef6d67930cea1b4a2fe7818d85bb6eaad2374 Mon Sep 17 00:00:00 2001 From: betalars <contact@betalars.de> Date: Sat, 26 Mar 2022 15:08:43 +0100 Subject: [PATCH] added sr-only class to styleguide.css --- styleguide-website/styleguide.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/styleguide-website/styleguide.css b/styleguide-website/styleguide.css index dec825b..e4de57c 100644 --- a/styleguide-website/styleguide.css +++ b/styleguide-website/styleguide.css @@ -260,7 +260,7 @@ a { } a:not(.ignore-visited):visited, a.always-visited { - color: var(--secondary-highlight-color); + color: var(--tertiary-highlight-color); } input { @@ -391,6 +391,15 @@ hr::after { } } +#sr-only { + position:absolute; + left:-10000px; + top:auto; + width:1px; + height:1px; + overflow:hidden; +} + html { /* Works around a bug in chromium that makes the site not full width in small preview sizes*/ position: absolute; -- GitLab