Skip to content

Commit b8ed939

Browse files
committed
follow WebAIM recommendations for link colors
1 parent f2b0378 commit b8ed939

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

css/site.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ a, a:visited, a:hover, a:active, a:hover {
2424
text-decoration: underline;
2525
}
2626

27-
a:hover {
28-
text-decoration: none;
29-
}
3027

3128
blockquote, p, dl, h1, h2, h3, h4, h5, h6, ol, ul {
3229
padding-top: 0.5em;
@@ -243,10 +240,6 @@ body > #body-outer {
243240
line-height: 1.6em;
244241
}
245242

246-
#sidebar a, #sidebar a:hover, #sidebar a:active, #sidebar a:visited {
247-
text-decoration: none;
248-
}
249-
250243
#sidebar a:hover {
251244
text-decoration: underline;
252245
}

themes/pypy/assets/css/styles.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,21 @@
77
--link-hover-color: #e0dad5;
88
}
99

10+
/* Links */
11+
:link {
12+
color: #3344dd;
13+
text-decoration: underline;
14+
}
15+
:visited {
16+
color: #3344dd;
17+
}
18+
:link:hover, :visited:hover {
19+
color: #3344dd;
20+
}
1021

11-
.reference:hover {
12-
color: white;
13-
background-color: #d0dad5;
22+
#brand :link,
23+
#brand :visited {
24+
color: inherit;
1425
}
1526

1627
pre.literal-block {

0 commit comments

Comments
 (0)