Module:Message box/sandbox/ambox.css: Difference between revisions

Content deleted Content added
I guess?
 
drop one classname to make override by compact ambox easier
 
(12 intermediate revisions by 6 users not shown)
Line 1:
 
.ambox {
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c; /* Default "notice" blue */
background-color: #fbfbfb;
box-sizing: border-box;
}
 
 
/* Single border between stacked boxes. Take into account base templatestyles,
Line 33 ⟶ 32:
}
 
html body.mediawiki .ambox { /* override dark mode compat */
.ambox-speedy {
/* @noflip */
border-left: 10px solid #b3242436c !important; /* RedDefault "notice" blue */
background-color: var(--background-color-neutral-subtle, #fee7e6fbfbfb) !important; /* Pink */
}
 
html body.mediawiki .ambox-deletespeedy {
/* @noflip */
border-left: 10px solid #b32424 !important; /* Red */
background-color: var(--background-color-destructive-subtle, #fee7e6) !important; /* Pink */
}
 
html body.mediawiki .ambox-contentdelete {
/* @noflip */
border-left: 10px solid #f28500b32424 !important; /* OrangeRed */
}
 
html body.mediawiki .ambox-stylecontent {
/* @noflip */
border-left: 10px solid #fc3f28500 !important; /* YellowOrange */
}
 
html body.mediawiki .ambox-movestyle {
/* @noflip */
border-left: 10px solid #9932ccfc3 !important; /* PurpleYellow */
}
 
html body.mediawiki .ambox-protectionmove {
/* @noflip */
border-left: 10px solid #a2a9b19932cc !important; /* Gray-goldPurple */
}
 
html body.mediawiki .ambox-protection {
.ambox .mbox-text {
/* @noflip */
border-left: 10px solid #36ca2a9b1 !important; /* Default "notice" blueGray-gold */
 
.ambox.mbox-speedytext {
border: none;
/* @noflip */
Line 94 ⟶ 99:
.ambox .mbox-image-div {
width: 52px;
 
/* Hack around MobileFrontend being opinionated */
html.client-js body.skin-minerva .mbox-text-span {
margin-left: 23px !important;
}
 
Line 107:
}
 
@media print {
.skin-theme-clientpref-night .ambox {
body.ns-0 .ambox {
filter: invert(100%);
margin-left display: 23pxnone !important;
}
}