Adds styling to directory pages