From 3fd179aa6737dae415bed5f380fac13086dff8d7 Mon Sep 17 00:00:00 2001 From: fkakatie Date: Tue, 30 Jul 2024 15:09:57 -0600 Subject: [PATCH] fix: a11y contrast fix --- blocks/header/header.css | 4 ++++ styles/styles.css | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/blocks/header/header.css b/blocks/header/header.css index 488880e1aa..b6aa3949dc 100644 --- a/blocks/header/header.css +++ b/blocks/header/header.css @@ -151,6 +151,10 @@ header nav .nav-brand img { height: auto; } +header nav .nav-brand a { + text-decoration: none; +} + /* sections */ header nav .nav-sections { grid-area: sections; diff --git a/styles/styles.css b/styles/styles.css index cb0b6aa406..549fa036ff 100644 --- a/styles/styles.css +++ b/styles/styles.css @@ -147,11 +147,10 @@ button { /* links */ a:any-link { color: var(--link-color); - text-decoration: none; + text-decoration: underline; } a:hover { - text-decoration: underline; color: var(--link-hover-color); }