MediaWiki:Gadget-Tables.css

/* */

/* Adds a horizontal scrollbar to tables wider than the viewport */ .responsive-table { overflow-x: auto; }

/* Highlight hovered table row */ .wikitable td { transition: var(--zw-duration-300); } .wikitable:not(:has([rowspan])) tr:hover { background-color: var(--zw-background-highlight); }

/* Indicate that rows containing IDs are clickable as per Gadget-Tables.js */ tr[id], tr:has([id]) { cursor: pointer; }

/* Alternating row colors for large tables */ .altrow tr:nth-child(even) { background: var(--zw-background-page); } .altrow tr:nth-child(odd) { background: var(--zw-background-alt); }