move style out of template and into css