mirror of
https://github.com/standardebooks/web.git
synced 2025-07-08 15:50:29 -04:00
Unset styling in web.css to override styling that may have been set by the ebook itself
This commit is contained in:
parent
151e9e682b
commit
96f2da708a
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
@namespace epub "http://www.idpf.org/2007/ops";
|
@namespace epub "http://www.idpf.org/2007/ops";
|
||||||
|
|
||||||
body{
|
body{
|
||||||
font-family: georgia, serif;
|
font-family: "Georgia", serif;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
margin: 8rem auto 3rem;
|
margin: 8rem auto 3rem;
|
||||||
max-width: 55ch;
|
max-width: 55ch;
|
||||||
|
@ -10,6 +10,7 @@ body{
|
||||||
}
|
}
|
||||||
|
|
||||||
body > header{
|
body > header{
|
||||||
|
all: unset; /* Remove any properties set by selectors in the ebook itself */
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-bottom: 1px solid #999;
|
border-bottom: 1px solid #999;
|
||||||
box-shadow: 0 0 3px #ccc;
|
box-shadow: 0 0 3px #ccc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue