mirror of
https://github.com/standardebooks/web.git
synced 2025-07-20 13:24:48 -04:00
Improve web.css
This commit is contained in:
parent
60dbb6b158
commit
200ea5407a
1 changed files with 13 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
|||
@namespace epub "http://www.idpf.org/2007/ops";
|
||||
|
||||
body{
|
||||
font-family: Georgia, serif;
|
||||
font-size: 18px;
|
||||
padding: 0 3em;
|
||||
margin: 3em auto;
|
||||
max-width: 60ch;
|
||||
max-width: 55ch;
|
||||
}
|
||||
|
||||
section + section,
|
||||
|
@ -17,6 +19,16 @@ nav[epub|type~="toc"] ol{
|
|||
list-style: none;
|
||||
}
|
||||
|
||||
@media(max-width: 65ch){
|
||||
body{
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
section[epub|type~="imprint"] p{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media(prefers-color-scheme: dark){
|
||||
body{
|
||||
background: #222222;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue