View Single Post
Old 06-17-2020, 04:06 PM   #8
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by Notjohn View Post
... when you're done use Sigil to get rid of the ones you don't use (Sigil > Tools > Delete Unused Style Classes. Save the streamlined style sheet and use it on subsequent books.
Be careful, the built-in version of Delete Unused Style Classes is a bit buggy. It can miss, and delete, things that you would rather keep. (eg it has a hard time determining that pseudo-selectors are, in fact, used.)

I would recommend installing the cssRemoveUnusedSelectors plugin, It seems to do a great job, and prettify's your style sheet when it's done.

Cheers,
Turtle91 is offline   Reply With Quote