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 { 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; }" |
toward pretty infobox |
||
| Line 14: | Line 14: | ||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
} | |||
.infobox-table { | |||
border-spacing: 0px; | |||
margin-top: 1em; | |||
width: 400px; | |||
} | } | ||
.infobox-table th { | .infobox-table th { | ||
| Line 19: | Line 24: | ||
vertical-align: top; | vertical-align: top; | ||
width: 120px; | width: 120px; | ||
border-right: 1px solid #999; | |||
} | } | ||
.infobox-table td { | .infobox-table td { | ||
vertical-align: top; | vertical-align: top; | ||
border-left: 1px solid #999; | |||
} | } | ||
Revision as of 01:24, 24 March 2024
/* CSS placed here will be applied to all skins */
.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 {
border-spacing: 0px;
margin-top: 1em;
width: 400px;
}
.infobox-table th {
text-align: right;
vertical-align: top;
width: 120px;
border-right: 1px solid #999;
}
.infobox-table td {
vertical-align: top;
border-left: 1px solid #999;
}