adds styling to notices