View Single Post
Old 08-22-2016, 04:12 PM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Unifying stylesheets

Unifying stylesheets.

I have the habit to use two stylesheets. One is produced converting the odt source file, the other is automatically inserted, if need be.

Once I finish tweaking the styles and polishing the EPUB, I use the Calibre editor to suppress the unused CSS rules (Sigil can do it too).

Then I can mix (fusionner) the remaining parts ot the two stylesheets. However this process only puts one stylesheet on top of another. I would like to do better.

Question: I would like to know how to sort the items on the stylesheet to get a cleaner result and this way display possible redundancies like.
Code:
body
body
h2
h2
p
p
.small
.small

Last edited by roger64; 08-22-2016 at 04:15 PM.
roger64 is offline   Reply With Quote