adds styling to posts index