MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: .infobox { float: right; clear: right; width: 280px; margin: 0 0 1em 1em; border: 1px solid #aaa; background: #f9f9f9; font-size: 90%; } .infobox-title { background: #f2f2ce; font-size: 120%; text-align: center; padding: 6px; } .infobox-header { background: #e6e6cc; text-align: center; font-weight: bold; padding: 4px; } .infobox td { padding: 4px 6px; vertical-align: top; } .infobox-..." |
No edit summary |
||
| (49 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
margin: 0.5em; | |||
width: 260px; | |||
border: 1px solid # | border: 1px solid #a2a9b1; | ||
background: # | background: #f8f9fa; | ||
font-size: | font-size: 88%; | ||
line-height: 1.45; | |||
padding: 0.2em; | |||
} | } | ||
.infobox-title { | .infobox-title { | ||
background: #f2f2ce; | background: #f2f2ce; | ||
text-align: center; | text-align: center; | ||
font-weight: bold; | |||
font-size: 110%; | |||
} | } | ||
.infobox- | .infobox-image { | ||
background: # | 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; | text-align: center; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 110% | |||
} | } | ||
.infobox td { | .infobox td { | ||
vertical-align: top; | vertical-align: top; | ||
} | } | ||
.infobox- | .infobox td:first-child { | ||
width: 40%; | |||
white-space: nowrap; | |||
} | } | ||
. | .binomial-name { | ||
text-align: center; | text-align: center; | ||
font-size: | font-style: italic; | ||
font-weight: bold; | |||
font-size: 110%; | |||
} | } | ||
. | .binomial-name .authority { | ||
font- | font-style: normal; | ||
font-weight: normal; | |||
} | } | ||
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;
}