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 |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
.infobox { | .infobox { | ||
border: 1px solid # | border: 1px solid #a2a9b1; | ||
background-color: # | background-color: #f8f9fa; | ||
padding: | padding: 0px; | ||
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 */ | ||
} | } | ||
| Line 17: | Line 17: | ||
.infobox th { | .infobox th { | ||
text-align: left; | text-align: left; | ||
} | |||
.infobox .hrrow td { | |||
padding: 0; | |||
border-top: 1px solid #a2a9b1; | |||
} | } | ||
Latest revision as of 11:21, 8 December 2025
/* CSS placed here will be applied to all skins */
.infobox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
padding: 0px;
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 {
text-align: left;
}
.infobox .hrrow td {
padding: 0;
border-top: 1px solid #a2a9b1;
}