Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:Message box/sandbox/tmbox.css

From Wikipedia, the free encyclopedia
.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, .ctmbox.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, .ctmbox.mbox-text {
	border: none;
	/* @noflip */
	padding: 0.25em 0.9em;
	width: 100%;
}

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

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

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

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

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

.ctmbox {
	margin: 4px 0;
	border-collapse: collapse;
	border: 1px solid #cdcab6;
	background-color: #ece9dd;
	box-sizing: border-box;
}

.ctmbox-speedy {
	border: 2px solid #b32424;    /* Red */
	background-color: #ffdbdb;
}

.ctmbox-delete {
	border: 2px solid #b32424;    /* Red */
	background-color: #fce3cb;
}

.ctmbox-content {
	border: 2px solid #f28500;    /* Orange */
	background-color: #fce9c4
}

.ctmbox-style {
	border: 2px solid #fc3;       /* Yellow */
	background-color: #fcf2cb
}

.ctmbox-move {
	border: 2px solid #9932cc;    /* Purple */
	background-color: #eee1dd;
}

.cmbox-protection {
	background-color: #f4edce;
}