Template:Ambox/styles.css: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
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;
}
}


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

Latest revision as of 21:52, 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: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);
}