/* {{pp|small=y}} */
.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;
}
}
/* https://theapplewiki.com/wiki/Module:Message_box/tmbox.css */
/* Style similar to [[Module:Hatnote/styles.css]] */
body.skin-citizen .tmbox {
padding: 0;
margin-top: var(--space-xs);
margin-bottom: var(--space-md);
background: var(--color-surface-2);
border-top: 0;
border-right: 0;
border-bottom: 0;
border-left-width: 10px;
border-radius: var(--border-radius-medium);
border-spacing: 0;
border-collapse: separate;
color: var(--color-subtle);
font-size: 0.875rem;
line-height: var(--line-height-xs);
}
body.skin-citizen .tmbox.tmbox-notice {
border-left-color: var(--border-color-progressive);
}
body.skin-citizen .tmbox.tmbox-speedy {
background-color: var(--background-color-destructive-subtle);
border-left-color: var(--border-color-destructive);
color: var(--color-emphasized);
}
body.skin-citizen .tmbox.tmbox-delete {
border-left-color: var(--border-color-destructive);
}
body.skin-citizen .tmbox.tmbox-content,
body.skin-citizen .tmbox.tmbox-style {
border-left-color: var(--background-color-warning);
}
body.skin-citizen .tmbox .mbox-image,
body.skin-citizen .tmbox .mbox-imageright,
body.skin-citizen .tmbox .mbox-text {
padding: var(--space-sm) var(--space-md);
vertical-align: top;
}
body.skin-citizen .tmbox .mbox-image {
padding-right: 0;
}
body.skin-citizen .tmbox .mbox-imageright {
padding-left: 0;
}
body.skin-citizen .tmbox .mbox-image-div {
width: auto;
}
body.skin-citizen .tmbox .mbox-image img,
body.skin-citizen .tmbox .mbox-imageright img,
body.skin-citizen .tmbox .mbox-image-div img {
width: auto !important;
height: 16px !important;
vertical-align: bottom;
}