Jump to content

MediaWiki:Common.css: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 72: Line 72:
table.left_bar tr:nth-child(2n-1) { background-color: #ededed; }
table.left_bar tr:nth-child(2n-1) { background-color: #ededed; }


 
#n-discord span {
#n-discord:hover ::after, #n-discord ::after {
    font-size: 0; /* Remove space that text might occupy */
  content: '';
}
  display: inline-block;
#n-discord span::before {
  width: 130px;
    content: "";
  height: 20px;
    display: inline-block;
  background: url('https://bgforge.net/assets/logo/discord_full.svg');
    visibility: visible;
  background-repeat: no-repeat;
    background-image: url('https://bgforge.net/assets/logo/discord_full.svg');
  background-size: contain;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 130px;
    height: 20px;
}
}
#mw-panel .portal .body li#n-discord {
#mw-panel .portal .body li#n-discord {