Add prev and next chapter navigation

This commit is contained in:
2023-04-01 23:36:53 -07:00
parent 58e81517cd
commit 29a085d789
4 changed files with 127 additions and 13 deletions
+25
View File
@@ -0,0 +1,25 @@
<style>
/* Style the header */
.header {
padding: 10px 16px;
background: #555;
color: #f1f1f1;
}
/* Page content */
.content {
padding: 16px;
}
/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
position: fixed;
top: 0;
width: 100%
}
/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
padding-top: 102px;
}
</style>