[[PageOutline(2-5,Contents,pullout)]] = Set CSS styles using a wiki page = == Description == 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. This plug-in got requested by Request-a-Hack #1714. == Bugs/Feature Requests == Existing bugs and feature requests for WikiCssPlugin are [report:9?COMPONENT=WikiCssPlugin here]. If you have any issues, create a [../newticket?component=WikiCssPlugin&owner=martin_s new ticket]. == Download and Source == Download the zipped source from [download:wikicssplugin here]. You can check out WikiCssPlugin from [../svn/wikicssplugin here] using Subversion, or [source:wikicssplugin browse the source] with Trac. == Install == 1. With easy_install : {{{ #!sh easy_install http://trac-hacks.org/svn/wikicssplugin/0.11 }}} 1. restart web server (in this example, was used Apache, on Ubuntu OS) {{{ #!sh sudo /etc/init.d/apache2 restart }}} 1. enable plugin through {{{../admin/general/plugin }}} or modify `trac.ini` file to include: {{{ #!ini [components] tracwikicss.* = enabled }}} == Configuration == Put the following into your trac configuration file `trac.ini`: {{{ #!ini [wikicss] # configure wiki page to be used as CSS file as `[/projectdir]/wikicss.css`. wikipage = SiteStyle }}} This uses the `wiki:SiteStyle` page as CSS style file. == Recent Changes == [[ChangeLog(wikicssplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:martin_s] [[BR]] '''Maintainer:''' [wiki:martin_s] [[BR]] '''Contributors:'''