Made the table of contents sticky

This commit is contained in:
Helen Chong 2023-07-15 10:00:53 +08:00
parent 5bee9b54eb
commit f809bbf0de
1 changed files with 7 additions and 5 deletions

View File

@ -31,11 +31,13 @@
<nav></nav>
<main>
<aside class="left-sidebar">
<div class="sidebar__toc">
<h3 class="sidebar__toc-title">Contents</h3>
<ul class="sidebar__toc-list">
<li><a href="#KotOR1">For <cite>Knights of the Old Republic I</cite></a></li>
<li><a href="#KotOR2">For <cite>Knights of the Old Republic II: The Sith Lords</cite></a></li>
</ul>
</div>
</aside>
<article>