Module:If preview/styles.css: Difference between revisions
Appearance
m 1 revision imported |
m 1 revision imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 8: | Line 8: | ||
} | } | ||
/* The templatestyles | /* 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 { | .preview-warning + link + .preview-warning { | ||
margin-top: -0.5em; | margin-top: -0.5em; | ||
} | } | ||
Latest revision as of 19:35, 7 June 2026
/* {{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;
}