MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 39: | Line 39: | ||
border-color: #FFB628; | border-color: #FFB628; | ||
} | } | ||
.infobox# | .infobox#item > tbody > tr:first-child { | ||
background: #008408; | background: #008408; | ||
} | } | ||
.infobox# | .infobox#item > tbody > tr:nth-child(2n+3) { | ||
background: #E6E6E6; | background: #E6E6E6; | ||
} | } |
Revision as of 01:07, 3 June 2024
/* CSS placed here will be applied to all skins */ /* Infobox borders */ .infobox, .infobox td, .infobox tr, .infobox th { border-collapse: collapse; border: 1px solid; } /* Infobox templates */ .infobox { float: right; clear: right; margin: 0 0 1em 1.15em; } .infobox + .infobox, .infobox + style + .infobox { clear: none; } .infobox, .infobox-wide { font-size: 88%; } .infobox tr { vertical-align: top; } .infobox td, .infobox th, .infobox-wide td, .infobox-wide th { padding: 2px; } .infobox .infobox-image img { width: 300px; height: auto; } .infobox#item { background: #DEDEDE; border-color: #FFB628; } .infobox#item > tbody > tr:first-child { background: #008408; } .infobox#item > tbody > tr:nth-child(2n+3) { background: #E6E6E6; } .infobox#character { background: #DEDEDE; border-color: #FFB628; } .infobox#character > tbody > tr:first-child { background: #30A2D6; } .infobox#character > tbody > tr:nth-child(2n+3) { background: #E6E6E6; } body { background-image: url(https://chibi-robo.wiki/w/images/b/b5/Site-background-light); }