Mark sidebar toc entry corresponding to current hash

Also scroll it to the top on initial page load
This commit is contained in:
Kovid Goyal
2021-07-21 14:41:01 +05:30
parent 9b8085220f
commit 5027bc743b
3 changed files with 50 additions and 0 deletions

View File

@@ -13,3 +13,7 @@
margin-bottom: 0.75ex;
margin-top: 0.75ex;
}
.sidebar-tree a.current {
font-style: italic;
}