delete white space in css and consadate some styles