Added conditional styling to index