update header pattern and fix link colors