Make table of contents sticky instead of fixed

Fixed looks a bit strange with the new `All Posts` link.
This commit is contained in:
Philipp Oppermann
2019-03-19 12:52:31 +01:00
parent 06ec0dbf25
commit fe19af668d

View File

@@ -175,8 +175,10 @@ aside#all-posts-link {
#toc-aside {
display: block;
width: 12rem;
position: fixed;
top: 4rem;
position: sticky;
float: left;
top: 1rem;
margin-top: -4rem;
margin-left: -15rem;
font-size: 90%;
line-height: 1.2;