Suggestion for "kobo_extra.css": Option to place rules before or behind other rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
New
|
Undecided
|
David Forrester |
Bug Description
At the moment, the rules of "kobo_extra.css" are placed behind the rules of the embedded stylesheet.
May be some users like to use the rules in "kobo_extra.css" as generic rules for all their books, and the rules in the embedded stylesheet as specific rules, only for the specific book.
Example:
default.css:
h1 { font-size: 2em }
kobo_extra.css
h1 { font-size: 1em }
The rule of kobo_extra.css wins, because it is listed behind the rule of default.css.
The only way for the user to let the rule win about kobo_extra.css is to embedd another stylesheet or an internal rule set via "<style></style>" behind the
<link href=".
My suggestion/wish:
An option where to add the rules of kobo_extra.css:
at the top
at the bottom
May be you like my suggestion?
Thanks for all your work and for offering the great plugin! :)
That would be entirely David's domain, he's got the code that does the manipulation. I'll fire this over to the calibre project and try really hard to assign him :)