Modul:Message box/cmbox.css: Unterschied zwischen den Versionen
(Import {{Cmbox}} styles from mw:MediaWiki:Gadget-enwp-boxes.css) |
K (6 Versionen von wikivoyage:Modul:Message_box/cmbox.css importiert) |
||
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
/** | /** | ||
* {{cmbox}} (category message box) styles | * {{cmbox}} (category message box) styles | ||
Zeile 20: | Zeile 9: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
/* Default "notice" blue */ | |||
background-color: #dfe8ff; | |||
box-sizing: border-box; | 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 { | table.cmbox-notice { | ||
background-color: #d8e8ff; | /* Blue */ | ||
background-color: #d8e8ff; | |||
} | } | ||
table.cmbox-speedy { | table.cmbox-speedy { | ||
margin-top: 4px; | margin-top: 4px; | ||
margin-bottom: 4px; | margin-bottom: 4px; | ||
/* Red */ | |||
border: 4px solid #b32424; | |||
} | } | ||
table.cmbox-delete { | |||
background-color: #ffdbdb; | table.cmbox-delete, | ||
table.cmbox-speedy { | |||
/* Pink */ | |||
background-color: #ffdbdb; | |||
} | } | ||
table.cmbox-content { | table.cmbox-content { | ||
background-color: #ffe7ce; | /* Orange */ | ||
background-color: #ffe7ce; | |||
} | } | ||
table.cmbox-style { | table.cmbox-style { | ||
background-color: #fff9db; | /* Yellow */ | ||
background-color: #fff9db; | |||
} | } | ||
table.cmbox-move { | table.cmbox-move { | ||
background-color: #e4d8ff; | /* Purple */ | ||
background-color: #e4d8ff; | |||
} | } | ||
table.cmbox-protection { | table.cmbox-protection { | ||
background-color: #efefe1; | /* Gray-gold */ | ||
background-color: #efefe1; | |||
} | } |
Aktuelle Version vom 27. Januar 2023, 05:59 Uhr
/**
* {{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,
.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: #d8e8ff;
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
/* Red */
border: 4px solid #b32424;
}
table.cmbox-delete,
table.cmbox-speedy {
/* Pink */
background-color: #ffdbdb;
}
table.cmbox-content {
/* Orange */
background-color: #ffe7ce;
}
table.cmbox-style {
/* Yellow */
background-color: #fff9db;
}
table.cmbox-move {
/* Purple */
background-color: #e4d8ff;
}
table.cmbox-protection {
/* Gray-gold */
background-color: #efefe1;
}