MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
m Add flag emoticon support, fix general emoticon |
||
(6 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
} | } | ||
/* | /* 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; | |||
} | |||
/* gangcraft emoticons */ | |||
.gc-emoticon { | |||
display: inline-block; | display: inline-block; | ||
width: 1em; | width: 1em; | ||
height: 1em; | height: 1em; | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
.gc-flag { | |||
. | |||
display: inline-block; | display: inline-block; | ||
width: | width: 2em; | ||
height: 1em; | height: 1em; | ||
background-size: cover; | background-size: cover; | ||
vertical-align: middle; | vertical-align: middle; | ||
} | } | ||
.gce-overworld { | |||
. | background-image: url('/images/6/65/Overworld-emoticon.png'); | ||
} | |||
.gce-nether { | |||
background-image: url('/images/6/6c/Nether-emoticon.png'); | |||
} | |||
.gce-end { | |||
background-image: url('/images/2/20/End-emoticon.png'); | background-image: url('/images/2/20/End-emoticon.png'); | ||
} | } | ||
.gce-gb { | |||
/ | background-image: url('/images/0/0c/Gb_flag_emoticon.png'); | ||
. | } | ||
.gce-eitc { | |||
background-image: url('/images/9/92/Eitc_flag_emoticon.png'); | |||
} | |||
.gce-icv { | |||
background-image: url('/images/8/82/Iceveil_flag_emoticon.png'); | |||
} | |||
.gce-utsd { | |||
background-image: url('/images/c/cc/Utsd_flag_emoticon.png'); | |||
} | } |
Latest revision as of 23:31, 11 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); } /* 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; } /* gangcraft emoticons */ .gc-emoticon { display: inline-block; width: 1em; height: 1em; background-size: cover; vertical-align: middle; } .gc-flag { display: inline-block; width: 2em; height: 1em; background-size: cover; vertical-align: middle; } .gce-overworld { background-image: url('/images/6/65/Overworld-emoticon.png'); } .gce-nether { background-image: url('/images/6/6c/Nether-emoticon.png'); } .gce-end { background-image: url('/images/2/20/End-emoticon.png'); } .gce-gb { background-image: url('/images/0/0c/Gb_flag_emoticon.png'); } .gce-eitc { background-image: url('/images/9/92/Eitc_flag_emoticon.png'); } .gce-icv { background-image: url('/images/8/82/Iceveil_flag_emoticon.png'); } .gce-utsd { background-image: url('/images/c/cc/Utsd_flag_emoticon.png'); }