clean up css; update links in primary html template