From http://verboselogging.com/2010/01/17/making-nth-child-work-everywhere?utm_source=buffer&utm_campaign=Buffer&utm_content=buffer554eb&utm_medium=twitter