Add a style rule for visited and hovered links