Module:Hatnote/styles.css: Difference between revisions
From All Skies Encyclopaedia
				
				
				
				
				
				imported>Galobtter    | 
				imported>Galobtter     | 
				
  | Line 10: | 
  Line 10: | 
   | 
  	margin-bottom: 0.5em;  | 
   | 
  	margin-bottom: 0.5em;  | 
   | 
  }  | 
   | 
  }  | 
   | 
  ⚫ | 
  /* The templatestyles element inserts a link element before every hatnote.  */  | 
   | 
  /*  | 
   | 
   | 
  ⚫ | 
  div.hatnote + link + div.hatnote  {  | 
  | ⚫ | 
  * The templatestyles element inserts a link element before every hatnote.  | 
   | 
   | 
  * Technically div.hatnote + div.hatnote is not needed, only div.hatnote + link + div.hatnote. Remove?  | 
   | 
   | 
  */  | 
   | 
  | ⚫ | 
  div.hatnote + div.hatnote, div.hatnote + link + div.hatnote  {  | 
   | 
   | 
  	margin-top: -0.5em;  | 
   | 
  	margin-top: -0.5em;  | 
   | 
  }  | 
   | 
  }  | 
		Revision as of 23:41, 20 July 2019
.hatnote {
	font-style: italic;
}
.hatnote i {
	font-style: normal;
}
div.hatnote {
	/* @noflip */
	padding-left: 1.6em;
	margin-bottom: 0.5em;
}
/* The templatestyles element inserts a link element before every hatnote. */
div.hatnote + link + div.hatnote  {
	margin-top: -0.5em;
}