Extension:TemplateStylesExtender/zh

TemplateStylesExtender扩展对扩展:模板样式进行了扩展，支持新的选择器和匹配器.

功能
支持以下功能：
 * CSS变量：
 * 例子
 * 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...

Unscoping of CSS
Example:  results in the CSS being scoped to   instead of.

