From 45c4e87fe44230c1935d7a52b51d0689954e3016 Mon Sep 17 00:00:00 2001 From: "Zack M. Davis" Date: Wed, 31 Jan 2024 15:38:52 -0800 Subject: [PATCH] less goofy, more standard CSS link underlines (thx again to Said Achmiz) --- theme/static/css/main.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/theme/static/css/main.css b/theme/static/css/main.css index a043294..db4740d 100644 --- a/theme/static/css/main.css +++ b/theme/static/css/main.css @@ -132,15 +132,15 @@ p { } a { - text-decoration: none; - border-bottom: 1px dotted #4D4D4C; - color: #2D2D2C; + color: inherit; + text-decoration: dotted underline #4D4D4C from-font; + text-underline-position: from-font; + text-underline-offset: 0.1em; } a:hover, a:active { - text-decoration: none; - border-bottom: 1px dotted #C07095; - color: #C07095; + color: #C07095; + text-decoration-color: currentcolor; } .literal { -- 2.17.1