View Single Post
Old 08-06-2013, 02:55 AM   #24
ibu
Addict
ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.
 
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
Quote:
Originally Posted by DNSB View Post
I've found the cause for the size slider now having any effect. Opening the kepub files with 7Zip, there is a folder called css with a kobo-android.css file. This file is filled with various css directives, most with !important.

Removing that file allowed the font size slider to work. Unfortunately, it also ended each page on a paragraph which gave an imposing amount of blank space.
Very interesting, thanks!

That leads into the wish:

We need a hack, that allows a global style file for epubs, and not for just for kepubs.

Kepubs add to much stuff, which is a new area out of our control.

Until we have such a hack, may Joel can spent us an option, which cleans kepubs of the kobo-android.css automatically.

Internetbrowser use a so called browser style sheet. It contains rules for every element of the html specification. rules without !important of course.
It is the "first level" in the CSS cascade.

May be we can get access to Kobos "ereader style sheet" somewhere in the depth of the file system?
ibu is offline   Reply With Quote