aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/localstyle.mdwn
blob: 70a909d68cfb08db0815af318c63916af104e39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[[!template id=plugin name=localstyle author="[[Joey]]"]]
[[!tag type/chrome]]

This plugin allows styling different sections of a wiki using different
versions of the local.css [[CSS]] file. Normally this file is read from the
top level of the wiki, but with this plugin enabled, standard
[[ikiwiki/subpage/LinkingRules]] are used to find the closest local.css
file to each page.

So, for example, to use different styling for page `foo`, as well as all
of its [[SubPages|ikiwiki/subpage]], such as `foo/bar`, create a
`foo/local.css`.