diff doc/_static/style.css @ 7519:c1ef0827705a

Clamp link underline to max 4px Clamp link underline between 1 and 4px. For headers the underline was 6+px and was intersecting the letterforms when the header line wrapped.
author John Rouillard <rouilj@ieee.org>
date Tue, 04 Jul 2023 20:27:51 -0400
parents 055f47b41b8b
children 9ed6f48c43c5
line wrap: on
line diff
--- a/doc/_static/style.css	Mon Jun 26 15:14:48 2023 -0400
+++ b/doc/_static/style.css	Tue Jul 04 20:27:51 2023 -0400
@@ -178,7 +178,7 @@
 
 :link { color: rgb(220,0,0); text-decoration: none;}
 :link:hover {
-    text-decoration: underline solid .3ex;
+    text-decoration: underline solid clamp(1px, .3ex, 4px);
     text-underline-position: under;
 }
 :visited { color: rgb(200,0,0); text-decoration: none;}

Roundup Issue Tracker: http://roundup-tracker.org/