Tightening up that style parser with a recursive render function.