Use relative URLs in CSS, so images are loaded when --basepath is set