template: refine css for padding