refactor: :not() selectors

This commit is contained in:
Lucas Larroche 2022-09-11 18:30:49 +07:00
parent 844a5fcf84
commit 17b3b4cead
31 changed files with 144 additions and 150 deletions

View file

@ -70,7 +70,7 @@ body > main div[role=document] {
min-width: 0;
}
div[role=document] section a[href*="//"]:not([href*="https://picocss.com"]):not([role])::after {
div[role=document] section a[href*="//"]:not([href*="https://picocss.com"], [role])::after {
display: inline-block;
width: 1rem;
height: 1rem;
@ -180,7 +180,7 @@ main > aside details summary::after {
main > aside details[open] > summary {
margin-bottom: 0;
}
main > aside details[open] > summary:not([role=button]):not(:focus) {
main > aside details[open] > summary:not([role=button], :focus) {
color: var(--h1-color);
}