mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 02:16:15 -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -125,8 +125,6 @@
|
|||
// Docs: Forms
|
||||
// ––––––––––––––––––––
|
||||
|
||||
#forms {
|
||||
div.grid {
|
||||
grid-row-gap: 0;
|
||||
}
|
||||
#forms div.grid {
|
||||
grid-row-gap: 0;
|
||||
}
|
||||
|
|
|
@ -80,6 +80,7 @@ div[role="document"] section a[href*="//"]:not([href*="https://picocss.com"]):no
|
|||
content: '';
|
||||
}
|
||||
|
||||
|
||||
// Form grid
|
||||
// ––––––––––––––––––––
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue