Module:Message box/ombox.css: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Create CSS page to style {{Ombox}} templates using <templatestyles>
 
Restore `border‑width` of `type=speedy` and `type=delete`
Line 21: Line 21:


table.ombox-speedy {
table.ombox-speedy {
/* Red */
border-color: #b32424;
/* Pink */
/* Pink */
background-color: #fee7e6;
background-color: #fee7e6;
}
}


table.ombox-speedy,
table.ombox-delete {
table.ombox-delete {
/* Red */
/* Red */
border-color: #b32424;
border-color: #b32424;
border-width: 2px;
}
}



Revision as of 13:50, 6 July 2021

/**
 * {{ombox}} (other pages message box) styles
 *
 * @source https://www.mediawiki.org/wiki/MediaWiki:Gadget-enwp-boxes.css
 * @revision 2021-07-06
 */

table.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	/* Default "notice" gray */
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;
	box-sizing: border-box;
}

table.ombox-notice {
	/* Gray */
	border-color: #a2a9b1;
}

table.ombox-speedy {
	/* Pink */
	background-color: #fee7e6;
}

table.ombox-speedy,
table.ombox-delete {
	/* Red */
	border-color: #b32424;
	border-width: 2px;
}

table.ombox-content {
	/* Orange */
	border-color: #f28500;
}

table.ombox-style {
	/* Yellow */
	border-color: #fc3;
}

table.ombox-move {
	/* Purple */
	border-color: #9932cc;
}

table.ombox-protection {
	/* Gray-gold */
	border-color: #a2a9b1;
}