refactor css, add comments