View Single Post
Old 06-17-2025, 01:39 PM   #76
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,827
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
Code:
p {
  color: blue;
  margin-top: 0;
  margin-bottom: 0;
  widows: 1;
  orphans: 1;
  text-indent: 1.2em;
}
That works in calibre's viewer and preview to show blue text.
No, you are wrong. That's not work on Calibre Viewer; this is a screenshot of my Calibre under Archlinux:

Click image for larger version

Name:	One1.jpg
Views:	26
Size:	15.9 KB
ID:	216310

Color is conspicuous by its absence.

Here there is the epub so anyone can do the test. But by adding "-webkit-text-fill-color: red" and "-webkit-text-fill-color: blue" colors work.
Attached Files
File Type: epub Color_Text_for_Calibre.epub (2.5 KB, 13 views)
RbnJrg is offline   Reply With Quote