From 53d0eaa4950dda4383e50af02b4f4642e5fd8836 Mon Sep 17 00:00:00 2001 From: Barry Ceelen Date: Mon, 19 Oct 2020 14:23:28 +0200 Subject: [PATCH 1/2] Underline all links, except in the navigation The link color makes it all but impossible to discern links in the page content for people with color vision issues. Let's just underline 'em? --- assets/css/sass/base/_typography.scss | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/assets/css/sass/base/_typography.scss b/assets/css/sass/base/_typography.scss index 27f012f..e0416cf 100644 --- a/assets/css/sass/base/_typography.scss +++ b/assets/css/sass/base/_typography.scss @@ -86,16 +86,15 @@ dl { a { color: $color-secondary; font-weight: $font-weight-medium; - text-decoration: none; - - &:hover, - &:focus { - text-decoration: underline; - } + text-decoration: underline; abbr { text-decoration: none; } + + .c-nav & { + text-decoration: none; + } } sup { From 7ff32fee78e0ad02648eb1d5a7016e31a205417f Mon Sep 17 00:00:00 2001 From: Barry Ceelen Date: Mon, 19 Oct 2020 15:02:07 +0200 Subject: [PATCH 2/2] Remove underline from component group links --- assets/css/sass/components/_component-group.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/css/sass/components/_component-group.scss b/assets/css/sass/components/_component-group.scss index 736ed53..b51bde6 100644 --- a/assets/css/sass/components/_component-group.scss +++ b/assets/css/sass/components/_component-group.scss @@ -22,6 +22,12 @@ a { color: $color-primary; + text-decoration: none; + + &:hover, + &:focus { + text-decoration: underline; + } } sup {