Background appearing behind links on scroll

I’d like to reproduce how the background appears behind the navbar of this theme with some sticky links on top of a page