Extension:TemplateStylesExtender/zh

The TemplateStylesExtender extension extends Extension:TemplateStyles with new selectors and matchers.

功能
Add support for:
 * CSS variables:
 * Example
 * and
 * media queries
 * and
 * media queries
 * media queries

-{zh-hans:配置; zh-hant:組態;}-


注意CSS变量
Currently using  selectors won't work due to template styles prepending.

One possible fix is to wrap the entire content into a `div` element and adding the declarations to this, e.g. div#content-wrap { --padding: 10px }

.content { padding: var( --padding ) }

Wikitext The WikiText...

