MediaWiki:Common.css: Difference between revisions
(.) |
m (style sidebar) |
||
Line 71: | Line 71: | ||
} | } | ||
table.left_bar tr:nth-child(2n-1) { background-color: #ededed; } | table.left_bar tr:nth-child(2n-1) { background-color: #ededed; } | ||
#n-discord:hover ::after, #n-discord ::after { | |||
content: ''; | |||
display: inline-block; | |||
width: 130px; | |||
height: 20px; | |||
background: url('https://bgforge.net/assets/logo/discord_full.svg'); | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
} | |||
#mw-panel .portal .body li#n-discord { | |||
font-size: 0em; | |||
padding-top: 5px; | |||
} | |||
#n-telegram:hover ::after, #n-telegram ::after { | |||
content: ''; | |||
display: inline-block; | |||
width: 130px; | |||
height: 20px; | |||
background: url('https://bgforge.net/assets/logo/telegram_full.svg'); | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
} | |||
#mw-panel .portal .body li#n-telegram { | |||
font-size: 0em; | |||
padding-top: 5px; | |||
} | |||
#n-irc:hover ::after, #n-irc ::after { | |||
content: ''; | |||
display: inline-block; | |||
width: 130px; | |||
height: 20px; | |||
background: url('https://bgforge.net/assets/logo/irc.svg'); | |||
background-repeat: no-repeat; | |||
background-size: contain; | |||
} | |||
#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; | |||
} |
Revision as of 18:28, 6 March 2020
/* 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; } #n-discord:hover ::after, #n-discord ::after { content: ''; display: inline-block; width: 130px; height: 20px; background: url('https://bgforge.net/assets/logo/discord_full.svg'); background-repeat: no-repeat; background-size: contain; } #mw-panel .portal .body li#n-discord { font-size: 0em; padding-top: 5px; } #n-telegram:hover ::after, #n-telegram ::after { content: ''; display: inline-block; width: 130px; height: 20px; background: url('https://bgforge.net/assets/logo/telegram_full.svg'); background-repeat: no-repeat; background-size: contain; } #mw-panel .portal .body li#n-telegram { font-size: 0em; padding-top: 5px; } #n-irc:hover ::after, #n-irc ::after { content: ''; display: inline-block; width: 130px; height: 20px; background: url('https://bgforge.net/assets/logo/irc.svg'); background-repeat: no-repeat; background-size: contain; } #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; }