Extension:TemplateStylesExtender/zh

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

功能

 * Add support for CSS variables
 * Example
 * Add support for
 * Add support for
 * Add support for
 * Add support for  and
 * Add support for  media queries
 * Add support for
 * Add support for
 * Add support for
 * Add support for

-{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...

