MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
/* Infobox template style */ | /* Infobox template style */ | ||
.infobox { | .infobox { | ||
background: #eee; | |||
border: 1px solid #aaa; | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
padding: 1em; | |||
width: 400px; | |||
} | } | ||
.infobox | .infobox-title { | ||
font-size: 2em; | |||
text-align: center; | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
} | } | ||
.infobox th { | .infobox th { | ||
text-align: right; | |||
vertical-align: top; | |||
width: 120px; | |||
} | } | ||
.infobox td { | |||
.infobox | vertical-align: top; | ||
} | } |
Revision as of 20:26, 3 January 2019
/* CSS placed here will be applied to all skins */
/* Infobox template style */
.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 th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox td {
vertical-align: top;
}