Alphabetize CSS declarations

This commit is contained in:
Alex Cabal 2022-01-30 18:47:12 -06:00
parent 40c7fa4dcc
commit 8fa5c38b25
3 changed files with 6 additions and 6 deletions

View file

@ -36,13 +36,13 @@ h4,
h5, h5,
h6, h6,
hgroup{ hgroup{
break-after: avoid;
break-inside: avoid;
font-variant: small-caps; font-variant: small-caps;
hyphens: none; hyphens: none;
-epub-hyphens: none; -epub-hyphens: none;
break-after: avoid;
break-inside: avoid;
text-align: center;
margin: 3em 0; margin: 3em 0;
text-align: center;
} }
hgroup > *{ hgroup > *{

View file

@ -99,9 +99,9 @@ section[epub|type~="dedication"] > *{
} }
[epub|type~="epigraph"] cite{ [epub|type~="epigraph"] cite{
margin-top: 1em;
font-style: normal; font-style: normal;
font-variant: small-caps; font-variant: small-caps;
margin-top: 1em;
} }
/* End all epigraphs */ /* End all epigraphs */

View file

@ -11,14 +11,14 @@ section[epub|type~="titlepage"] p,
section[epub|type~="colophon"] h2, section[epub|type~="colophon"] h2,
section[epub|type~="imprint"] h2{ section[epub|type~="imprint"] h2{
font-size: 0; /* Required for Kobo not to add an extra page to the title */ font-size: 0; /* Required for Kobo not to add an extra page to the title */
position: absolute; /* Required for Kindle */
left: -999em; left: -999em;
position: absolute; /* Required for Kindle */
} }
section[epub|type~="titlepage"] img{ section[epub|type~="titlepage"] img{
display: block; display: block;
width: 100%;
margin: 3em auto auto auto; margin: 3em auto auto auto;
width: 100%;
} }
section[epub|type~="colophon"], section[epub|type~="colophon"],