Scrollspy-style updating of hash and TOC highlighting

This commit is contained in:
Erik Demaine
2019-01-04 12:29:13 -05:00
parent d361c00f8a
commit f2f580101e
4 changed files with 49 additions and 2 deletions

@ -507,6 +507,11 @@
border-top-left-radius: $border-radius;
border-top-right-radius: $border-radius;
}
// Scrollspy marks toc items as .active when they are in focus
.active {
background: $active-color;
}
}
.toc__menu {