From 3a9c1d46b0f4be8d797b90be1f270f55bc38ae6b Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Mon, 30 Dec 2024 17:45:13 -0800 Subject: [PATCH] Style link text underlines rather than using border-bottom for link underlines. --- Shared/Article Rendering/stylesheet.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Shared/Article Rendering/stylesheet.css b/Shared/Article Rendering/stylesheet.css index 55f6cb946..a545ed085 100644 --- a/Shared/Article Rendering/stylesheet.css +++ b/Shared/Article Rendering/stylesheet.css @@ -414,8 +414,10 @@ a.footnote:hover, } .articleBody a:link, .articleBody a:visited { - text-decoration: none; - border-bottom: 1px solid var(--primary-accent-color); + text-decoration: underline; + text-decoration-color: var(--primary-accent-color); + text-decoration-thickness: 1px; + text-underline-offset: 2px; color: var(--secondary-accent-color); }