View Single Post
Old 09-05-2014, 07:05 AM   #8
paipa
Member
paipa began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Nov 2013
Device: Kindle Paperwhite 2
Thanks, I looked at it, but I'm afraid I still don't understand it. In the input/parsed/processed folder there's pretty much just an unstyled index.html. A pagebreak or two get added in the parsed and processed steps, but nothing much. I don't see any sources of conflict. But I don't know this stuff well enough, so please just answer me one question.

How come that from the extra CSS file I pasted above, styling for "li > p" makes its way into the output, but "blockquote > p" and "h1 + p" don't?

And by the way (I know I'm coming off as a pain in the ass, but I'm actually interested in this) why does Calibre clutter up every single element with classes (i.e. every <hr> in my document looks like <hr class="calibre4">, every <h1> element is <h1 class="calibre2"> and so on) instead of using element-level selectors in the CSS and only assign classes for the exceptions (which in 80% of the cases don't even exist)?

I mean, if every h1 element is of class "calibre2", and everything that has "calibre2" class is an h1, then what's the point? And this holds for almost all elements in my document.
paipa is offline   Reply With Quote