Module:Hatnote/styles.css: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
en>Izno
add a note
en>Izno
I didn't see anywhere why that needed to be a separate css block for blocks
Line 1: Line 1:
.hatnote {
.hatnote {
font-style: italic;
font-style: italic;
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
}


.hatnote i {
.hatnote i {
font-style: normal;
font-style: normal;
}
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
}


/* The templatestyles element inserts a link element before hatnotes.
/* The templatestyles element inserts a link element before hatnotes.
  * TODO: Remove link if/when WMF resolves T200206 */
  * TODO: Remove link if/when WMF resolves T200206 */
div.hatnote + link + div.hatnote {
.hatnote + link + .hatnote {
margin-top: -0.5em;
margin-top: -0.5em;
}
}

Revision as of 19:53, 29 April 2021

.hatnote {
	font-style: italic;
	/* @noflip */
	padding-left: 1.6em;
	margin-bottom: 0.5em;
}

.hatnote i {
	font-style: normal;
}

/* The templatestyles element inserts a link element before hatnotes.
 * TODO: Remove link if/when WMF resolves T200206 */
.hatnote + link + .hatnote {
	margin-top: -0.5em;
}