View Single Post
Old 01-15-2015, 10:13 PM   #1197
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by GeoffR View Post
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
davidfor is offline   Reply With Quote