MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
| Line 9: | Line 8: | ||
background: #f9f9f9; | background: #f9f9f9; | ||
font-size: 90%; | font-size: 90%; | ||
border- | border-collapse: collapse; /* collapse table borders for clean spacing */ | ||
} | } | ||
| Line 19: | Line 18: | ||
text-align: center; | text-align: center; | ||
padding: 4px 2px; | padding: 4px 2px; | ||
border-bottom: 1px solid #aaa; /* subtle line under header */ | |||
} | } | ||
/* Section headers */ | /* Section headers (Scientific classification / Binomial name) */ | ||
.infobox-header { | .infobox-header { | ||
background: #e6e6cc; | background: #e6e6cc; | ||
| Line 28: | Line 28: | ||
padding: 3px 2px; | padding: 3px 2px; | ||
font-size: 95%; | font-size: 95%; | ||
border-top: 1px solid #aaa; /* separates from previous content */ | |||
border-bottom: 1px solid #aaa; /* separates from table rows below */ | |||
} | } | ||
| Line 52: | Line 54: | ||
background: #fff; | background: #fff; | ||
padding: 2px; | padding: 2px; | ||
border-bottom: 1px solid #aaa; /* subtle separation from taxonomy section */ | |||
} | } | ||
Revision as of 18:18, 17 December 2025
/* 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%;
border-collapse: collapse; /* collapse table borders for clean spacing */
}
/* Top scientific name bar */
.infobox-title {
background: #f2f2ce;
font-size: 110%;
font-weight: bold;
text-align: center;
padding: 4px 2px;
border-bottom: 1px solid #aaa; /* subtle line under header */
}
/* Section headers (Scientific classification / Binomial name) */
.infobox-header {
background: #e6e6cc;
font-weight: bold;
text-align: center;
padding: 3px 2px;
font-size: 95%;
border-top: 1px solid #aaa; /* separates from previous content */
border-bottom: 1px solid #aaa; /* separates from table rows below */
}
/* Table cells */
.infobox td {
padding: 4px 6px;
vertical-align: top;
}
/* Narrow label column */
.infobox td:first-child {
width: 40%;
font-weight: normal;
}
/* Value column */
.infobox td:last-child {
width: 60%;
}
/* Image area */
.infobox-image {
text-align: center;
background: #fff;
padding: 2px;
border-bottom: 1px solid #aaa; /* subtle separation from taxonomy section */
}
/* Image caption */
.infobox-caption {
font-size: 90%;
line-height: 1.2;
}
/* Binomial section */
.infobox-binomial {
text-align: center;
font-size: 105%;
}
/* Authority text */
.infobox-authority {
font-size: 90%;
}