MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* === Taxobox base === */
.infobox.taxobox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
color: #202122;
float: right;
clear: right;
margin: 0.5em 0 1em 1em;
padding: 0.2em;
width: 22em;
font-size: 88%;
line-height: 1.5em;
box-sizing: border-box;
}
/* Title (species name at top) */
.infobox.taxobox caption {
background-color: #f2f2ce;
font-weight: bold;
font-size: 125%;
text-align: center;
padding: 0.4em 0.2em;
}
/* Cells */
.infobox.taxobox th,
.infobox.taxobox td {
padding: 0.2em 0.4em;
vertical-align: top;
}
/* Left labels like Kingdom, Phylum */
.infobox.taxobox th {
font-weight: normal;
text-align: left;
white-space: nowrap;
}
/* Data cells */
.infobox.taxobox td {
text-align: left;
}
/* Yellow section headers */
.infobox.taxobox .taxobox-header {
background-color: #f2f2ce;
border-top: 1px solid #a2a9b1;
border-bottom: 1px solid #a2a9b1;
font-weight: bold;
text-align: center;
padding: 0.3em 0.2em;
}
/* Binomial name emphasis */
.infobox.taxobox .taxobox-binomial {
font-style: italic;
font-weight: bold;
text-align: center;
}
/* Image */
.infobox.taxobox img {
max-width: 100%;
height: auto;
display: block;
margin: 0.2em auto;
}
/* Image caption */
.infobox.taxobox .infobox-caption {
font-size: 90%;
text-align: center;
padding: 0.2em;
}
/* Responsive */
@media screen and (max-width: 720px) {
.infobox.taxobox {
float: none;
margin: 0.5em auto;
width: auto;
}
}