Jump to content

MediaWiki:Common.css: Difference between revisions

m
no edit summary
m (format)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 80: Line 80:
}
}


li#n-Discord {
/* sidebar */
     padding-bottom: 0;
/* forums */
li#n-Forums {
     background-image: url("https://bgforge.net/assets/logo/bgforge.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
}
#n-Discord span {
li#n-Forums a {
     font-size: 0; /* Remove space that text might occupy */
     margin-left: 23px;
}
}
#n-Discord span::before {
/* discord */
    content: "";
li#n-Discord {
    display: inline-block;
     background-image: url("https://bgforge.net/assets/logo/discord.svg");
    visibility: visible;
    background-size: contain;
     background-image: url("https://bgforge.net/assets/logo/discord_full.svg");
     background-repeat: no-repeat;
     background-repeat: no-repeat;
    background-size: auto 100%;
    width: 130px;
    height: 20px;
}
}
#mw-panel .portal .body li#n-Discord {
li#n-Discord a {
     font-size: 0em;
     margin-left: 23px;
    padding-top: 5px;
}
}
 
/* telegram */
li#n-Telegram {
li#n-Telegram {
    padding-top: 0;
     background-image: url("https://bgforge.net/assets/logo/telegram.svg");
    padding-bottom: 0;
    background-size: 1.5em;
}
#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-repeat: no-repeat;
    background-size: auto 100%;
    width: 130px;
    height: 20px;
}
}
 
li#n-Telegram a {
#mw-panel .portal .body li#n-Telegram {
     margin-left: 23px;
     font-size: 0em;
    padding-top: 5px;
}
}
 
/* irc */
li#n-IRC {
li#n-IRC {
    padding-top: 0;
     background-image: url("https://bgforge.net/assets/logo/irc_short.svg");
}
     background-size: 1.5em;
#n-IRC span {
    font-size: 0; /* Remove space that text might occupy */
}
#n-IRC span::before {
    content: "";
    display: inline-block;
    visibility: visible;
    background-image: url("https://bgforge.net/assets/logo/irc.svg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 130px;
    height: 20px;
}
 
#mw-panel .portal .body li#n-irc {
    font-size: 0em;
    padding-top: 5px;
    padding-bottom: 5px;
}
 
li#n-Forums {
     background-image: url("https://bgforge.net/assets/logo/bgforge.svg");
     background-size: contain;
    background-repeat: no-repeat;
}
li#n-Forums a {
    margin-left: 23px;
}
 
li#n-BGforge {
    background-image: url("https://bgforge.net/assets/logo/bgforge.svg");
    background-size: contain;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
}
}
li#n-BGforge a {
li#n-IRC a {
     margin-left: 23px;
     margin-left: 23px;
}
}
/* end sidebar */