So, I'm halfway through making a theme.
I've got to a point where I'm adding the sidebar bits to the theme. What I want is a number of seperated tabs vertically for each "main heading" in the sidebar. i.e. one for Pages, Categories, Links - whatever.
Have a diagram
Now, how do I reference just the first level of LI tags in CSS? Or the H2 in each LI, and then the UL beneath it. I don't want it to cascade through the elements within it. I want the first H2 to be orange, but I can't reference to that without affecting subordinate H2's (for example Link Categories in the Links tab).
I could change the markup to make it easier (add some classes to the LI's I have control over) but I'd rather not. Is there a better solution?