Tweak web.css to give sections a minimum height

This commit is contained in:
Alex Cabal 2021-01-12 12:19:28 -06:00
parent 79573d121c
commit a8f86a2900

View file

@ -8,11 +8,23 @@ body{
max-width: 55ch; 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 + section,
section + article, section + article,
article + section, article + section,
article + article{ article + article{
margin-top: 6em; box-sizing: border-box;
padding-top: 6em;
} }
nav[epub|type~="toc"] ol{ nav[epub|type~="toc"] ol{