Template:Sticky header/styles.css
.sticky { position: sticky; top: 0; } body.vector-sticky-header-visible .sticky { top: 3.125rem; } .sticky-header > thead { position: sticky; top: 0; } body.vector-sticky-header-visible .sticky-header > thead { top: 3.125rem; }