template: refine css to suit mobile