Update titlepage to new standards

This commit is contained in:
Alex Cabal 2022-01-17 20:52:22 -06:00
parent 11a78063d6
commit 1e36b84d7f
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 Short Fiction, by O. Henry" src="../images/titlepage.svg" epub:type="se:image.color-depth.black-on-transparent"/>
<h1 epub:type="title">Short Fiction</h1>
<p>By <b epub:type="z3998:personal-name z3998:author"><abbr epub:type="z3998:given-name">O.</abbr> Henry</b>.</p>
<img alt="" src="../images/titlepage.svg" epub:type="se:image.color-depth.black-on-transparent"/>
</section>
</body>
</html>