minor css refactor
added all the comments and fixed lint errors