| 1 | = Set CSS styles using a wiki page = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | This plug-in allows one wiki page to be used as global CSS style file for Trac. The CSS file is provided at `[/projectdir]/wikicss.css` and a `link` HTML header is inserted which directs browsers to it. |
| 6 | |
| 7 | This plug-in got requested by Request-a-Hack #1714. |
| 8 | |
| 9 | == Bugs/Feature Requests == |
| 10 | |
| 11 | Existing bugs and feature requests for WikiCssPlugin are |
| 12 | [report:9?COMPONENT=WikiCssPlugin here]. |
| 13 | |
| 14 | If you have any issues, create a |
| 15 | [http://trac-hacks.org/newticket?component=WikiCssPlugin&owner=martin_s new ticket]. |
| 16 | |
| 17 | == Download == |
| 18 | |
| 19 | Download the zipped source from [download:wikicssplugin here]. |
| 20 | |
| 21 | == Source == |
| 22 | |
| 23 | You can check out WikiCssPlugin from [http://trac-hacks.org/svn/wikicssplugin here] using Subversion, or [source:wikicssplugin browse the source] with Trac. |
| 24 | |
| 25 | == Example == |
| 26 | |
| 27 | Put the following into your trac configuration file `trac.ini`: |
| 28 | {{{ |
| 29 | [components] |
| 30 | tracwikicss.* = enabled |
| 31 | |
| 32 | [wikicss] |
| 33 | # configure wiki page to be used as CSS file as `[/projectdir]/wikicss.css`. |
| 34 | wikipage = SiteStyle |
| 35 | }}} |
| 36 | This uses the `wiki:SiteStyle` page as CSS style file. |
| 37 | |
| 38 | |
| 39 | |
| 40 | == Recent Changes == |
| 41 | |
| 42 | [[ChangeLog(wikicssplugin, 3)]] |
| 43 | |
| 44 | == Author/Contributors == |
| 45 | |
| 46 | '''Author:''' [wiki:martin_s] [[BR]] |
| 47 | '''Contributors:''' |