Quantcast
Channel: MobileRead Forums - Kobo Reader
Viewing all articles
Browse latest Browse all 11155

Loading a custom CSS on kepub opening

$
0
0
Hi,

I've spent some (interesting...) time strace-ing nickel and found that, on every kepub opening, it searches for this file:
Code:

/mnt/onboard/.kobo/kepub/kepub-book.css
So I tried to create such a file with a single line like this:
Code:

* { -webkit-hyphens: auto; }
and voilà, every book I open gets hyphenated!

This could also used to force other properties like widows/orphans, margin, ecc. ecc.

Viewing all articles
Browse latest Browse all 11155

Trending Articles