Skip to content

Commit

Permalink
Update CSS to new standards
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Jul 30, 2020
1 parent 03af582 commit 409ee94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/epub/css/core.css
Expand Up @@ -80,7 +80,10 @@ strong{
}

header{
page-break-inside: avoid;
break-after: avoid;
break-inside: avoid;
hyphens: none;
-epub-hyphens: none;
text-align: center;
}

Expand Down
3 changes: 3 additions & 0 deletions src/epub/css/local.css
Expand Up @@ -24,6 +24,7 @@ section[epub|type~="dedication"] p{
text-indent: 0;
font-variant: small-caps;
hyphens: none;
-epub-hyphens: none;
}

#the-street-of-our-lady-of-the-fields-chapter-1 blockquote p,
Expand Down Expand Up @@ -132,6 +133,7 @@ p span.i1{

[epub|type~="z3998:drama"] td[epub|type~="z3998:persona"]{
hyphens: none;
-epub-hyphens: none;
text-align: right;
width: 20%;
}
Expand Down Expand Up @@ -171,6 +173,7 @@ body [xml|lang]{
[epub|type~="epigraph"]{
font-style: italic;
hyphens: none;
-epub-hyphens: none;
}

[epub|type~="epigraph"] i{
Expand Down

0 comments on commit 409ee94

Please sign in to comment.