MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.infobox { | |||
float: right; | |||
.infobox | clear: right; | ||
margin: 0 0 1em 1em; | |||
width: 260px; | |||
border: 1px solid #a2a9b1; | |||
background: #f8f9fa; | |||
font-size: 88%; | |||
line-height: 1.4; | |||
} | } | ||
.infobox-title { | |||
.infobox | background: #f2f2ce; | ||
text-align: center; | |||
font-weight: bold; | |||
font-size: 110%; | |||
padding: 0.3em; | |||
} | } | ||
.infobox-image { | |||
.infobox | background: #ffffff; | ||
text-align: center; | |||
padding: 0.4em; | |||
} | } | ||
.infobox-image img { | |||
.infobox | max-width: 100%; | ||
height: auto; | |||
} | } | ||
.infobox-section { | |||
.infobox | background: #f2f2ce; | ||
text-align: center; | |||
font-weight: bold; | |||
padding: 0.25em; | |||
border-top: 1px solid #a2a9b1; | |||
border-bottom: 1px solid #a2a9b1; | |||
} | } | ||
.infobox td { | |||
.infobox | padding: 0.25em 0.4em; | ||
vertical-align: top; | |||
} | } | ||
.infobox td:first-child { | |||
.infobox | width: 40%; | ||
white-space: nowrap; | |||
} | } | ||
.binomial-name { | |||
text-align: center; | |||
font-style: italic; | |||
font-weight: bold; | |||
padding: 0.4em; | |||
} | } | ||
.binomial-name .authority { | |||
font-style: normal; | |||
font-weight: normal; | |||
font-size: 90%; | |||
} | } | ||
Revision as of 01:01, 28 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.4;
}
.infobox-title {
background: #f2f2ce;
text-align: center;
font-weight: bold;
font-size: 110%;
padding: 0.3em;
}
.infobox-image {
background: #ffffff;
text-align: center;
padding: 0.4em;
}
.infobox-image img {
max-width: 100%;
height: auto;
}
.infobox-section {
background: #f2f2ce;
text-align: center;
font-weight: bold;
padding: 0.25em;
border-top: 1px solid #a2a9b1;
border-bottom: 1px solid #a2a9b1;
}
.infobox td {
padding: 0.25em 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.4em;
}
.binomial-name .authority {
font-style: normal;
font-weight: normal;
font-size: 90%;
}