I don't believe there's a specific namespace css but you can add specific
css for a namespace in your skin's css file. Each namespace has a specific
class, i.e ns-0, ns-14. You can find them by looking at the source code.

On Sat, Apr 10, 2010 at 12:43 PM, Scheid, Bernhard <
[email protected]> wrote:

> Hi,
>
> I would like to use separate style sheets for different namespaces. I found
> this in MonoBook.php:
>
> <?php   if($this->data['pagecss']) { ?><style type="text/css"><?php
> $this->html('pagecss') ?></style> (line 96 in 1.15)
>
> could there be a similar function? Something like: "If there is a Mediawiki
> page called {{NAMESPACE}}.css, use it"...?
>
> thanks
>
> Bernhard
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to