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-bg-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-bg-page); } .altrow tr:nth-child(odd) { background: var(--zw-bg-alt); }