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 |
||
| 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-spacing: 0; | |||
} | } | ||
/* Top scientific name bar */ | |||
.infobox-title { | .infobox-title { | ||
background: #f2f2ce; | background: #f2f2ce; | ||
font-size: | font-size: 110%; | ||
font-weight: bold; | |||
text-align: center; | text-align: center; | ||
padding: | padding: 4px 2px; | ||
} | } | ||
/* Section headers */ | |||
.infobox-header { | .infobox-header { | ||
background: #e6e6cc; | background: #e6e6cc; | ||
font-weight: bold; | |||
text-align: center; | text-align: center; | ||
padding: 3px 2px; | |||
font-size: 95%; | |||
} | } | ||
/* Table cells */ | |||
.infobox td { | .infobox td { | ||
padding: 4px 6px; | padding: 4px 6px; | ||
| Line 29: | Line 36: | ||
} | } | ||
/* Narrow label column */ | |||
.infobox td:first-child { | |||
width: 40%; | |||
font-weight: normal; | |||
} | |||
/* Value column */ | |||
.infobox td:last-child { | |||
width: 60%; | |||
} | |||
/* Image area */ | |||
.infobox-image { | .infobox-image { | ||
text-align: center; | text-align: center; | ||
background: #fff; | background: #fff; | ||
padding: 2px; | |||
} | } | ||
/* Image caption */ | |||
.infobox-caption { | .infobox-caption { | ||
font-size: 90%; | font-size: 90%; | ||
line-height: 1.2; | |||
} | } | ||
/* Binomial section */ | |||
.infobox-binomial { | .infobox-binomial { | ||
text-align: center; | text-align: center; | ||
| Line 43: | Line 66: | ||
} | } | ||
/* Authority text */ | |||
.infobox-authority { | .infobox-authority { | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
Revision as of 17:35, 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%;
}