From e1530f3925c2884e8cd4efe04f41f6ebfff7db80 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Wed, 30 Dec 2020 14:08:55 -0500 Subject: [PATCH] css: Force black text for permalinked bold/italic elements The default behavior for newer mandoc's seems to be to permalink .Sy / .Em macros... which is fine, but it spews blue links all over my pretty emphasis! This patch updates the style to force the b/i elements to be black. --- style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index ffcc610..99903a7 100644 --- a/style.css +++ b/style.css @@ -13,7 +13,10 @@ a:link { color: #0a7899; } a:visited { color: #033a4a; } code { font-size: 1em; } h1 { font-size: 1em; } -h1 > a { text-decoration: none; } + +/* override bold/italic colors within permalinks */ +a.permalink { text-decoration: none } +b,i { color: #000000 } /* Responsive screen sizes */ @media only screen and (min-width: 992px) { -- libgit2 1.1.1