add a css file for custom css. refactor a bit to remove some duplicated styling