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 ced224f commit e5d6589
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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
2 changes: 1 addition & 1 deletion src/epub/css/local.css
Expand Up @@ -6,8 +6,8 @@ blockquote header{
}

footer{
text-align: right;
margin-top: 1em;
text-align: right;
}

[epub|type~="z3998:signature"]{
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 e5d6589

Please sign in to comment.