tstyle: keep default browser style for links, except patch chunks - stagit - static git page generator
HTML git clone git://src.adamsgaard.dk/stagit
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 1df3f334f6ae77950c9343299fb4bbd449d93729
DIR parent 3a151527e1d72aa75d9461ee9918bda3bd08bcb1
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 25 Dec 2018 13:39:34 +0100
style: keep default browser style for links, except patch chunks
This is almost always an underline. This improves accessibility.
Remove underline for patch chunks for readability.
Diffstat:
M style.css | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
DIR diff --git a/style.css b/style.css
t@@ -17,14 +17,13 @@ img {
border: 0;
}
-a {
+a.d,
+a.h,
+a.i,
+a.line {
text-decoration: none;
}
-a:hover {
- text-decoration: underline;
-}
-
#blob a {
color: #777;
}