Refactors styles out of templates and into separate style sheet