|
|
style: keep default browser style for links, except patch chunks - stagit - static git page generator |
|
|
 |
git clone git://git.codemadness.org/stagit (git://git.codemadness.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
 |
commit 1df3f334f6ae77950c9343299fb4bbd449d93729 |
|
|
 |
parent 3a151527e1d72aa75d9461ee9918bda3bd08bcb1 |
|
|
 |
Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) |
application/vnd.lotus-organizer |
|
|
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(-) |
|
|
|
--- |
|
|
 |
diff --git a/style.css b/style.css |
|
|
|
@@ -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; |
|
|
|
} |
|