alexkarle.com

Source for alexkarle.com
git clone git://git.alexkarle.com/alexkarle.com.git
Log | Files | Refs | README | LICENSE

commit e1530f3925c2884e8cd4efe04f41f6ebfff7db80 (patch)
parent 844441fce7ac5c0364b3fe1a217da6889cb937ba
Author: Alex Karle <alex@alexkarle.com>
Date:   Wed, 30 Dec 2020 14:08:55 -0500

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.

Diffstat:
Mstyle.css | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 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) {