prefected the css building. Supports encoding images, resoves url include paths for things like fonts and other inluded css