On Sat, 2017-09-16 at 10:46 -0400, Brian Wolff wrote:
> Im assuming here that you cannot just edit mediawiki:common.css
> >
That's right.

> What you are looking for is TemplateStyles. This is not enabled on english
> wikipedia yet, but should be coming there soon (I think). It would allow
> you to use @media styles for your pages. See
> https://www.mediawiki.org/wiki/Help:TemplateStyles  for more details.
> > Templatestyles does not let you use css variables (the properties starting
> with -- and the var() css function), but the example css you used could
> easily be rewritten to not use that feature.
>
Thanks, that sounds useful. IIRC, I have to create a template for the 'layout grid' and add custom styles to that using TemplateStyles and use that template on my user page. Sounds like a lot of work.

--

Kaartic
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to