mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Footnote popups: CSS: add more styles for FB2 elements
Add styles for some more non-HTML FB2 tags, so MuPDF can render them as expected.
This commit is contained in:
@@ -91,9 +91,19 @@ body > li { list-style-type: none; }
|
||||
.noprint { display: none; }
|
||||
|
||||
/* Style some FB2 tags not known to MuPDF */
|
||||
emphasis { font-style: italic; }
|
||||
strikethrough { text-decoration: line-through; }
|
||||
underline { text-decoration: underline; }
|
||||
strike, strikethrough { text-decoration: line-through; }
|
||||
underline { text-decoration: underline; }
|
||||
emphasis { font-style: italic; }
|
||||
small { font-size: 80%; }
|
||||
big { font-size: 130%; }
|
||||
empty-line { display: block; padding: 0.5em; }
|
||||
image { display: block; padding: 0.4em; border: 0.1em solid black; width: 0; }
|
||||
date { display: block; font-style: italic; }
|
||||
epigraph { display: block; font-style: italic; }
|
||||
poem { display: block; }
|
||||
stanza { display: block; font-style: italic; }
|
||||
v { display: block; text-align: left; hyphenate: none; }
|
||||
text-author { display: block; font-weight: bold; font-style: italic; }
|
||||
|
||||
/* Attempt to display FB2 footnotes as expected (as crengine does, putting
|
||||
* the footnote number on the same line as the first paragraph via its
|
||||
|
||||
Reference in New Issue
Block a user