MediaWiki:Common.css

/* CSS placed here will be applied to all skins */

th.mbox-text, td.mbox-text {  /* The message body cell(s) */ border: none; /* @noflip */ padding: 0.25em 0.9em;    /* 0.9em left/right */ width: 100%;              /* Make all mboxes the same width regardless of text length */ }
 * Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */

td.mbox-image {               /* The left image cell */ border: none; /* @noflip */ padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; }

td.mbox-imageright {          /* The right image cell */ border: none; /* @noflip */ padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ text-align: center; }

td.mbox-empty-cell {          /* An empty narrow cell */ border: none; padding: 0; width: 1px; }

/* Article message box styles */ table.ambox { margin: 0 10%;                 /* 10% = Will not overlap with other elements */ border: 1px solid #a2a9b1; /* @noflip */ border-left: 10px solid #36c; /* Default "notice" blue */ background-color: #fbfbfb; box-sizing: border-box; }

table.ambox + table.ambox {     /* Single border between stacked boxes. */	margin-top: -1px; }

.ambox th.mbox-text, .ambox td.mbox-text {           /* The message body cell(s) */ padding: 0.25em 0.5em;      /* 0.5em left/right */ }

.ambox td.mbox-image {          /* The left image cell */ /* @noflip */ padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */ }

.ambox td.mbox-imageright {     /* The right image cell */ /* @noflip */ padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */ }

table.ambox-notice { /* @noflip */ border-left: 10px solid #36c;      /* Blue */ }

table.ambox-speedy { /* @noflip */ border-left: 10px solid #b32424;   /* Red */ background-color: #fee7e6;         /* Pink */ }

table.ambox-delete { /* @noflip */ border-left: 10px solid #b32424;   /* Red */ }

table.ambox-content { /* @noflip */ border-left: 10px solid #f28500;   /* Orange */ }

table.ambox-style { /* @noflip */ border-left: 10px solid #fc3;      /* Yellow */ }

table.ambox-move { /* @noflip */ border-left: 10px solid #9932cc;   /* Purple */ }

table.ambox-protection { /* @noflip */ border-left: 10px solid #a2a9b1;   /* Gray-gold */ }

table.ambox-law { /* @noflip */ border-left: 10px solid #000000;   /* Black */ }

table.ambox-nation { /* @noflip */ border-left: 10px solid #59e550;   /* Green */ }

table.ambox-portal { /* @noflip */ border-left: 10px solid #4e5d94;   /* Blurple */ }

table.ambox-election { /* @noflip */ border-left: 10px solid #7d00a6;   /* Purple */ }

/* Infobox template style */ .infobox { border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; /* @noflip */ margin: 0.5em 0 0.5em 1em; padding: 0.2em; /* @noflip */ float: right; /* @noflip */ clear: right; font-size: 88%; line-height: 1.5em; width: 22em; }

/* not strictly certain these styles are necessary * just replicating the module faithfully */ .infobox-subbox { padding: 0; border: none; margin: -3px; width: auto; min-width: 100%; font-size: 100%; clear: none; float: none; background-color: transparent; }

.infobox-header, .infobox-label, .infobox-above, .infobox-full-data, .infobox-data, .infobox-below, .infobox-subheader, .infobox-image, .infobox-navbar, /* Remove element declaration when both a) infobox3cols is migrated and * b) when every .infobox thing is using the standard module/templates */ .infobox th, .infobox td { vertical-align: top; }

.infobox-label, .infobox-data, /* Remove element declaration when both a) infobox3cols is migrated and * b) when every .infobox thing is using the standard module/templates */ .infobox th, .infobox td { /* @noflip */ text-align: left; }

/* remove .infobox when th, td above are removed */ .infobox .infobox-above, .infobox .infobox-title, /* Remove element declaration when both a) infobox3cols is migrated and * b) when every .infobox thing is using the standard module/templates */ .infobox caption { font-size: 125%; font-weight: bold; text-align: center; }

.infobox-title, /* Remove element declaration when both a) infobox3cols is migrated and * b) when every .infobox thing is using the standard module/templates */ .infobox caption { padding: 0.2em; }

/* remove .infobox when th, td above are removed */ .infobox .infobox-header, .infobox .infobox-subheader, .infobox .infobox-image, .infobox .infobox-full-data, .infobox .infobox-below { text-align: center; }

/* remove .infobox when th, td above are removed */ .infobox .infobox-navbar { /* @noflip */ text-align: right; }

.infobox.bordered { border-collapse: collapse; }

/* Unbulleted lists */ .plainlist ol, .plainlist ul { line-height: inherit; list-style: none none; margin: 0; }

.plainlist ol li, .plainlist ul li { margin-bottom: 0; }

/* Make the list of references smaller */ ol.references { font-size: 90%;           /* Default font-size */ margin-bottom: 0.5em; }