moved index styling from inline to css