Hi Bart,

Look at Extension:CSS. It allows one to create individual sheets for individual 
pages. 

Another option is to use extension: NamespaceHTML. This extension allows you to 
use raw HTML (only use in a Namespace editable by admin) and than you can 
transinclude that the page designed by you (as if it was a template) into the 
page of your choice. Using this method you would use style tags in your HTML. 
This option allows a few more options since with Extension:CSS one still can't 
have background images. 

Unfortunately no extension, I know of, operates per category. A possible 
solution would be to use the Page Forms extension (formerly known as Semantic 
Forms) and design a default form for each category. That default form could 
have a template with the CSS for that category (this relies on using one of the 
methods mentioned above). 

Another option would be to use Namespaces instead of categories. Each Namespace 
than could use a different skin (using the extension:NamespacePerSkin) and you 
could further refine the CSS by setting the CSS rules in the 
Mediawiki:SkinName.css. 

Hopefully some of the above helps. 

Sent from my iPad

> On Nov 3, 2016, at 7:44 PM, Bart Humphries <[email protected]> wrote:
> 
> How would I set up individual CSS sheets for individual pages?  Maybe
> page/css for each page, then I could add a CSS tab to all the pages?
> 
> Also, how would I go about applying a stylesheet to every page in a
> particular category?
> [[Category:X]] = stylesheet1
> [[Category:Y]] = stylesheet2
> [[Category:X]][[Category:Y]] = stylesheet1 & stylesheet2
> 
> So then you'd have (in order) default site/skin CSS, category CSS, page
> CSS, user CSS.
> 
> Bart Humphries
> [email protected]
> (909)529-BART(2278)
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to