beautify css for slice index and show