Adds style to the index view.