Jump to content

Template:Import-stickytable/styles.css

From mediawiki.org
/* If table has no thead, assume first row of tbody */
.tpl-stickytable thead tr:first-child,
.tpl-stickytable tbody:first-child tr:first-child {
  position: sticky;
  top: 0;
}

/* Don't collide with Timeless' sticky header */
body.skin-timeless .content-table-wrapper:not(.overflowed) .tpl-stickytable thead tr:first-child,
body.skin-timeless .content-table-wrapper:not(.overflowed) .tpl-stickytable tbody:first-child tr:first-child {
	top: 3.125rem;
}

.tpl-stickytable-group td {
  border-top: 3px solid #a2a9b1;
}