GrumpySenpai (talk | contribs) (Apply a border to all article tables.) |
GrumpySenpai (talk | contribs) m (simple border around the infobox) |
||
Line 13: | Line 13: | ||
.article-table th + th { /*applies to the second and further consecutive headers*/ | .article-table th + th { /*applies to the second and further consecutive headers*/ | ||
border-left: solid 0.1em; | border-left: solid 0.1em; | ||
} | |||
.portable-infobox { | |||
border: solid 0.1em; | |||
} | } |
Revision as of 06:32, 1 December 2021
/* CSS placed here will be applied to all skins */ .article-table{ /*Tables that are embedded into the articles*/ border-collapse: collapse; /*have the borders around td sections actually touch*/ empty-cells: show; margin: 1em 1em 1em 0; /*give it some breathing room around the table but stay left justified*/ } .article-table td{ border-style: solid; border-width: 0.1em; } .article-table th + th { /*applies to the second and further consecutive headers*/ border-left: solid 0.1em; } .portable-infobox { border: solid 0.1em; }