跳转到内容

模板:Import-stickytable/styles.css

来自天灾之下:危险连接资料站
wiki>Krinkle2024年9月19日 (四) 00:46的版本 (Remove vector 22 hack because 1) it pushes down even when logged-out, or not scrolled down, and in other cases where vector22 doesn't show a sticky header, and 2) even when there is a sticky header, this hack doesn't work anymore, it still scrolls past it, it seems it's not allowed to be sticky)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/* 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;
}