mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 19:03:38 +02:00
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:
parent
b267d8136d
commit
9514593d5f
3 changed files with 74 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue