Difference between revisions of "Module:Message box/ombox.css"

From WPRDC Wiki
Jump to navigation Jump to search
>Tacsipacsi
(use the exact same selector and rules as found in MediaWiki:Gadget-enwp-boxes.css—TemplateStyles will make sure that this rule overrides the gadget’s one and that this rule flips appropriately on RTL pages (as long as they have page language set, i.e. they use the Translate extension))
>Shirayuki
Line 1: Line 1:
html body.mediawiki .mbox-small {
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
clear: right;
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
float: right;
padding: 0.25em 0.9em;    /* 0.9em left/right */
margin: 4px 0 4px 1em;
}
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 */
}
}

Revision as of 13:35, 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 */
}