Module:Message box/tmbox.css

/* */ .tmbox { margin: 4px 0; border-collapse: collapse; border: 1px solid #c0c090;   /* Default "notice" gray-brown */ background-color: #f8eaba; box-sizing: border-box; }

/* For the "small=yes" option. */ .tmbox.mbox-small { font-size: 88%; line-height: 1.25em; }

.tmbox-speedy { border: 2px solid #b32424;   /* Red */ background-color: #fee7e6;   /* Pink */ }

.tmbox-delete { border: 2px solid #b32424;   /* Red */ }

.tmbox-content { border: 2px solid #f28500;   /* Orange */ }

.tmbox-style { border: 2px solid #fc3;      /* Yellow */ }

.tmbox-move { border: 2px solid #9932cc;   /* Purple */ }

.tmbox .mbox-text { border: none; /* @noflip */ padding: 0.25em 0.9em; width: 100%; }

.tmbox .mbox-image { border: none; /* @noflip */ padding: 2px 0 2px 0.9em; text-align: center; }

.tmbox .mbox-imageright { border: none; /* @noflip */ padding: 2px 0.9em 2px 0; text-align: center; }

/* An empty narrow cell */ .tmbox .mbox-empty-cell { border: none; padding: 0; width: 1px; }

.tmbox .mbox-invalid-type { text-align: center; }

@media (min-width: 720px) { .tmbox { margin: 4px 10%; }	.tmbox.mbox-small { /* @noflip */ clear: right; /* @noflip */ float: right; /* @noflip */ margin: 4px 0 4px 1em; width: 238px; } }

/* Style similar to Module:Hatnote/styles.css */ body.skin-citizen .tmbox { padding: var(--space-sm) var(--space-md); margin-top: var(--space-xs); margin-bottom: var(--space-md); background: var(--color-surface-2); border-width: 0; border-radius: var(--border-radius--medium); border-spacing: 0; font-size: 0.875rem; line-height: var(--line-height-xs); }

body.skin-citizen .tmbox.ambox-speedy { background-color: var(--background-color-destructive); border-left-color: var(--color-destructive); color: var(--color-base--emphasized); }

body.skin-citizen .tmbox.ambox-delete { border-left-color: var(--color-destructive); }

body.skin-citizen .tmbox.ambox-content, body.skin-citizen .tmbox.ambox-style { border-left-color: var(--color-warning); }

body.skin-citizen .tmbox .mbox-image, body.skin-citizen .tmbox .mbox-imageright, body.skin-citizen .tmbox .mbox-text { vertical-align: top; padding: var(--space-xs) var(--space-md); }

body.skin-citizen .tmbox .mbox-image { padding-right: 0; }

body.skin-citizen .tmbox .mbox-imageright { padding-left: 0; }