MediaWiki:Gadget-Tables.css

/* */

/* Adds a horizontal scrollbar to tables wider than the viewport */ .zw-table-container { 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 with IDs are clickable as per Gadget-Tables.js */ tr[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); }