improve css parsing rules with tinycss

more accurately parsing css