Changes between Version 14 and Version 15 of WikiCssPlugin
- Timestamp:
- Apr 19, 2021, 6:17:52 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiCssPlugin
v14 v15 5 5 == Description 6 6 7 This plugin allows a user to apply the styling of a selected wiki page to the entire Trac project. It does so by using the CSS file of the selected wiki page as the global CSS file for the Trac project. The CSS file is specified as `[/projectdir]/wikicss.css` in the project's `trac.ini` file and a `link` HTML header is inserted which directs browsers to it. 7 This plugin allows a user to apply CSS styles which are specified in a wiki page to the entire Trac project. 8 9 It does so by using the CSS information of the configured wiki page to emulate a global CSS file for the Trac project. A `link` HTML header `[/projectdir]/wikicss.css` is inserted into each page and when the browser tries to read it the contents of the specified wiki page is returned instead. 8 10 9 11 The action can be undone by removing or commenting out the line from the `trac.ini` file, without having to uninstall or deactivate the plugin. 10 12 11 13 This plugin was originally requested through #1714. 14 15 === Example 16 Add the following to the configured wiki page and every page will have a blue border: 17 {{{ 18 body { 19 border: 2px solid blue; 20 } 21 }}} 22 {{{#!box width=500 23 ==== Example of custom styling 24 [[Image(wikicss_example.png, width=480)]] 25 }}} 12 26 13 27 == Bugs/Feature Requests … … 44 58 }}} 45 59 46 This uses the `wiki:SiteStyle` page as CSS style file.60 This uses the `wiki:SiteStyle` page for CSS styling. 47 61 48 62 == Recent Changes