Okay, so, I started work on this, and there's (already!) an interesting issue... Right from the start, really. (Although I did manage to get MessageIndex to behave... :))
Topic pages!
HTML is like this:
<post>
<separator>
<post>
<separator>
<...>
So, if I'm styling <post>'s background, it'll always respond to :nth-child(odd), because :nth-child(even) would hit the <separator>.
It strikes me as a bug or something, because .postbg:nth-child(even) should hit every other .postbg elemnt, and certainly NOT "every other element, provided it has the .postbg class on it"...
I'm just sayin'. Work in progress, everythin'.
Posted: August 22nd, 2013, 05:49 PM
Oh... Crap! Got it.
What we're looking for is not :nth-child(even), it's :nth-of-type(even)...
Found explanation here:
http://css-tricks.com/the-difference-between-nth-child-and-nth-of-type/
Silly me...