diff options
author | Ben Court <git@bencourt.co.uk> | 2020-12-23 16:29:27 +0000 |
---|---|---|
committer | Laura Arjona Reina <larjona@debian.org> | 2021-01-09 20:03:53 +0100 |
commit | 702a1070a465b5c69eb807d86184551a1aaba5b2 (patch) | |
tree | 78c9c68be4787af7cef693463a7f45e61fd2a591 /english/startpage.css | |
parent | 6b6a74a0c8f0110b41d9538e7a6ecc6b9c3d6c7d (diff) |
fix a11y issues on list of features in homepage (English)
Diffstat (limited to 'english/startpage.css')
-rw-r--r-- | english/startpage.css | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/english/startpage.css b/english/startpage.css index f3b6a8b8e4f..1634175ef89 100644 --- a/english/startpage.css +++ b/english/startpage.css @@ -179,33 +179,30 @@ div .community { } /* END Classes used within 'The Operating System' */ -.styled-href-blue h2 a, -.styled-href-blue li a, -.styled-href-blue strong a, -.styled-href-blue a:link:hover, -.project-news-content a { +.styled-href-blue a, +.project-news-content a, +.styled-href-blue a:hover, +.project-news-content a:hover { text-decoration: none; position: relative; color: #3366FF; } -.styled-href-blue h2 a:after, -.styled-href-blue li a:after, -.styled-href-blue strong a:after, -.project-news-content a:after { +.styled-href-blue a::after, +.project-news-content a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; - border-bottom: 2px solid #3366FF; + border-bottom: 2px solid currentColor; transition: 0.35s; } -.styled-href-blue h2 a:hover:after, -.styled-href-blue li a:hover:after, -.styled-href-blue strong a:hover:after, -.project-news-content a:hover:after { +.styled-href-blue a:focus::after, +.styled-href-blue a:hover::after, +.project-news-content a:focus::after, + .project-news-content a:hover::after { width: 100%; } |