GrumpySenpai (talk | contribs) |
GrumpySenpai (talk | contribs) m |
||
Line 6: | Line 6: | ||
empty-cells: show; | empty-cells: show; | ||
margin: 1em 1em 1em 0; /*give it some breathing room around the table but stay left justified*/ | margin: 1em 1em 1em 0; /*give it some breathing room around the table but stay left justified*/ | ||
overflow-x: scroll; /*on mobile devices, have the tables scroll independently of the main body content*/ | |||
} | } | ||
.article-table td, .article-table th{ | .article-table td, .article-table th{ |
Revision as of 06:43, 6 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*/ overflow-x: scroll; /*on mobile devices, have the tables scroll independently of the main body content*/ } .article-table td, .article-table th{ border-style: solid; border-width: 0.1em; } .article-short-table th, .article-short-table td{ /*there are tables for resistances and character stats that are only two rows and looks silly with horizontal borders*/ border-top: none; border-bottom: none; } .portable-infobox { border: solid 0.1em; }