v2: standardise css code layout