Restyle the links in the document