MediaWiki:Common.css: Difference between revisions
m (add left_bar) |
mNo edit summary |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
body.page-Main_Page h1.firstHeading { display:none; } | body.page-Main_Page h1.firstHeading { | ||
display: none; | |||
} | |||
table.zebra tr:nth-child(2n) { background-color: #e1e1ea; } | table.zebra tr:nth-child(2n) { | ||
table.zebra_light tr:nth-child(2n-1) { background-color: #ededed; } | background-color: #e1e1ea; | ||
} | |||
table.zebra_light tr:nth-child(2n-1) { | |||
background-color: #ededed; | |||
} | |||
.wikitable th { | .wikitable th { | ||
text-align: center; | |||
font-weight: bold; | |||
} | } | ||
.wikitable tr { | .wikitable tr { | ||
text-align: center; | |||
} | } | ||
.wikitable_l th { | .wikitable_l th { | ||
text-align: left; | |||
font-weight: bold; | |||
} | } | ||
.wikitable_l tr { | .wikitable_l tr { | ||
text-align: left; | |||
} | } | ||
.wikitable_info th { | .wikitable_info th { | ||
text-align: left; | |||
font-weight: bold; | |||
} | } | ||
.wikitable_info tr { | .wikitable_info tr { | ||
text-align: left; | |||
} | } | ||
.wikitable_info { | .wikitable_info { | ||
width: 320px; | |||
border-collapse: collapse; | |||
border-spacing: 0; | |||
} | } | ||
.wikitable_info td { | .wikitable_info td { | ||
padding-left: 10px; | |||
} | } | ||
.img-responsive{ | .img-responsive { | ||
max-width: 100%; | |||
height: auto; | |||
} | } | ||
table.bottom_bar { | table.bottom_bar { | ||
width: 100%; | |||
font-size: 80%; | |||
text-align: center; | |||
} | } | ||
table.bottom_bar tr td:first-child { | table.bottom_bar tr td:first-child { | ||
font-weight: bold; | |||
} | } | ||
table.bottom_bar th { | table.bottom_bar th { | ||
font-weight: bold; | |||
} | |||
table.bottom_bar tr:nth-child(2n-1) { | |||
background-color: #ededed; | |||
} | } | ||
table.left_bar { | table.left_bar { | ||
max-width: 35%; | |||
font-size: 80%; | |||
text-align: center; | |||
float: left; | |||
margin-right: 25px; | |||
} | } | ||
table.left_bar tr td:first-child { | table.left_bar tr td:first-child { | ||
font-weight: bold; | |||
} | } | ||
table.left_bar th { | table.left_bar th { | ||
font-weight: bold; | |||
} | |||
table.left_bar tr:nth-child(2n-1) { | |||
background-color: #ededed; | |||
} | |||
/* sidebar */ | |||
/* forums */ | |||
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; | |||
} | |||
/* discord */ | |||
li#n-Discord { | |||
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: 1.5em; | |||
background-repeat: no-repeat; | |||
} | |||
li#n-Telegram a { | |||
margin-left: 23px; | |||
} | |||
/* irc */ | |||
li#n-IRC { | |||
background-image: url("https://bgforge.net/assets/logo/irc_short.svg"); | |||
background-size: 1.5em; | |||
background-repeat: no-repeat; | |||
} | |||
li#n-IRC a { | |||
margin-left: 23px; | |||
} | } | ||
/* end sidebar */ |
Latest revision as of 15:57, 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; } /* sidebar */ /* forums */ 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; } /* discord */ li#n-Discord { 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: 1.5em; background-repeat: no-repeat; } li#n-Telegram a { margin-left: 23px; } /* irc */ li#n-IRC { background-image: url("https://bgforge.net/assets/logo/irc_short.svg"); background-size: 1.5em; background-repeat: no-repeat; } li#n-IRC a { margin-left: 23px; } /* end sidebar */