Skip to content

Commit

Permalink
Alphabetize CSS declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Jan 31, 2022
1 parent 2be8d29 commit 1f99ba0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/epub/css/core.css
Expand Up @@ -36,13 +36,13 @@ h4,
h5,
h6,
hgroup{
break-after: avoid;
break-inside: avoid;
font-variant: small-caps;
hyphens: none;
-epub-hyphens: none;
break-after: avoid;
break-inside: avoid;
text-align: center;
margin: 3em 0;
text-align: center;
}

hgroup > *{
Expand Down
4 changes: 2 additions & 2 deletions src/epub/css/se.css
Expand Up @@ -11,14 +11,14 @@ section[epub|type~="titlepage"] p,
section[epub|type~="colophon"] h2,
section[epub|type~="imprint"] h2{
font-size: 0; /* Required for Kobo not to add an extra page to the title */
position: absolute; /* Required for Kindle */
left: -999em;
position: absolute; /* Required for Kindle */
}

section[epub|type~="titlepage"] img{
display: block;
width: 100%;
margin: 3em auto auto auto;
width: 100%;
}

section[epub|type~="colophon"],
Expand Down

0 comments on commit 1f99ba0

Please sign in to comment.