Module:Message box/sandbox/ambox.css
.ambox {
align-items: center;
border: 1px solid #a2a9b1;
box-sizing: border-box;
display: flex;
}
/* Single border between stacked boxes. Take into account base templatestyles,
* user styles, and Template:Dated maintenance category.
* remove link selector when T200206 is fixed
*/
.ambox + link + .ambox,
.ambox + link + style + .ambox,
.ambox + link + link + .ambox,
/* TODO: raise these as "is this really that necessary???". the change was Dec 2021 */
.ambox + .mw-empty-elt + link + .ambox,
.ambox + .mw-empty-elt + link + style + .ambox,
.ambox + .mw-empty-elt + link + link + .ambox {
margin-top: -1px;
}
/* For the "small=left" option. */
/* must override .ambox + .ambox styles above */
html body.mediawiki .ambox.mbox-small-left {
/* @noflip */
margin: 4px 1em 4px 0;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
html body.mediawiki .ambox { /* override dark mode compat */
/* @noflip */
border-left: 10px solid #36c !important; /* Default "notice" blue */
background-color: var(--background-color-neutral-subtle, #fbfbfb) !important;
}
html body.mediawiki .ambox-speedy {
/* @noflip */
border-left: 10px solid #b32424 !important; /* Red */
background-color: var(--background-color-destructive-subtle, #fee7e6) !important; /* Pink */
}
html body.mediawiki .ambox-delete {
/* @noflip */
border-left: 10px solid #b32424 !important; /* Red */
}
html body.mediawiki .ambox-content {
/* @noflip */
border-left: 10px solid #f28500 !important; /* Orange */
}
html body.mediawiki .ambox-style {
/* @noflip */
border-left: 10px solid #fc3 !important; /* Yellow */
}
html body.mediawiki .ambox-move {
/* @noflip */
border-left: 10px solid #9932cc !important; /* Purple */
}
html body.mediawiki .ambox-protection {
/* @noflip */
border-left: 10px solid #a2a9b1 !important; /* Gray-gold */
}
.ambox.mbox-text {
border: none;
/* @noflip */
padding: 0.25em 0.5em;
width: 100%;
}
.ambox .mbox-image {
border: none;
/* @noflip */
padding: 2px 0 2px 0.5em;
text-align: center;
}
.ambox .mbox-imageright {
border: none;
/* @noflip */
padding: 2px 0.5em 2px 0;
text-align: center;
}
/* An empty narrow cell */
.ambox .mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
.ambox .mbox-image-div {
width: 52px;
}
@media (min-width: 720px) {
.ambox {
margin: 0 10%; /* 10% = Will not overlap with other elements */
}
}
@media print {
body.ns-0 .ambox {
display: none !important;
}
}
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.