Template:Ambox/styles.css

From TetrisWiki
Revision as of 21:52, 31 July 2021 by Simonlc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
.ambox {
	display: flex;
	font-size: 95%;
	background: var(--background-color-framed);
	border-radius: 5px;
	padding: 0.3em 1em 0.3em 1em;
	margin: 0 3em;
}

.ambox:not(:first-child) {
	margin-top: 10px;
}

.ambox .mbox-message {
	padding: 0.2em;
	margin-left: 0.3em;
	flex-basis: 100%;
}

.ambox .mbox-image:first-child {
	opacity: 0.4;
}

html.skin-citizen-dark .ambox:not(.no-dark) img {
    filter: invert(1);
}