fomalize index
add line-through and move some class to attributes
move some classes to attributes and optimize some function
update styles