Jump to content

MediaWiki:Common.css: Difference between revisions

From Gangcraft Wiki
mNo edit summary
m Add flag emoticon support, fix general emoticon
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* chatboxes */
.chat-message-box {
.chat-message-box {
     background-color: light-dark(#f5f5f5, #242424);
     background-color: light-dark(#f5f5f5, #242424);
Line 7: Line 8:
}
}
.chat-info {
.chat-info {
     color: #363636;
     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');
}
}

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');
}