Template:Ambox/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
} | } | ||
.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);
}