MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Reverted |
||
| Line 8: | Line 8: | ||
font-size: 88%; | font-size: 88%; | ||
line-height: 1.45; | line-height: 1.45; | ||
border-collapse: separate; | |||
border-spacing: 0; | |||
} | } | ||
.infobox-title { | .infobox th { | ||
padding: 0.35em 0.5em; | |||
} | |||
.infobox-title, | |||
.infobox-section { | |||
background: #f2f2ce; | background: #f2f2ce; | ||
text-align: center; | text-align: center; | ||
font-weight: bold; | font-weight: bold; | ||
padding: 0; | |||
padding: 0 | |||
} | } | ||
| Line 21: | Line 27: | ||
background: #ffffff; | background: #ffffff; | ||
text-align: center; | text-align: center; | ||
padding: 0 | padding: 0; | ||
} | } | ||
.infobox- | .infobox-image img { | ||
display: block; | |||
margin: 0 auto; | |||
} | } | ||
.infobox td { | .infobox td { | ||
padding: 0. | padding: 0.3em 0.4em; | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
| Line 53: | Line 56: | ||
font-weight: normal; | font-weight: normal; | ||
font-size: 90%; | font-size: 90%; | ||
display: block; | |||
margin-top: 0.15em; | margin-top: 0.15em; | ||
} | } | ||
Revision as of 03:38, 31 December 2025
.infobox {
float: right;
clear: right;
margin: 0 0 1em 1em;
width: 260px;
border: 1px solid #a2a9b1;
background: #f8f9fa;
font-size: 88%;
line-height: 1.45;
border-collapse: separate;
border-spacing: 0;
}
.infobox th {
padding: 0.35em 0.5em;
}
.infobox-title,
.infobox-section {
background: #f2f2ce;
text-align: center;
font-weight: bold;
padding: 0;
}
.infobox-image {
background: #ffffff;
text-align: center;
padding: 0;
}
.infobox-image img {
display: block;
margin: 0 auto;
}
.infobox td {
padding: 0.3em 0.4em;
vertical-align: top;
}
.infobox td:first-child {
width: 40%;
white-space: nowrap;
}
.binomial-name {
text-align: center;
font-style: italic;
font-weight: bold;
padding: 0.45em 0.3em;
}
.binomial-name .authority {
font-style: normal;
font-weight: normal;
font-size: 90%;
display: block;
margin-top: 0.15em;
}