View Single Post
Old 01-29-2020, 02:45 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,156
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by rjwse@aol.com View Post
You are right. Most CSS in books is simple and minimum. I am pushing the extremes of fanciness, as much as I can, but it comes at a price of garishness.
When you ask calibre to remove unused code, I think it leaves alone any line with multiple items, so long as at least one of them is being used:

div, ol, p, ul, .class1, .class2 {whatever}

So far as I can tell, it will not remove any of the above so long as one of them is in the book. It would be great if it could remove the dead-wood items from a list.

Best regards, Pop
That is one reason why I don't like listed classes. never have and I don't create listed classes. I have taken some listed styles and separated them so the ones not used could be dumped.

Some publisher CSS is not simple. It can be a bit of a mess. Bit it's not setup to need a specific order most of the time.
JSWolf is offline   Reply With Quote