
On 2/6/2012 4:47 PM, Jim Adcock wrote:
Marcello (in his epubmaker software targeting epub) moves the internal CSS styles to external style sheets, and adds an additional pgepub.css style sheet at the end. The effect of cascading style sheets is that the last style sheet "wins" over previous specifications, so the pgepub.css style sheet represents an overriding "tweak" of the CSS which the original submitter wrote.
This may be true, although in at least one case I saw a slight anomaly between "0.css" and the internal style sheet specified in the .html file. In the case of "Pride and Prejudice" however, it does not apply at all. Instead, the .epub file contains 3 .css files: rst.css, rst-epub.css, and pgepub.css. Strangely, the contents of none of these three files seems to bear any relationship to the styles stored in the HTML file. This leaves me very confused, as it almost looks like the .epub file was generated from an .rst file, but there is no .rst file in the /files/1342 folder. Clearly, Mr. Perathoner wouldn't surface anything via gutenberg.org without convincing the WWers to start using them, so I have no idea where this could have come from.