chagrined: Marvel comics: zombie!Spider-Man, holding playing cards, saying "Brains?" (brains?)
KRIM ([personal profile] chagrined) wrote in [site community profile] dw_beta 2012-09-23 11:29 pm (UTC)

Re: Some other differences I noticed in the site comment scheme

ahhh yes it would do that. well there is a solution to that. :)

I should go and look at some of the themed S2 comment styles b/c I think they use similar classes and get this right. and I don't think it does it in as ugly a fashion as I'm about to suggest, haha, which is that you could use selectors to define the chain of child divs so that it would only effect the .header divs that were {a certain level of child} from their many-levels-parent

like

hmmm apparently it looks like there's also a slightly lower-level-div that has .comment-wrapper-even (or odd) which is ...the opposite of what is on the parent for .comment-depth??? bizarre. um but yes you could do something like,

.comment-wrapper-even > .comment > .inner > .header

using the > selector to specify a direct child rather than any descendent. and the same for .comment-wrapper-odd. not super attractive when written out but gets the job done?

PLUS: okay I went and looked at the themed S2 comment style I use, in any case, and it actually colors the whole comment so acts directly on either .comment-wrapper- or .comment-depth- and thus doesn't have to do this. but yes. I think this would work anyway, for how you're trying to make the comments look here, without adding additional classes. (although it may make sense to just add an additional class? .comment-header-even and .comment-header-odd?)

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org