diff --git a/www/css/web.css b/www/css/web.css index 7d5768fc..67082f51 100644 --- a/www/css/web.css +++ b/www/css/web.css @@ -24,7 +24,8 @@ section + article, article + section, article + article{ box-sizing: border-box; - padding-top: 6em; + margin-top: 12em !important; + padding: 0; } nav[epub|type~="toc"] ol{ @@ -64,3 +65,10 @@ nav[epub|type~="toc"] ol{ filter: invert(1); } } + +@media(pointer: coarse) or (pointer: none){ + nav[epub|type~="toc"] ol li{ + margin-top: 2em; + margin-bottom: 2em; + } +}