mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 18:06:14 -04:00
refactor: :not() selectors
This commit is contained in:
parent
844a5fcf84
commit
17b3b4cead
31 changed files with 144 additions and 150 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
2
docs/css/pico.docs.min.css
vendored
2
docs/css/pico.docs.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -122,7 +122,7 @@ main > aside {
|
|||
> summary {
|
||||
margin-bottom: 0;
|
||||
|
||||
&:not([role=button]):not(:focus) {
|
||||
&:not([role=button], :focus) {
|
||||
color: var(--h1-color);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ body > main {
|
|||
}
|
||||
|
||||
// External links
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue