optimizing css and html without making major style changes