Jump to content

MediaWiki:Common.css: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 78: Line 78:
table.left_bar tr:nth-child(2n-1) {
table.left_bar tr:nth-child(2n-1) {
     background-color: #ededed;
     background-color: #ededed;
}
li#n-Discord {
    padding-bottom: 0;
}
#n-Discord span {
    font-size: 0; /* Remove space that text might occupy */
}
#n-Discord span::before {
    content: "";
    display: inline-block;
    visibility: visible;
    background-image: url("https://bgforge.net/assets/logo/discord_full.svg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 130px;
    height: 20px;
}
#mw-panel .portal .body li#n-Discord {
    font-size: 0em;
    padding-top: 5px;
}
li#n-Telegram {
    padding-top: 0;
    padding-bottom: 0;
}
#n-Telegram span {
    font-size: 0; /* Remove space that text might occupy */
}
#n-Telegram span::before {
    content: "";
    display: inline-block;
    visibility: visible;
    background-image: url("https://bgforge.net/assets/logo/telegram_full.svg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 130px;
    height: 20px;
}
#mw-panel .portal .body li#n-Telegram {
    font-size: 0em;
    padding-top: 5px;
}
}


Line 147: Line 103:
}
}


/* sidebar */
/* forums */
li#n-Forums {
li#n-Forums {
     background-image: url("https://bgforge.net/assets/logo/bgforge.svg");
     background-image: url("https://bgforge.net/assets/logo/bgforge.svg");
Line 155: Line 113:
     margin-left: 23px;
     margin-left: 23px;
}
}
 
/* discord */
li#n-BGforge {
li#n-Discord {
     background-image: url("https://bgforge.net/assets/logo/bgforge.svg");
     background-image: url("https://bgforge.net/assets/logo/discord.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
li#n-Discord a {
    margin-left: 23px;
}
/* telegram */
li#n-Telegram {
    background-image: url("https://bgforge.net/assets/logo/telegram.svg");
     background-size: contain;
     background-size: contain;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
}
}
li#n-BGforge a {
li#n-Telegram a {
     margin-left: 23px;
     margin-left: 23px;
}
}
/* end sidebar */