refactor some css and html, more conversion to less