Move header link styling out of documentation only

It's used in blog posts too. I also constrained it to just the anchor
class to avoid any other headers we have.