Improve web.css

This commit is contained in:
Alex Cabal 2020-10-12 14:09:21 -05:00
parent 60dbb6b158
commit 200ea5407a

View file

@ -1,9 +1,11 @@
@namespace epub "http://www.idpf.org/2007/ops"; @namespace epub "http://www.idpf.org/2007/ops";
body{ body{
font-family: Georgia, serif;
font-size: 18px;
padding: 0 3em; padding: 0 3em;
margin: 3em auto; margin: 3em auto;
max-width: 60ch; max-width: 55ch;
} }
section + section, section + section,
@ -17,6 +19,16 @@ nav[epub|type~="toc"] ol{
list-style: none; list-style: none;
} }
@media(max-width: 65ch){
body{
padding: 0 1em;
}
section[epub|type~="imprint"] p{
width: 100%;
}
}
@media(prefers-color-scheme: dark){ @media(prefers-color-scheme: dark){
body{ body{
background: #222222; background: #222222;