Quote:
Originally Posted by stumped
it should be doable - because if you look into how the Bookari epub reader app works: when you create a custom theme it is applied to each book you open as additional CSS. that is what they say.
Their Theme CSS forces your choice of margins, line space, font, colour, justification, hyphenation onto each book that you open. So a theme is simply some CSS that is added to each opedned file on the fly, and it works very well. I don't know of any simple way to expose the actual code though, as the epubs are unchanged, it's an "only while it is in memory" overlay. I guess it works because of post #6 & I think Moon reader app uses a similar technique
|
Odds are what they are doing is ignoring the built-in stylesheets and applying the custom theme. Or maybe add "!important" to the styles in the them to override everything in the book. But, it requires the ereader device or app to support this. The OP has a Kobo device. They are very strict on the use of the books stylesheet. You can change some things, but they don't always work depending on how the book is coded. e.g. If the book has line heights coded as pixels, changing the line heights using the device does not work.
And all that is why the Kobo driver can append some styles to the stylesheet. With this you can achieve some of the changes, but it can be a hard to get it right.