adapt css styles