[docbook-css] Customisation layers
David Holroyd
dave at badgers-in-foil.co.uk
Thu, 14 Oct 2004 11:14:34 +0000
I was going to allow for customisations be adding an extra @import to
driver.css, like this:
@import "core.css";
@import "tables.css";
@import "styles.css";
@import "mozilla.css";
@import "opera.css";
/* Local customisations to docbook-css should be added in local.css */
@import "local.css";
An example local.css would appear in the distribution files.
Problem is, this means that someone unpacking a new set of
distribution files would overwrite any changes to local.css in addition
to updating the core stylesheets.
I was thinking it would be better to just create a custom .css file for
local changes, and have that @import "driver.css". This would make it a
bit simpler to implement multiple customisation layers all sharing the
same copy of docbook-css, too.
Seems sensible?
dave