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.
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