Jump to content

MediaWiki:Common.css: Difference between revisions

From Gangcraft Wiki
mNo edit summary
mNo edit summary
Line 39: Line 39:
/* make infoboxes wider */
/* make infoboxes wider */
:root {
:root {
     --pi-width = 278px !important;
     --pi-width: 278px !important;
}
}
/* center headers in infoboxes */
/* center headers in infoboxes */

Revision as of 14:12, 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;
}
/* center headers in infoboxes */
.pi-header {
    text-align: center;
}