MediaWiki:Common.css: Difference between revisions
SGPolitico (talk | contribs) No edit summary |
SGPolitico (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox-container { | |||
width: 30%; | |||
max-width: 350px; /* Prevents overly large infobox */ | |||
margin-left: 15px; | |||
margin-top: 0px; | |||
float: right; /* Float on desktop */ | |||
clear: right; | |||
} | |||
/* Infobox Table */ | |||
.infobox-table { | |||
width: 100%; | |||
border-collapse: collapse; | |||
text-align: left; | |||
} | |||
/* Image */ | |||
.infobox-image { | |||
text-align: center; | |||
padding: 5px; | |||
} | |||
/* Headers */ | |||
.infobox-header, .infobox-section { | |||
background-color: #f2f2f2; | |||
font-weight: bold; | |||
text-align: center; | |||
} | |||
/* Fields */ | |||
.infobox-field { | |||
font-weight: bold; | |||
width: 35%; | |||
} |
Latest revision as of 03:28, 12 February 2025
/* CSS placed here will be applied to all skins */ .infobox-container { width: 30%; max-width: 350px; /* Prevents overly large infobox */ margin-left: 15px; margin-top: 0px; float: right; /* Float on desktop */ clear: right; } /* Infobox Table */ .infobox-table { width: 100%; border-collapse: collapse; text-align: left; } /* Image */ .infobox-image { text-align: center; padding: 5px; } /* Headers */ .infobox-header, .infobox-section { background-color: #f2f2f2; font-weight: bold; text-align: center; } /* Fields */ .infobox-field { font-weight: bold; width: 35%; }