MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
.infobox { | .infobox { | ||
2px solid #572917; | 2px solid #572917; | ||
background-color: #e9dfc9; | background-color: #e9dfc9; | ||
float: right; | float: right; | ||
| Line 14: | Line 13: | ||
font-size: 2em; | font-size: 2em; | ||
text-align: center; | text-align: center; | ||
} | |||
} | |||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
max-width: 100%; | |||
height: auto; | |||
} | } | ||
| Line 24: | Line 24: | ||
text-align: right; | text-align: right; | ||
vertical-align: top; | vertical-align: top; | ||
width: | width: 120px; | ||
} | } | ||
Revision as of 08:35, 23 April 2024
/* CSS placed here will be applied to all skins */
.infobox {
2px solid #572917;
background-color: #e9dfc9;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
max-width: 100%;
height: auto;
}
.infobox-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}