Jump to content

Module:Message box/cmbox.css

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Izno (talk | contribs) at 00:12, 8 May 2022 (-). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
.cmbox {
	margin: 3px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;
	background-color: #dfe8ff;    /* Default "notice" blue */
	box-sizing: border-box;
}

.cmbox-speedy {
	margin: 4px 10%;
	border: 4px solid #b32424;    /* Red */
	background-color: #ffdbdb;    /* Pink */
}

.cmbox-delete {
	background-color: #ffdbdb;    /* Pink */
}

.cmbox-content {
	background-color: #ffe7ce;    /* Orange */
}

.cmbox-style {
	background-color: #fff9db;    /* Yellow */
}

.cmbox-move {
	background-color: #e4d8ff;    /* Purple */
}

.cmbox-protection {
	background-color: #efefe1;    /* Gray-gold */
}

.cmbox .mbox-text {   /* The message body cell(s) */
	border: none;
	/* @noflip */
	padding: 0.25em 0.9em;     /* 0.9em left/right */
	width: 100%;               /* Make all mboxes the same width regardless of text length */
}

.cmbox .mbox-image {                /* The left image cell */
	border: none;
	/* @noflip */
	padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
	text-align: center;
}

.cmbox .mbox-imageright {           /* The right image cell */
	border: none;
	/* @noflip */
	padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
	text-align: center;
}

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