Skip to content

Commit

Permalink
static links have no visited color
Browse files Browse the repository at this point in the history
  • Loading branch information
libewa committed Dec 26, 2024
1 parent ac91b13 commit 9b60001
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/navlinks.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul >
<ul class="static-links">
<li><a href="/index">Home</a></li>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact</a></li>
Expand Down
9 changes: 8 additions & 1 deletion assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,16 @@ h1 {
}

h1 a {
color: inherit;
color: $light-color;
text-decoration: none;
}
h1 a:visited {
color: $light-color;
}

.static-links a:visited {
color: $link-color;
}

code {
font-family: $code-font-family, monospace;
Expand Down

0 comments on commit 9b60001

Please sign in to comment.