MediaWiki:Common.css: Difference between revisions
No edit summary |
(add wikitables) |
||
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; } | ||
/* CSS placed here will be applied to all skins */ | |||
table.zebra tr:nth-child(2n) { background-color: #e1e1ea; } | |||
table.zebra2 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; | |||
} |
Revision as of 20:41, 23 May 2017
/* CSS placed here will be applied to all skins */ body.page-Main_Page h1.firstHeading { display:none; } /* CSS placed here will be applied to all skins */ table.zebra tr:nth-child(2n) { background-color: #e1e1ea; } table.zebra2 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; }