Mobileread
<cite> in fb2
#1  hius07 02-26-2020, 05:41 AM
Reading fb2 on Kindle.
I want the text in <cite> <p> tags to be formatted as usual <p>.
I removed all mentions of cite from
fb2.css
cr3.css
cr3.ini
but the text remains specifically formatted (big top-margin and no paragraph indent).
In all books.
No Style tweaks enabled.

Are there any more settings wich affect the <cite>?
Reply 

#2  Frenzie 02-26-2020, 10:29 AM
Styles from the book itself?
Reply 

#3  hius07 02-26-2020, 11:29 AM
No, I created a new test fb2-book without any styles, with just a <p> paragraph and a <cite> <p> paragraph and they look differ.
Reply 

#4  hius07 02-26-2020, 11:37 AM
Here it is
[zip] cite.fb2.zip (554 Bytes, 22 views)
Reply 

#5  Frenzie 02-26-2020, 01:04 PM
@poire-z answered here (at the bottom): https://github.com/koreader/crengine/pull/329#issue-380407243

I should add that style tweaks are definitely the way to go for persistent stuff. The bundled CSS files will be overwritten by updates.
Reply 

#6  hius07 02-26-2020, 01:36 PM
Thanks, unfortunately adding !important changed nothing.
Still have a top margin and no indent.

Added !important to fb2.css with no effect.
Created User style tweak with no effect either.
Reply 

#7  hius07 02-26-2020, 02:05 PM
It is interesting to note, that in User style tweak all properties work, except text-indent and margin-.
Reply 

#8  hius07 02-27-2020, 03:45 AM
@poire-z, thanks a lot, I reinstalled KOReader and now your User style tweak works perfectly.
Reply 

Today's Posts | Search this Thread | Login | Register