Template:Group -1 last report/styles.css
Appearance
.mw-tpl-groupminusonelastreport-wrapper {
margin: 0 auto;
min-width: 80%;
max-width: 45em;
}
.mw-tpl-groupminusonelastreport-wrapper .mw-tpl-groupminusonelastreport-result {
margin: 1em 0;
border: 1px solid var( --border-color-notice, #54595d );
background: var( --background-color-notice-subtle, #eaecf0 );
font-size: larger;
}
.mw-tpl-groupminusonelastreport-wrapper .mw-tpl-groupminusonelastreport-result ul {
list-style: none;
margin: 0.5em 1em;
}
.mw-tpl-groupminusonelastreport-wrapper .mw-tpl-groupminusonelastreport-result li::before {
content: "Latest report:";
font-weight: bold;
display: inline-block;
margin-right: 1ch;
}
.mw-tpl-groupminusonelastreport-wrapper .mw-tpl-groupminusonelastreport-noresult {
margin: 1em 0;
background: var( --background-color-success-subtle, #00af89 );
color: var( --color-base, #202122 );
border: 1px solid var( --border-color-success, #096450 );
padding: 0.5em 1em;
}
/* Hide empty lists. */
.mw-tpl-groupminusonelastreport-result:empty,
/* Hide any list after the first non-empty list. */
.mw-tpl-groupminusonelastreport-result:not(:empty) ~ .mw-tpl-groupminusonelastreport-result,
/* Hide "noresults" if we have any non-empty lists. */
.mw-tpl-groupminusonelastreport-result:not(:empty) ~ .mw-tpl-groupminusonelastreport-noresult,
/* Hide list items after the first. */
.mw-tpl-groupminusonelastreport-result .mw-prefixindex-list li + li {
display: none;
}