Quote:
Originally Posted by GeoffR
Edit: Allowing for the style-hacks.css (I assume this is added at the start of the book's stylesheet?) and kobo_extra.css (added at the end of the book's stylesheet):
1. device stylesheet
2. style-hacks.css
3. book stylesheet
4. kobo_extra.css
5. style-hacks.css !important
6. book stylesheet !important
7. kobo_extra.css !important
8. device stylesheet !important
|
From memory, the style-hacks.css was being added as a file and a link to it added to each HTML file. I'm pretty sure it is added as the last stylesheet. So that should put it after the book stylesheet. Then, depending on when this is added and when the kobo_extra.css is added, the contents of kobo_extra.css might be appended to only the book stylesheet or add to both the book and the style-hacks. I think the latter. That should give:
1. device stylesheet
2. book stylesheet
3. style-hacks.css
4. kobo_extra.css
5. book stylesheet !important
6. style-hacks.css !important
7. kobo_extra.css !important
8. device stylesheet !important