Quote:
Originally Posted by Karellen
I recently discovered that font-variant: small-caps; does not work in epubs used in Kobo Libra2
Now I have also noticed that quotes are a bit temperamental.
For example, when a character reads a printed document verbatim, it is usually displayed with wider margins, and maybe italicized. I tried replicating this with the following using <p class="quote"></p>
But the Libra2 completely ignored that and the quoted text just looked like the rest of the page.
The Libra2 expects <blockquote></blockquote>, then it displayed as quoted text.
|
I cannot stand those fake blockquotes. The following CSS code is what I use for blockquotes.
Code:
blockquote {
margin-top: 1em;
margin-right: 1.5em;
margin-bottom: 1em;
margin-left: 1.5em;
}
If the blockquote ends at the bottom of the page, I use the following code.
Code:
.blockquote {
margin-top: 1em;
margin-right: 1.5em;
margin-bottom: 0;
margin-left: 1.5em;
}
Code:
<blockquote class="blockquote">
<p>"This is at the end of the chapter"</p>
</blockquote>