Move CSS style to classes