Add chapter navigation footer

This commit is contained in:
Brandon 2022-11-04 23:13:53 -07:00
parent 376f7d6c0c
commit 585f5289f2
3 changed files with 73 additions and 1 deletions

View file

@ -1,5 +1,9 @@
@namespace epub "http://www.idpf.org/2007/ops";
html{
position: relative;
}
body{
font-family: "Georgia", serif;
font-size: 18px;
@ -51,6 +55,28 @@ body > header li:first-child > a:hover{
transform: scale(1.025) rotate(1deg);
}
body > footer{
position: absolute;
bottom: 0;
left: 0;
width: 100%;
}
body > footer ul{
display: flex;
justify-content: space-between;
margin: 0;
padding: 0.5em 1em;
list-style: none;
}
body > footer li{
max-width: 40%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
body > section[epub|type~="titlepage"],
body > section[epub|type~="halftitlepage"]{
min-height: auto;