Dear Rowan,
Thank you very much for you answer. But I took a look and found several changes. We use mediawiki version 1.4.5 - The file Monobook.css doesn't exists. I think it has been replaced by skins/monobook/main.css - I don't know how and where to place, instructions like those in this file: .ns-4 * #content { background : #F4F4F4; } .ns-4 * #p-cactions li { background : #F4F4F4; } .ns-4 * #p-cactions li a { background : #F4F4F4; }
I found some subs like #contentSub{}, #p-cactions li{} and #p-cactions li a{}. Is it in these subs that I need to place these instructions? How?
Many thanks in advance for your kind help and have a nice day, Proth
The ns-x are already there, as are the namespaces - Talk:, User:, Wikipedia: etc. Each has a number used inside the software (0 for the "main"/"article" namespace, 1 for "talk", etc), and these appear in the source of pages as CSS selectors. See http://meta.wikimedia.org/wiki/Help:Namespace for more.
Perhaps the best explanation is by example:
http://en.wikipedia.org/wiki/MediaWiki:Monobook.css contains code to make everything except articles have a blue background; >it starts by making everything blue, and then changes "ns-0" (articles) back to white:
#content { background: #F8FCFF; /* a light blue */ }
.ns-0 * #content { background: white; }
[it goes on to do this for things like the background of the tabs at the top, so they fit better]
http://fr.wikipedia.org/wiki/MediaWiki:Monobook.css takes a more long-winded approach, and defines a default "sky blue" background but then overrides it for each namespace one by one:
/* Couleur par défaut */ #content { background : #F8FCFF; } /* bleu ciel */ #p-cactions li { background : #F8FCFF; } #p-cactions li a { background : >#F8FCFF; }
/* Couleur de fond des articles */ .ns-0 * #content { background : white; } .ns-0 * #p-cactions li { background : white; } .ns-0 * #p-cactions li a { background : white; }
[and so on for ns-1, ns-2, ns-3, etc]
HTH
Rowan Collins BSc [IMSoP]