MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: .infobox { border: 1px solid #aaa; background-color: #f9f9f9; padding: 5px; margin: 10px 0; font-size: 90%; width: 250px; float: right; →optional, floats box to right of text: } .infobox th, .infobox td { padding: 2px 5px; vertical-align: top; } .infobox th { background-color: #eee; text-align: left; }" |
No edit summary |
||
| Line 7: | Line 7: | ||
margin: 10px 0; | margin: 10px 0; | ||
font-size: 90%; | font-size: 90%; | ||
width: | width: 300px; | ||
float: right; /* optional, floats box to right of text */ | float: right; /* optional, floats box to right of text */ | ||
} | } | ||
Latest revision as of 14:24, 4 December 2025
/* CSS placed here will be applied to all skins */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 5px;
margin: 10px 0;
font-size: 90%;
width: 300px;
float: right; /* optional, floats box to right of text */
}
.infobox th, .infobox td {
padding: 2px 5px;
vertical-align: top;
}
.infobox th {
background-color: #eee;
text-align: left;
}