limit link hover styles to articles

This commit is contained in:
Pat Dryburgh
2018-10-24 19:50:48 -07:00
parent d29ba3e2d6
commit a9c78f28c8
3 changed files with 8 additions and 4 deletions

View File

@ -23,6 +23,10 @@
text-indent: 0; text-indent: 0;
} }
.post a:hover {
background: $highlight;
}
.post dl, .post dl,
.post ul, .post ul,
.post ol { .post ol {

View File

@ -55,10 +55,6 @@ a {
color: $text-color; color: $text-color;
} }
a:hover {
background: $highlight;
}
a:focus { a:focus {
outline: 1px dashed $text-color; outline: 1px dashed $text-color;
} }

View File

@ -13,6 +13,10 @@
flex-direction: column-reverse; flex-direction: column-reverse;
text-decoration: none; text-decoration: none;
padding: .25em; padding: .25em;
&:hover,
&:focus {
background: $highlight;
}
@media (min-width: $on-tablet) { @media (min-width: $on-tablet) {
display: flex; display: flex;
flex-direction: row; flex-direction: row;