modify the style of index