Changes between Version 14 and Version 15 of WikiCssPlugin


Ignore:
Timestamp:
Apr 19, 2021, 6:17:52 AM (15 months ago)
Author:
Cinc-th
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiCssPlugin

    v14 v15  
    55== Description
    66
    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.
     7This plugin allows a user to apply CSS styles which are specified in a wiki page to the entire Trac project.
     8
     9It 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.
    810
    911The action can be undone by removing or commenting out the line from the `trac.ini` file, without having to uninstall or deactivate the plugin.
    1012
    1113This plugin was originally requested through #1714.
     14
     15=== Example
     16Add the following to the configured wiki page and every page will have a blue border:
     17{{{
     18body {
     19  border: 2px solid blue;
     20}
     21}}}
     22{{{#!box width=500
     23==== Example of custom styling
     24[[Image(wikicss_example.png, width=480)]]
     25}}}
    1226
    1327== Bugs/Feature Requests
     
    4458}}}
    4559
    46 This uses the `wiki:SiteStyle` page as CSS style file.
     60This uses the `wiki:SiteStyle` page for CSS styling.
    4761
    4862== Recent Changes