replace unnecessary :not() pseudoselectors

This commit is contained in:
Joe 2021-03-23 21:47:36 -05:00
parent 08dc8dffd9
commit 55c3326bb6
Signed by: joe
GPG Key ID: 8595A3F8F2CE1B74
1 changed files with 6 additions and 2 deletions

View File

@ -161,7 +161,7 @@ line {
white-space: normal;
}
.content a:before:not(.long), .aside h3 a:before {
.content a:before, .aside h3 a:before {
content:"";
position:absolute;
width: 0;
@ -173,11 +173,15 @@ line {
transition: width 0.3s ease 0s, right 0.3s ease 0s;
}
.content a:hover:before:not(.long), .aside h3 a:hover:before {
.content a:hover:before, .aside h3 a:hover:before {
visibility: visible;
width: 100%;
}
.content a.long:hover:before {
visibility: hidden;
}
.content a:hover, .content a:visited:hover {
color:hsla(224, 93%, 70%, 1);
}