Template:Ambox/styles.css: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
background: var(--background-color-framed);
background: var(--background-color-framed);
border-radius: 5px;
border-radius: 5px;
padding: 0.5em;
padding: 0.3em 1em 0.3em 1em;
margin: 0 3em;
margin: 0 3em;
}
}

Revision as of 21:48, 31 July 2021

.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 + .ambox {
	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);
}