[enh] split css into parts
[enh] use new css in template