Modul:Message box/cmbox.css: Unterschied zwischen den Versionen
K (ExE Boss moved page Template:Cmbox/styles.css to Module:Message box/cmbox.css without leaving a redirect: MediaWiki talk:Gadget-site.css § Last to TemplateStyles: mbox and MediaWiki:Gadget-enwp-boxes.css) |
(Import {{Cmbox}} styles from mw:MediaWiki:Gadget-enwp-boxes.css) |
||
Zeile 8: | Zeile 8: | ||
td.mbox-imageright { /* The right image cell */ | td.mbox-imageright { /* The right image cell */ | ||
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ | padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ | ||
} | |||
/** | |||
* {{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; | |||
background-color: #dfe8ff; /* Default "notice" blue */ | |||
box-sizing: border-box; | |||
} | |||
table.cmbox-notice { | |||
background-color: #d8e8ff; /* Blue */ | |||
} | |||
table.cmbox-speedy { | |||
margin-top: 4px; | |||
margin-bottom: 4px; | |||
border: 4px solid #b32424; /* Red */ | |||
background-color: #ffdbdb; /* Pink */ | |||
} | |||
table.cmbox-delete { | |||
background-color: #ffdbdb; /* Pink */ | |||
} | |||
table.cmbox-content { | |||
background-color: #ffe7ce; /* Orange */ | |||
} | |||
table.cmbox-style { | |||
background-color: #fff9db; /* Yellow */ | |||
} | |||
table.cmbox-move { | |||
background-color: #e4d8ff; /* Purple */ | |||
} | |||
table.cmbox-protection { | |||
background-color: #efefe1; /* Gray-gold */ | |||
} | } |
Version vom 15. Juli 2021, 19:14 Uhr
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.9em; /* 0.9em left/right */
}
td.mbox-image { /* The left image cell */
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
}
td.mbox-imageright { /* The right image cell */
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
}
/**
* {{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;
background-color: #dfe8ff; /* Default "notice" blue */
box-sizing: border-box;
}
table.cmbox-notice {
background-color: #d8e8ff; /* Blue */
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b32424; /* Red */
background-color: #ffdbdb; /* Pink */
}
table.cmbox-delete {
background-color: #ffdbdb; /* Pink */
}
table.cmbox-content {
background-color: #ffe7ce; /* Orange */
}
table.cmbox-style {
background-color: #fff9db; /* Yellow */
}
table.cmbox-move {
background-color: #e4d8ff; /* Purple */
}
table.cmbox-protection {
background-color: #efefe1; /* Gray-gold */
}