Template:Ambox/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
display: flex; | display: flex; | ||
font-size: 95%; | font-size: 95%; | ||
background: var(--background-color-framed); | |||
background: var(--color- | |||
border-radius: 5px; | border-radius: 5px; | ||
padding: 0. | padding: 0.3em 1em 0.3em 1em; | ||
margin: 0 3em; | margin: 0 3em; | ||
} | |||
.ambox:not(:first-child) { | |||
margin-top: 10px; | |||
} | } | ||
Line 13: | Line 16: | ||
margin-left: 0.3em; | margin-left: 0.3em; | ||
flex-basis: 100%; | flex-basis: 100%; | ||
} | |||
.ambox .mbox-image:first-child { | |||
opacity: 0.4; | |||
} | |||
html.skin-citizen-dark .ambox:not(.no-dark) img { | |||
filter: invert(1); | |||
} | } |
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);
}