[Mediawiki-l] need help with skin edit

Rob Church robchur at gmail.com
Mon Apr 16 19:34:49 UTC 2007


On 16/04/07, revansx at cox.net <revansx at cox.net> wrote:
> ...using the Monobook (default) skin (mediawiki 1.6.10), I look at the "view source" of one of my articles and I see each of the "editable" sections is contained with the "<div class="editsection" style=""...><h#>...</h#></div>" tags.
> what I wish to do is make the background of this DIV section a color which is determined by the heading depth...i.e. <h1> is darkest and <h2> is lighter than <h1> and so forth.

The <div> in question wraps around the section heading, but not the
section itself, judging from the snippet above, so assuming that's
correct, it wouldn't be possible to colour the individual sections in
this manner.


Rob Church



More information about the MediaWiki-l mailing list