Add Scrollspy for docs

This commit is contained in:
Lucas 2019-12-11 08:46:32 +07:00
parent b90ffcd3e5
commit 1c11c4975b
15 changed files with 310 additions and 60 deletions

View file

@ -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;
}
}