MediaWiki:Common.css: Difference between revisions
From The Elite Wiki
HarryCoupe (talk | contribs) No edit summary |
HarryCoupe (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
table.navbox th { | table.navbox th { | ||
text-align: center; /* Title and above/below styles */ | text-align: center; /* Title and above/below styles */ | ||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | |||
.navbox-group { /* Group style */ | |||
white-space: nowrap; | |||
text-align: right; | |||
font-weight: bold; | |||
padding-left: 1em; | padding-left: 1em; | ||
padding-right: 1em; | padding-right: 1em; | ||
} | } |
Revision as of 15:35, 19 April 2022
/* CSS placed here will be applied to all skins */
@import url("skin.css");
/* Default skin for navigation boxes */
table.navbox { /* Navbox container style */
border: 1px solid #79542B;
background-color:#FFFCF7;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
text-align: center; /* Title and above/below styles */
padding-left: 1em;
padding-right: 1em;
}
.navbox-group { /* Group style */
white-space: nowrap;
text-align: right;
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
}