feat: highlight nav item in onPageNav ToC (#1524)

* feat: highlight nav item in onPageNav ToC

* fix: use es5 in browser scripts, update documentation, css refactoring

* fix: removes smooth scroll

* fix: removes unnecessary codeblock , undo css formatting issues, modify scrip load url

* fix: update scrollspy script comments
This commit is contained in:
Tushar Sharma 2019-05-30 21:24:47 +05:30 committed by Yangshun Tay
parent b267d8136d
commit 9514593d5f
3 changed files with 74 additions and 3 deletions

View file

@ -1958,23 +1958,27 @@ input::placeholder {
}
.onPageNav::-webkit-scrollbar-track {
background: #f1f1f1;
background: #f1f1f1;
border-radius: 10px;
}
.onPageNav::-webkit-scrollbar-thumb {
background: #888;
background: #888;
border-radius: 10px;
}
.onPageNav::-webkit-scrollbar-thumb:hover {
background: #555;
background: #555;
}
.onPageNav a {
color: #717171;
}
.onPageNav .toc-headings > li > a.active {
font-weight: 600;
}
.onPageNav ul {
list-style: none;
}