Difference between revisions of "Module:Message box/ombox.css"
Jump to navigation
Jump to search
>ExE Boss m (ExE Boss moved page Template:Ombox/styles.css to Module:Message box/ombox.css without leaving a redirect: MediaWiki talk:Gadget-site.css § Last to TemplateStyles: mbox and MediaWiki:Gadget-enwp-boxes.css) |
>ExE Boss (Import {{Ombox}} styles from MediaWiki:Gadget‑enwp‑boxes.css) |
||
Line 8: | Line 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 */ | ||
} | |||
/* Other pages message box styles */ | |||
table.ombox { | |||
margin: 4px 10%; | |||
border-collapse: collapse; | |||
border: 1px solid #a2a9b1; /* Default "notice" gray */ | |||
background-color: #f8f9fa; | |||
box-sizing: border-box; | |||
} | |||
table.ombox-notice { | |||
border: 1px solid #a2a9b1; /* Gray */ | |||
} | |||
table.ombox-speedy { | |||
border: 2px solid #b32424; /* Red */ | |||
background-color: #fee7e6; /* Pink */ | |||
} | |||
table.ombox-delete { | |||
border: 2px solid #b32424; /* Red */ | |||
} | |||
table.ombox-content { | |||
border: 1px solid #f28500; /* Orange */ | |||
} | |||
table.ombox-style { | |||
border: 1px solid #fc3; /* Yellow */ | |||
} | |||
table.ombox-move { | |||
border: 1px solid #9932cc; /* Purple */ | |||
} | |||
table.ombox-protection { | |||
border: 2px solid #a2a9b1; /* Gray-gold */ | |||
} | } | ||
Revision as of 17:23, 15 July 2021
/* 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 */
}
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
table.ombox-notice {
border: 1px solid #a2a9b1; /* Gray */
}
table.ombox-speedy {
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
table.ombox-delete {
border: 2px solid #b32424; /* Red */
}
table.ombox-content {
border: 1px solid #f28500; /* Orange */
}
table.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
table.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
/* These mbox-small classes must be placed after all other
ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small { /* For the "small=yes" option. */
clear: right;
float: right;
margin: 4px 0 4px 1em;
}