Module:Message box/sandbox/ambox.css explained

/* */.ambox

@media screen

@media screen and (prefers-color-scheme: dark)

/* 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

/* For the "small=left" option. *//* must override .ambox + .ambox styles above */html body.mediawiki .ambox.mbox-small-left

.ambox-speedy

.ambox-delete

.ambox-content

.ambox-style

.ambox-move

.ambox-protection

.ambox .mbox-text

.ambox .mbox-image

.ambox .mbox-imageright

/* An empty narrow cell */.ambox .mbox-empty-cell

.ambox .mbox-image-div

/* Hack around MobileFrontend being opinionated */html.client-js body.skin-minerva .mbox-text-span

@media (min-width: 720px)