View Single Post
Old 09-06-2025, 11:33 AM   #1
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 792
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Sage
All Books' Live CSS Show color: rgb(221, 221, 221)

EDIT: It looks like that color: rgb(221, 221, 221) code is because I'm using a Dark theme. If I switch to a Light theme, it goes away. So, I assume it's there simply so the editor can render the book with that dark theme. It doesn't appear to carry over to the books I send over to my ereader. So, I guess this can be ignored.

OP:I don't remember this being present before. In the Calibre Editor, the Live CSS tab for every book that I've tried (even a basic HTML file that I just added and had Calibre convert to Epub) now contains:
Code:
color: rgb(221, 221, 221)
.
As far as I can see, there's nothing in the book setting that color.

For instance, in the HTML I just imported (nothing but an old bookmark file), the Live CSS says things like:

"Inherited from body @9"

and

"Inherited from html @2"

But, line 2 of this particular file is:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
and line 9 is:
Code:
<body class="calibre"><h1 class="calibre7" id="calibre_pb_0">Bookmarks</h1>
There's nothing about color at all in the stylesheet.

If I remove all css from the book completely (nothing in the stylesheet and nothing in the HTML file), that color stuff is still there. Is it supposed to be? What's causing it and where is that color supposed to show up?

Last edited by enuddleyarbl; 09-06-2025 at 11:44 AM.
enuddleyarbl is offline   Reply With Quote