Refactor main-info css style.