move style inside template