Template:Crossreference/styles.css: Difference between revisions

From Sapphire Wiki
en>Favonian
m Protected "Template:Crossreference/styles.css": Highly visible template: requested at WP:RFPP ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
 
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
(No difference)

Latest revision as of 20:13, 15 February 2024

/* {{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;
}