adjust anchor styles for different contexts