Modify css to support web and mobile layout