Added style to "index" and "detail" views.