replace unnecessary :not() pseudoselectors
This commit is contained in:
parent
08dc8dffd9
commit
55c3326bb6
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue