Jump to content

User:Matt Fitzpatrick/common.css

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Matt Fitzpatrick (talk | contribs) at 12:06, 13 July 2016 (notes). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
.navbox { /* add to .navbox, so non-table elements use table's box model -mf */
	box-sizing: border-box;
}
.navbox { /* replaces table.navbox */
    margin-top: 1em;          /* Prevent preceding content from clinging to navboxes -mf */
}
.navbox .navbox { /* replaces table.navbox table.navbox -mf */
    margin-top: 0;            /* No top margin for nested navboxes */
}
.navbox + .navbox { /* replaces table.navbox + table.navbox -mf */
    margin-top: -1px;         /* Single pixel border between adjacent navboxes */
}