Give styles to different node types.