adapt css style for navigation