mirror of
https://github.com/standardebooks/web.git
synced 2025-07-09 16:20:27 -04:00
Add mobile improvements for web ebook CSS
This commit is contained in:
parent
96dc9b19b8
commit
49037e6d87
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue