Eric Pöhlsen wrote:
In der englischen Wikipedia sind Farbunterschiede in
monobook zwischen
Artikeln und Texten in anderen Namensräumen, das könnte man doch übernehmen?
Ja, die haben das, wenn ich es richtig verstehe über
[[MediWiki:Monobook.css]] gelöst:
/* Make all non-namespace pages have a light blue content area. This is done by
setting the background color for all #content areas to light blue and then
overriding it for any #content enclosed in a .ns-0 (main namespace). I then
do the same for the "tab" background colors. --Lupo */
#content {
background: #F8FCFF; /* a light blue */
}
.ns-0 * #content {
background: white;
}
#mytabs li {
background: #F8FCFF;
}
.ns-0 * #mytabs li {
background: white;
}
#mytabs li a {
background-color: #F8FCFF;
}
.ns-0 * #mytabs li a {
background-color: white;
}
#p-cactions li {
background: #F8FCFF;
}
.ns-0 * #p-cactions li {
background: white;
}
#p-cactions li a {
background-color: #F8FCFF;
}
.ns-0 * #p-cactions li a {
background-color: white;
Ich bin mir nicht sicher, ob das tatsächlich die Lösung ist, weil ich mich mit dem
Monobook-Style und dem Mediawiki-Namensraum nicht auskenne. Wer sich im klaren ist, was er
tut, könnte das ja bei unserem Monobook-Style integrieren.
Gruß
Thomas
[[Benutzer:Urbanus]]
}