CSS loader/URL rewrites fixed for relative web & resource paths

Just fixed the CSS loader/URL rewrites; sorry for any inconsistencies with the style (first contribution in a while to another's repo).