MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
.infobox-image img { | .infobox-image img { | ||
max-width: 100% | max-width: 100%; | ||
height: auto; | |||
} | } | ||
Revision as of 15:03, 27 December 2024
/* CSS placed here will be applied to all skins */
.skin-theme-clientpref-night .infobox {
background: #333 !important;
border: 1px solid #aaa;
}
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 .5em .5em;
padding: 1em;
width: 300px;
}
.infobox-title {
font-size: 1.5em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-image img {
max-width: 100%;
height: auto;
}
.infobox-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}