模板:Crossreference/styles.css

来自决策链云智库
< 模板:Crossreference
Zeroclanzhang讨论 | 贡献2024年1月16日 (二) 23:13的版本 (创建页面,内容为“→‎{{pp-template}}:​ /* This snippet just undoes the default "padding-left: 1.6em;" imposed by div.hatnote, when Template:Crossreference is used in block (div) mode. Ignore the dumb CSS editor's "Element (div.crossreference) is overqualified" warning. It is wrong. We do not want to apply any CSS intended for block mode when it is not in block mode. While it's unlikely our "padding-left: 0;" does anything wrong in inline (span) mode, we can't g…”
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/* {{pp-template}} */
/* This snippet just undoes the default "padding-left: 1.6em;" imposed by
   div.hatnote, when Template:Crossreference is used in block (div) mode.
   Ignore the dumb CSS editor's "Element (div.crossreference) is overqualified"
   warning.  It is wrong.  We do not want to apply any CSS intended for block
   mode when it is not in block mode. While it's unlikely our "padding-left: 0;"
   does anything wrong in inline (span) mode, we can't guarantee it forever.  */
div.crossreference {
    padding-left: 0;
}