mirror of
https://github.com/standardebooks/web.git
synced 2025-07-21 14:55:13 -04:00
Add chapter navigation footer
This commit is contained in:
parent
376f7d6c0c
commit
585f5289f2
3 changed files with 73 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue