Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
m |
|||
| Line 16: | Line 16: | ||
} | } | ||
.infobox-image img { | .infobox-image img { | ||
| − | + | max-width: 90%; | |
| − | + | height: auto; | |
} | } | ||
.infobox table { | .infobox table { | ||
Revision as of 08:13, 8 October 2020
/* 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;
max-width: 25%;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-image img {
max-width: 90%;
height: auto;
}
.infobox table {
width: 100%;
}
.infobox tr {
width: 100%;
}
.infobox th {
text-align: left;
vertical-align: top;
}
.infobox td {
text-align: right;
vertical-align: top;
}