View Single Post
Old 09-25-2013, 03:46 PM   #16
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,754
Karma: 169712580
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by franklekens View Post
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
DNSB is offline   Reply With Quote