MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 22: | Line 22: | ||
text-align: center; | text-align: center; | ||
width: 250px; | width: 250px; | ||
margin: 0 auto; | |||
} | |||
.infobox-image img { | |||
width: 250px; | |||
height: auto; | |||
display: block; | |||
margin: 0 auto; | |||
} | } | ||
Latest revision as of 04:23, 31 December 2025
.infobox {
float: right;
clear: right;
margin: 0.5em;
width: 260px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
font-size: 88%;
line-height: 1.45;
padding: 0.2em;
}
.infobox-title {
background: #f2f2ce;
text-align: center;
font-weight: bold;
font-size: 110%;
}
.infobox-image {
background: #f8f9fa;
text-align: center;
width: 250px;
margin: 0 auto;
}
.infobox-image img {
width: 250px;
height: auto;
display: block;
margin: 0 auto;
}
.infobox-section {
background: #f2f2ce;
text-align: center;
font-weight: bold;
font-size: 110%
}
.infobox td {
vertical-align: top;
}
.infobox td:first-child {
width: 40%;
white-space: nowrap;
}
.binomial-name {
text-align: center;
font-style: italic;
font-weight: bold;
font-size: 110%;
}
.binomial-name .authority {
font-style: normal;
font-weight: normal;
}