mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 10:31:59 -04:00
Tweak web.css to give sections a minimum height
This commit is contained in:
parent
79573d121c
commit
a8f86a2900
1 changed files with 13 additions and 1 deletions
|
@ -8,11 +8,23 @@ body{
|
|||
max-width: 55ch;
|
||||
}
|
||||
|
||||
body > nav,
|
||||
body > section,
|
||||
body > article{
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
body > section[epub|type~="titlepage"],
|
||||
body > section[epub|type~="halftitlepage"]{
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
section + section,
|
||||
section + article,
|
||||
article + section,
|
||||
article + article{
|
||||
margin-top: 6em;
|
||||
box-sizing: border-box;
|
||||
padding-top: 6em;
|
||||
}
|
||||
|
||||
nav[epub|type~="toc"] ol{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue