MediaWiki:Common.css: Difference between revisions
mNo edit summary |
m (format) |
||
Line 80: | Line 80: | ||
} | } | ||
li#n- | li#n-Discord { | ||
padding-bottom: 0; | padding-bottom: 0; | ||
} | } | ||
#n- | #n-Discord span { | ||
font-size: 0; /* Remove space that text might occupy */ | font-size: 0; /* Remove space that text might occupy */ | ||
} | } | ||
#n- | #n-Discord span::before { | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
Line 96: | Line 96: | ||
height: 20px; | height: 20px; | ||
} | } | ||
#mw-panel .portal .body li#n- | #mw-panel .portal .body li#n-Discord { | ||
font-size: 0em; | font-size: 0em; | ||
padding-top: 5px; | padding-top: 5px; | ||
} | } | ||
li#n- | li#n-Telegram { | ||
padding-top: 0; | padding-top: 0; | ||
padding-bottom: 0; | padding-bottom: 0; | ||
} | } | ||
#n- | #n-Telegram span { | ||
font-size: 0; /* Remove space that text might occupy */ | font-size: 0; /* Remove space that text might occupy */ | ||
} | } | ||
#n- | #n-Telegram span::before { | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
Line 119: | Line 119: | ||
} | } | ||
#mw-panel .portal .body li#n- | #mw-panel .portal .body li#n-Telegram { | ||
font-size: 0em; | font-size: 0em; | ||
padding-top: 5px; | padding-top: 5px; | ||
} | } | ||
li#n- | li#n-IRC { | ||
padding-top: 0; | padding-top: 0; | ||
} | } | ||
#n- | #n-IRC span { | ||
font-size: 0; /* Remove space that text might occupy */ | font-size: 0; /* Remove space that text might occupy */ | ||
} | } | ||
#n- | #n-IRC span::before { | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; |
Revision as of 15:03, 29 August 2023
/* CSS placed here will be applied to all skins */ body.page-Main_Page h1.firstHeading { display: none; } table.zebra tr:nth-child(2n) { background-color: #e1e1ea; } table.zebra_light tr:nth-child(2n-1) { background-color: #ededed; } .wikitable th { text-align: center; font-weight: bold; } .wikitable tr { text-align: center; } .wikitable_l th { text-align: left; font-weight: bold; } .wikitable_l tr { text-align: left; } .wikitable_info th { text-align: left; font-weight: bold; } .wikitable_info tr { text-align: left; } .wikitable_info { width: 320px; border-collapse: collapse; border-spacing: 0; } .wikitable_info td { padding-left: 10px; } .img-responsive { max-width: 100%; height: auto; } table.bottom_bar { width: 100%; font-size: 80%; text-align: center; } table.bottom_bar tr td:first-child { font-weight: bold; } table.bottom_bar th { font-weight: bold; } table.bottom_bar tr:nth-child(2n-1) { background-color: #ededed; } table.left_bar { max-width: 35%; font-size: 80%; text-align: center; float: left; margin-right: 25px; } table.left_bar tr td:first-child { font-weight: bold; } table.left_bar th { font-weight: bold; } table.left_bar tr:nth-child(2n-1) { 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; } li#n-IRC { padding-top: 0; } #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; } li#n-BGforge a { margin-left: 23px; }