Module:Message box/ombox.css: Difference between revisions
en>Shirayuki copy from MediaWiki:Gadget-enwp-boxes.css |
en>Shirayuki copy 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 */ | ||
} | |||
/* 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; | |||
} | } |
Revision as of 08:40, 23 October 2020
/* 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 */
}
/* 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;
}