mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 03:06:14 -04:00
Add Scrollspy for docs
This commit is contained in:
parent
b90ffcd3e5
commit
1c11c4975b
15 changed files with 310 additions and 60 deletions
|
@ -40,12 +40,14 @@ main > aside {
|
|||
}
|
||||
}
|
||||
|
||||
a,
|
||||
a.secondary {
|
||||
&:focus {
|
||||
background-color: transparent;
|
||||
color: var(--primary-hover);
|
||||
}
|
||||
a.secondary:focus {
|
||||
background-color: transparent;
|
||||
color: var(--primary-hover);
|
||||
}
|
||||
|
||||
a.active,
|
||||
a.active:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
details {
|
||||
|
@ -68,11 +70,3 @@ main > aside {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
[role=document] {
|
||||
section > h1,
|
||||
section > h2,
|
||||
section > h3 {
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue