MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Created page with "→CSS placed here will be applied to all skins: .infobox{float:right;width:280px;margin:0 0 1em 1em;border:1px solid #aaa;background:#f9f9f9;border-collapse:collapse} .infobox th,.infobox td{padding:6px;border-bottom:1px solid #ddd;vertical-align:top} .infobox-title{font-size:120%;text-align:center;background:#eee} .infobox-section{background:#f0f0f0;text-align:left} .infobox img{max-width:100%;height:auto}" |
No edit summary |
||
Line 1: | Line 1: | ||
.infobox { | |||
.infobox{float:right; | background: #eee; | ||
.infobox | border: 1px solid #aaa; | ||
.infobox- | float: right; | ||
.infobox- | margin: 0 0 1em 1em; | ||
.infobox | padding: 1em; | ||
width: 400px; | |||
} | |||
.infobox-title { | |||
font-size: 2em; | |||
text-align: center; | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
} | |||
.infobox-table th { | |||
text-align: right; | |||
vertical-align: top; | |||
width: 120px; | |||
} | |||
.infobox-table td { | |||
vertical-align: top; | |||
} |
Revision as of 23:03, 9 August 2025
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}