MediaWiki:Common.css: Difference between revisions
Appearance
mNo edit summary |
m Fix image width in infoboxes |
||
Line 40: | Line 40: | ||
:root { | :root { | ||
--pi-width: 278px !important; | --pi-width: 278px !important; | ||
} | |||
.pi-image-thumbnail { | |||
width: var(--pi-width) !important; | |||
} | } | ||
/* center headers in infoboxes */ | /* center headers in infoboxes */ |
Revision as of 14:18, 10 April 2025
/* chatboxes */ .chat-message-box { background-color: light-dark(#f5f5f5, #242424); padding-left:2px; } .player-name { color: #5555FF; } .chat-info { color: light-dark(#363636, #dbdbdb); } /* coordinate world icons */ .overworld-icon { display: inline-block; width: 1em; height: 1em; background-image: url('/images/6/65/Overworld-emoticon.png'); background-size: cover; vertical-align: middle; } .nether-icon { display: inline-block; width: 1em; height: 1em; background-image: url('/images/6/6c/Nether-emoticon.png'); background-size: cover; vertical-align: middle; } .end-icon { display: inline-block; width: 1em; height: 1em; background-image: url('/images/2/20/End-emoticon.png'); background-size: cover; vertical-align: middle; } /* make infoboxes wider */ :root { --pi-width: 278px !important; } .pi-image-thumbnail { width: var(--pi-width) !important; } /* center headers in infoboxes */ .pi-header { text-align: center; }