changes styles in list items