Permanently protected template

Template:Crossreference/styles.css: Difference between revisions

From Vigyanwiki
< Template:Crossreference
Template>SMcCandlish
(testing attempt to fix the new spacing problem)
m (6 revisions imported from alpha:Template:Crossreference/styles.css)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
/* {{pp-template}} */
/* {{pp-template}} */
/* This snippet just undoes the default spacing of Module:Hatnote.   While it's
/* This snippet just undoes the default "padding-left: 1.6em;" imposed by
   unlikely our changes here do anything wrong for inline notes, we can't
  div.hatnote, when Template:Crossreference is used in block (div) mode.
  guarantee it forever because the hatnote styles can change.  */
  Ignore the dumb CSS editor's "Element (div.crossreference) is overqualified"
.crossreference {
  warning.  It is wrong.  We do not want to apply any CSS intended for block
padding-left: -1.6em;
  mode when it is not in block mode. While it's unlikely our "padding-left: 0;"
margin-bottom: -0.5em;
   does anything wrong in inline (span) mode, we can't guarantee it forever.  */
div.crossreference {
    padding-left: 0;
}
}

Latest revision as of 11:53, 24 December 2022

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