mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
54 lines
749 B
CSS
54 lines
749 B
CSS
@namespace epub "http://www.idpf.org/2007/ops";
|
|
|
|
body{
|
|
font-family: Georgia, serif;
|
|
font-size: 18px;
|
|
padding: 0 3em;
|
|
margin: 3em auto;
|
|
max-width: 55ch;
|
|
}
|
|
|
|
section + section,
|
|
section + article,
|
|
article + section,
|
|
article + article{
|
|
margin-top: 6em;
|
|
}
|
|
|
|
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;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* These three link colors provide WCAG AAA compliance at 16px */
|
|
a:link{
|
|
color: #6bb9f0;
|
|
}
|
|
|
|
a:active{
|
|
color: #e6cc22;
|
|
}
|
|
|
|
a:visited{
|
|
color: #dda0dd;
|
|
}
|
|
|
|
img[epub|type~="se:color-depth.black-on-transparent"]{
|
|
filter: invert(1);
|
|
}
|
|
}
|