Quote:
Originally Posted by Anyssia
Hi!
I'm having some trouble resizing automated covers.
When I add an epub file from AO3 to Calibre, it automatically creates a cover using the metadata info, which is great.
However, I find the size of the book details preview too small.
EDIT: Just realized that it might be an effect of the Generate Cover plugin and not actually Calibre...
I replied to the generate cover thread to this, but I can't seem to find how to delete a thread I created ? O.o
Thank you
Ateana
|
Here is the cover code I use that works very well. I also use the same code for displaying a full screen titlepage image.
Here is the HTML code for the cover.
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Doomsday Match</title>
<link rel="stylesheet" type="text/css" href="../Styles/style0001.css"/>
</head>
<body>
<div class="cover">
<img alt="" class="cover" src="../Images/cover00221.jpeg"/>
</div>
</body>
</html>
Here is the CSS code for the cover.
Code:
body {
widows: 1;
orphans: 1;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
text-align: justify;
}
.cover {
text-align: center;
text-indent: 0;
height: 100%;
}