Module:Message box/tmbox.css

From Festipedia, hosted by the FR Heritage Group
.tmbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #c0c090;    /* Default "notice" gray-brown */
	background-color: #f8eaba;
	min-width: 80%;
	box-sizing: border-box;
}

/* For the "small=yes" option. */
.tmbox.mbox-small {
	/* @noflip */
	clear: right;
	/* @noflip */
	float: right;
	/* @noflip */
	margin: 4px 0 4px 1em;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
	min-width: 0;
}

/* For tmboxes inside other templates */
.mbox-inside .tmbox { 
	margin: 2px 0;
	/* TODO: Still needed? */
	width: 100%;/* For Safari and Opera */
}

/* "small" tmboxes should not be small when also "nested", so reset styles that
 * are set in "mbox-small" above.
 */
.mbox-inside .tmbox.mbox-small { 
	line-height: 1.5em;
	font-size: 100%;
}

.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;
}