View Single Post
Old 08-05-2013, 05:22 AM   #20
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
@Rev. Bob
You are talking about CSS specifications of the W3C.

But I like to understand the interactions of the Kobo software (the reading options of the GUI) and kepub-book.css

One simple test shows to me, that the kepub.css with "!important" does not win over the reading option "font-size".

I change the kepub-book.css with
p { font-size: 15px !important; }
(15px should result in 1,77mm on a display with 1024px on a length of 121mm)

But the result is a font in 4,5mm.
That means: the kepub-book.css rule does not win.

Of course I checked if the kepub-book.css is interpretated. Therefore I use a rule like
p { margin-top: 1em !important; }
ibu is offline   Reply With Quote