Add mobile improvements for web ebook CSS

This commit is contained in:
Alex Cabal 2021-04-20 21:50:05 -05:00
parent 96dc9b19b8
commit 49037e6d87

View file

@ -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;
}
}