extract an inline style into the stylesheet