move style to stylesheet