adds styling to alerts and flashes