refine the css architecture