Template:Crossreference/styles.css: Difference between revisions

From All Skies Encyclopaedia
imported>SMcCandlish
creating de-indent templatestyle
 
imported>SMcCandlish
Nope, that had no effect at all.
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* {{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 {
div.crossreference {
     padding-left: 0;
     padding-left: 0;
}
}

Latest revision as of 06:50, 12 July 2021

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