fixed css style paths, and added templating styles