Move inline styles to style block