MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
Tag: Undo |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Base infobox layout */ | |||
.infobox { | .infobox { | ||
float: right; | float: right; | ||
| Line 8: | Line 9: | ||
background: #f9f9f9; | background: #f9f9f9; | ||
font-size: 90%; | font-size: 90%; | ||
border- | border-spacing: 0; | ||
} | } | ||
| Line 18: | Line 19: | ||
text-align: center; | text-align: center; | ||
padding: 4px 2px; | padding: 4px 2px; | ||
} | } | ||
/* Section headers | /* Section headers */ | ||
.infobox-header { | .infobox-header { | ||
background: #e6e6cc; | background: #e6e6cc; | ||
| Line 28: | Line 28: | ||
padding: 3px 2px; | padding: 3px 2px; | ||
font-size: 95%; | font-size: 95%; | ||
} | } | ||
| Line 54: | Line 52: | ||
background: #fff; | background: #fff; | ||
padding: 2px; | padding: 2px; | ||
} | } | ||
Revision as of 18:20, 17 December 2025
/* CSS placed here will be applied to all skins */
/* Base infobox layout */
.infobox {
float: right;
clear: right;
width: 280px;
margin: 0 0 1em 1em;
border: 1px solid #aaa;
background: #f9f9f9;
font-size: 90%;
border-spacing: 0;
}
/* Top scientific name bar */
.infobox-title {
background: #f2f2ce;
font-size: 110%;
font-weight: bold;
text-align: center;
padding: 4px 2px;
}
/* Section headers */
.infobox-header {
background: #e6e6cc;
font-weight: bold;
text-align: center;
padding: 3px 2px;
font-size: 95%;
}
/* 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;
}
/* 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%;
}