pseudo classes nth-of-type and only-of-type