MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: →Infobox code shamelessly stolen from thenintendowiki.org.: .infobox { background-color:#fff; border:1px solid gray; float:right; font-size:88%; width:300px; margin:0 0 1em 1.15em; padding:4px } .infobox tr { vertical-align:top } .infobox td, .infobox th { padding:2px } .infobox .mw-collapsible-toggle { min-width:39px; text-align:right } .infobox.bordered { border-collapse:collapse } .infobox.bordered td,..." |
m 1 revision imported |
(No difference)
|
Revision as of 09:10, 5 December 2024
/* CSS placed here will be applied to all skins */
/*Infobox code shamelessly stolen from thenintendowiki.org.*/
.infobox {
background-color:#fff;
border:1px solid gray;
float:right;
font-size:88%;
width:300px;
margin:0 0 1em 1.15em;
padding:4px
}
.infobox tr {
vertical-align:top
}
.infobox td,
.infobox th {
padding:2px
}
.infobox .mw-collapsible-toggle {
min-width:39px;
text-align:right
}
.infobox.bordered {
border-collapse:collapse
}
.infobox.bordered td,
.infobox.bordered th {
border:1px solid #AAA
}
.infobox.bordered.black td,
.infobox.bordered.black th {
border:1px solid #000
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border:0
}
.infobox {
color:#000
}
.infobox.red {
border:1px solid #F98686;
background:#FFF5EE
}
.infobox.red > tbody > tr:first-child > * {
background:#FAAAAA
}
.infobox.red > tbody > tr:nth-child(2n+3) {
background:#FFE4E1
}
.infobox.blue {
border:1px solid #88A;
background:#F8F8FF
}
.infobox.blue > tbody > tr:first-child > * {
background:#10274C;
color:#fff
}
.infobox.blue > tbody > tr:nth-child(2n+3) {
background:#C5CED6
}
.infobox.green {
border:1px solid #88AA88;
background:#F8FFF7
}
.infobox.green > tbody > tr:first-child > * {
background:#8AFA8A
}
.infobox.green > tbody > tr:nth-child(2n+3) {
background:#AAFFAA
}
.infobox.lightblue {
border:1px solid #00004C;
background:#F0F8FF
}
.infobox.lightblue > tbody > tr:first-child > * {
background:#5993E5
}
.infobox.lightblue > tbody > tr:nth-child(2n+3) {
background:#BDD4F5
}
.infobox.orange {
border:1px solid #FF5300;
background:#FFF7EE
}
.infobox.orange > tbody > tr:first-child > * {
background:#FF8A4A
}
.infobox.orange > tbody > tr:nth-child(2n+3) {
background:#FF9C77
}
.infobox.gray {
border:1px solid #000;
background:#F5F5F5
}
.infobox.gray > tbody > tr:first-child > * {
background:#D3D3D3
}
.infobox.gray > tbody > tr:nth-child(2n+3) {
background:#DCDCDC
}
.infobox.series > tbody > tr:nth-child(2n+3) {
background:#C4C3D0
}
.infobox.dklevel > tbody > tr > td:first-of-type {
width:45%
}