move styling to index