From a8f86a2900a55a1143e823e437d9633bcece5f54 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Tue, 12 Jan 2021 12:19:28 -0600 Subject: [PATCH] Tweak web.css to give sections a minimum height --- www/css/web.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/www/css/web.css b/www/css/web.css index cfdfcaa6..7d5768fc 100644 --- a/www/css/web.css +++ b/www/css/web.css @@ -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{