This is an automated email from the ASF dual-hosted git repository.
guozhang pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/kafka-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new b47ef3c MINOR: Make links recognizable (#160)
b47ef3c is described below
commit b47ef3cc4aec4bf04f2dbcf19c3ba3e638a9b562
Author: Aaron Sikes <[email protected]>
AuthorDate: Sat Sep 1 13:44:34 2018 -0400
MINOR: Make links recognizable (#160)
I added back standard link underlines, but removed them in the navbar where
they're unneccessary.
I chose a random decent-looking blue color for links, which passes WCAG AA:
https://webaim.org/resources/contrastchecker/?fcolor=0968DE&bcolor=FFFFFF
Reviewers: Guozhang Wang <[email protected]>
---
css/styles.css | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/css/styles.css b/css/styles.css
index 9af6e08..d8b3809 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -81,11 +81,7 @@ h3.bullet::after {
width: 5rem;
}
a {
- color: #0B6D88;
- text-decoration: none;
-}
-a:hover {
- color: #0C637B;
+ color: #0968DE;
}
img {
max-width: 100%;
@@ -353,6 +349,9 @@ nav {
text-transform: uppercase;
width: 16rem;
}
+nav a {
+ text-decoration: none;
+}
.nav__item,
.nav__item__with__subs {
color: #000000;
@@ -1507,4 +1506,4 @@ ul.video-list {
.video-list {
display: none;
}
-}
\ No newline at end of file
+}