Skip to content

Commit 9b60001

Browse files
committed
static links have no visited color
1 parent ac91b13 commit 9b60001

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

_includes/navlinks.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ul >
1+
<ul class="static-links">
22
<li><a href="/index">Home</a></li>
33
<li><a href="/about">About</a></li>
44
<li><a href="/contact">Contact</a></li>

assets/css/main.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,16 @@ h1 {
6464
}
6565

6666
h1 a {
67-
color: inherit;
67+
color: $light-color;
6868
text-decoration: none;
6969
}
70+
h1 a:visited {
71+
color: $light-color;
72+
}
73+
74+
.static-links a:visited {
75+
color: $link-color;
76+
}
7077

7178
code {
7279
font-family: $code-font-family, monospace;

0 commit comments

Comments
 (0)