Skip to content

Commit

Permalink
limit link hover styles to articles
Browse files Browse the repository at this point in the history
  • Loading branch information
patdryburgh committed Oct 25, 2018
1 parent d29ba3e commit a9c78f2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions _sass/_article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
text-indent: 0;
}

.post a:hover {
background: $highlight;
}

.post dl,
.post ul,
.post ol {
Expand Down
4 changes: 0 additions & 4 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ a {
color: $text-color;
}

a:hover {
background: $highlight;
}

a:focus {
outline: 1px dashed $text-color;
}
Expand Down
4 changes: 4 additions & 0 deletions _sass/_post-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
flex-direction: column-reverse;
text-decoration: none;
padding: .25em;
&:hover,
&:focus {
background: $highlight;
}
@media (min-width: $on-tablet) {
display: flex;
flex-direction: row;
Expand Down

0 comments on commit a9c78f2

Please sign in to comment.