Module:If preview/styles.css

/* {{pp|small=yes}} */
.preview-warning {
	font-style: italic;
	/* @noflip */
	padding-left: 1.6em;
	margin-bottom: 0.5em;
	color: var(--color-error, red);
}

/* The templatestyles causes an 'empty' span between hatnotes */
.preview-warning + span.mw-empty-elt + .preview-warning,
/* remove this selector when Parsoid is the only parser, see also [[phab:T200206]] */
.preview-warning + link + .preview-warning {
	margin-top: -0.5em;
}