Module:Message box/cmbox.css: Difference between revisions
Jump to navigation
Jump to search
(Created page with "→* * {{cmbox}} (category message box) styles * * @source https://www.mediawiki.org/wiki/MediaWiki:Gadget-enwp-boxes.css * @revision 2021-07-15: table.cmbox { margin: 3px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; →Default "notice" blue: background-color: #dfe8ff; box-sizing: border-box; } →An empty narrow cell: .cmbox td.mbox-empty-cell { border: none; padding: 0; width: 1px; } →The message body cell(s): .cmbox th.mbox-text,...") |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
margin: 3px 10%; | margin: 3px 10%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border: 1px solid # | border: 1px solid #496675; | ||
/* Default "notice" blue */ | /* Default "notice" blue */ | ||
background-color: # | background-color: #39506f; | ||
color: #4f4f4f; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
Line 47: | Line 48: | ||
table.cmbox-notice { | table.cmbox-notice { | ||
/* Blue */ | /* Blue */ | ||
background-color: # | background-color: #39506f; | ||
color: #f5e3df; | |||
} | } | ||
Line 60: | Line 62: | ||
table.cmbox-speedy { | table.cmbox-speedy { | ||
/* Pink */ | /* Pink */ | ||
background-color: # | background-color: #6f395d; | ||
} | } | ||
table.cmbox-content { | table.cmbox-content { | ||
/* Orange */ | /* Orange */ | ||
background-color: # | background-color: #6f4b39; | ||
} | } | ||
table.cmbox-style { | table.cmbox-style { | ||
/* Yellow */ | /* Yellow */ | ||
background-color: # | background-color: #6f6139; | ||
} | } | ||
table.cmbox-move { | table.cmbox-move { | ||
/* Purple */ | /* Purple */ | ||
background-color: # | background-color: #49396f; | ||
} | } | ||
table.cmbox-protection { | table.cmbox-protection { | ||
/* Gray-gold */ | /* Gray-gold */ | ||
background-color: # | background-color: #707070; | ||
} | } |
Latest revision as of 15:14, 15 January 2024
/**
* {{cmbox}} (category message box) styles
*
* @source https://www.mediawiki.org/wiki/MediaWiki:Gadget-enwp-boxes.css
* @revision 2021-07-15
*/
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #496675;
/* Default "notice" blue */
background-color: #39506f;
color: #4f4f4f;
box-sizing: border-box;
}
/* An empty narrow cell */
.cmbox td.mbox-empty-cell {
border: none;
padding: 0;
width: 1px;
}
/* The message body cell(s) */
.cmbox th.mbox-text,
.cmbox td.mbox-text {
border: none;
/* 0.9em left/right */
padding: 0.25em 0.9em;
/* Make all mboxes the same width regardless of text length */
width: 100%;
}
/* The left image cell */
.cmbox td.mbox-image {
/* 0.9em left, 0px right */
/* @noflip */
padding: 2px 0 2px 0.9em;
}
/* The right image cell */
.cmbox td.mbox-imageright {
/* 0px left, 0.9em right */
/* @noflip */
padding: 2px 0.9em 2px 0;
}
table.cmbox-notice {
/* Blue */
background-color: #39506f;
color: #f5e3df;
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
/* Red */
border: 4px solid #b32424;
}
table.cmbox-delete,
table.cmbox-speedy {
/* Pink */
background-color: #6f395d;
}
table.cmbox-content {
/* Orange */
background-color: #6f4b39;
}
table.cmbox-style {
/* Yellow */
background-color: #6f6139;
}
table.cmbox-move {
/* Purple */
background-color: #49396f;
}
table.cmbox-protection {
/* Gray-gold */
background-color: #707070;
}