Quote:
Originally Posted by G2B
I have no problem getting rid of unused css. the Calibre editor does that very efficiently. I would love if it could merge with a little bit more ruthless efficiency, e.g. bring ALL the italics rules together in one rule, all the bolds in one rule instead of having like 50 different rules for each when I merge books.
|
Perhaps an automated fix for those books where the p tag setup in the stylesheet includes "font-size: 1em;" and then every blasted paragraph has a <p><span class="block2"> and in the stylesheet, block2 has "font-size: 1em;" as it's only entry.
My issue with cleaning stylesheets with the calibre editor is that at time, it's removal of unused css gets too efficient when someone has gotten too cute with their css. The type of stylesheet where you have to parse multiple entries with a lot of them involving media queries and a love for ::.