separated out the styles used in the body of nodes to a partial