Use function to generate css file path in base.