Quote:
Originally Posted by franklekens
I've looked at that thread, but what I don't see: where do you enter that css information? In which of the options? The conversion options?
|
You create a text file called kepub-book.css, enter the css you want in it and then copy it to the kepub directory inside the .kobo directory on your Kobo ereader. It is automagically loaded as an additional stylesheet when you open a .kepub ebook.
Code:
@page {
margin: 5pt !important;
}
body {
/* default settings */
margin: 0 !important;
padding: 0 !important;
padding-bottom: 0.2em !important;
font-size: 150% !important;
line-height: 1.1 !important;
widows: 0 !important;
orphans: 0 !important;
-webkit-hyphens: auto !important;
}
I've pasted the contents of my current file above. Basically, just ensures hyphenation is enabled, sets the font size, sets widows and orphans to 0, etc.
Regards,
David