Quote:
Originally Posted by JimmXinu
You can customize the HTML generated for cover.xhtml using the cover_content setting. Changing it to include <link href="stylesheet.css" type="text/css" rel="stylesheet"/> should be easy enough.
See CustomOutput wiki page.
|
I didn't know about the wiki. So many posibilities now...
About the cover thing. I only had to change the img line.
Code:
cover_content:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Cover</title>
<style type="text/css" title="override_css">
@page {padding: 0pt; margin:0pt}
body { text-align: center; padding:0pt; margin: 0pt; }
div { margin: 0pt; padding: 0pt; }
</style>
</head>
<body class="fff_coverpage">
<div>
<svg xmlns="http://www.w3.org/2000/svg" height="100%%" preserveAspectRatio="xMidYMid meet" version="1.1" viewBox="0 0 1200 1800" width="100%%" xmlns:xlink="http://www.w3.org/1999/xlink"><image height="1800" width="1200" xlink:href="${coverimg}"/></svg>
</div>
</body>
</html>
And now is perfect for KOReader.
Thanks.