Update titlepage to new standards

This commit is contained in:
Alex Cabal 2022-01-17 20:52:04 -06:00
parent feb0329d7e
commit 0c69b4f3e4
2 changed files with 5 additions and 6 deletions

View file

@ -10,11 +10,8 @@ section[epub|type~="titlepage"] h1,
section[epub|type~="titlepage"] p,
section[epub|type~="colophon"] h2,
section[epub|type~="imprint"] h2{
/* Required for Kobo not to add an extra page to the title */
font-size: 0;
/* Required for Kindle */
position: absolute;
font-size: 0; /* Required for Kobo not to add an extra page to the title */
position: absolute; /* Required for Kindle */
left: -999em;
}

View file

@ -7,7 +7,9 @@
</head>
<body epub:type="frontmatter">
<section id="titlepage" epub:type="titlepage">
<img alt="The titlepage for the Standard Ebooks edition of The Origin of Species, by Charles Darwin" src="../images/titlepage.svg" epub:type="se:image.color-depth.black-on-transparent"/>
<h1 epub:type="title">The Origin of Species</h1>
<p>By <b epub:type="z3998:personal-name z3998:author">Charles Darwin</b>.</p>
<img alt="" src="../images/titlepage.svg" epub:type="se:image.color-depth.black-on-transparent"/>
</section>
</body>
</html>