Archived
0
Fork 0

Fixed both link styles

This commit is contained in:
Matthew RONCHETTO 2020-08-02 15:45:25 -07:00
parent 3a0812471c
commit f680c33c62
Signed by: Matthew RONCHETTO
GPG key ID: 731513B76DED8009

View file

@ -249,10 +249,11 @@ footer {
padding-bottom: .25em;
a {
text-decoration: underline;
transition: all 250ms ease-in-out;
@if $classiclinks {
text-decoration-color: $LIGHTlinkHoverColour;
text-decoration-color: $LIGHTlinkColour;
@media(prefers-color-scheme: dark) {
text-decoration-color: $DARKlinkColour;
}
transition: all 250ms ease-in-out;
}
p, a {
margin: 0;
@ -261,13 +262,17 @@ footer {
}
}
@media(prefers-color-scheme: dark) {
a { color: $DARKlinkColour; }
a {
color: $DARKlinkColour;
text-decoration-color: $DARKlinkColour;
}
a:hover, ul a:hover, ol a:hover, p a:hover {
@if $classiclinks {
color: $DARKlinkHoverColour;
} @else {
text-decoration-color: $DARKlinkHoverColour;
} @else {
color: $DARKlinkColour;
text-decoration-color: $DARKlinkHoverColour;
}
}
}