System-wide CSS modifications for Trac


This is a simple plugin to allow you to have both system-wide and site-specific CSS. If you only need one or the other, you can simply use site_css.cs, in /path/to/env/templates/site_css.cs for site-specific, or /usr/share/trac/templates/site_css.cs for system-wide.

The default file is /usr/share/trac/sys_css.css.

Security Warning: Any other file in the directory that you place your CSS file will be accesible under /chrome/syscss/, so do not use a directory with sensitive files in it.

Bugs/Feature Requests

Existing bugs and feature requests for SysCssPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


You can check out SysCssPlugin from here using Subversion, or browse the source with Trac.


To enable this plugin, add the following to your trac.ini file:

syscss.* = enabled

You probably want to enable it globally (usually in /usr/share/trac/conf/trac.ini).


Choose one of these two methods.

To use a file:

type = file
path = /path/to/file.css

To use a URL:

type = url
file = URL

Recent Changes

3416 by coderanger on 2008-03-25 07:39:08
Change my email to avoid Yahoo, which decided to brake my scraper script recently.
1439 by coderanger on 2006-10-23 00:40:39

Typo fix

1180 by coderanger on 2006-08-23 17:32:48

Sanity fix.



Author: coderanger
Maintainer: none (needsadoption)

Last modified 7 months ago Last modified on Jan 27, 2016, 7:10:42 AM