(1) Separate dokuwiki style sheet into two.
- dokuwiki.css : all styles relating to dokuwiki engine
- wikicontent.css : all styles concerning the display of wiki content (incl. in page table of contents)
(2) Introduce decendant selectors from outermost containing <div> for all unqualified styles (i.e. those styles which apply to all instances of a particular html element rather than qualified by class, id, or as a descendent).
(3) Provide mechanism for user customisation of styles without danger of them being overwritten during dokuwiki upgrade.
For more details refer discussion at http://wiki.splitbrain.org/wiki:discussion:a_question_of_style