MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
(boxes use background colors plus transparent textures; removed the color classes; removed legacy ambox) |
(new infobox rules; temporary names for smooth transition) |
||
Line 22: | Line 22: | ||
.infobox .title { text-align: center; } | .infobox .title { text-align: center; } | ||
.infobox th, .infobox td { border: 1px solid #5a7db5; } | .infobox th, .infobox td { border: 1px solid #5a7db5; } | ||
.newinfobox table { margin: 0px; border: 1px solid #5a7db5; border-collapse: collapse; width: 100%; height: 100%; font-size: .95em; } | |||
.newinfobox th, .infobox td { border: 1px solid #5a7db5; padding: 0px; } | |||
.multicell { display: table; width: 100%; height: 100%; } | |||
.subcell { display: table-cell; border-right: 1px solid #5a7db5; vertical-align: middle; padding: 1px; } | |||
.infobox-hostile, .infobox-hostile .title, .infobox-hostile th, .infobox-hostile td, .infobox-hostile .subcell { border-color: red; } | |||
.infobox-hostile .title, .infobox-hostile .header, .infobox-hostile .label { background-color: #ff4444; } | |||
.infobox-dungeon, .infobox-dungeon .title, .infobox-dungeon th, .infobox-dungeon td, .infobox-dungeon .subcell { border-color: black; } | |||
.infobox-dungeon .title, .infobox-dungeon .header, .infobox-dungeon .label { background-color: #333333; } | |||
.infobox-dungeon .title, .infobox-dungeon .header { color: white; } | |||
.infobox-location, .infobox-location .title, .infobox-location th, .infobox-location td, .infobox-location .subcell { border-color: brown; } | |||
.infobox-location .title, .infobox-location .header, .infobox-location .label { background-color: #995533; } | |||
.infobox-location .title, .infobox-location .header { color: #d5f1e5; } | |||
.infobox-character, .infobox-character .title, .infobox-character th, .infobox-character td, .infobox-character .subcell { border-color: green; } | |||
.infobox-character .title, .infobox-character .header, .infobox-character .label { background-color: #00cc00; } | |||
.infobox-item, .infobox-item .title, .infobox-item th, .infobox-item td, .infobox-item .subcell { border-color: orange; } | |||
.infobox-item .title, .infobox-item .header, .infobox-item .label { background-color: #ff9933; } | |||
.infobox-knowledge, .infobox-knowledge .title, .infobox-knowledge th, .infobox-knowledge td, .infobox-knowledge .subcell { border-color: purple; } | |||
.infobox-knowledge .title, .infobox-knowledge .header, .infobox-knowledge .label { background-color: #cc33ee; } | |||
.infobox-nondiegetic, .infobox-nondiegetic .title, .infobox-nondiegetic th, .infobox-nondiegetic td, .infobox-nondiegetic .subcell { border-color: gray; } | |||
.infobox-nondiegetic .title, .infobox-nondiegetic .header, .infobox-nondiegetic .label { background-color: #cccccc; } | |||
/* Navbox */ | /* Navbox */ |