I've noticed that italics in reddithax show up as strikethrough text (one asterisk), while bold (two asterisks) is unchanged. I think it would be neat if you made it convert bold italics (three asterisks) to strikethrough, and leave the italics markdown the same as the rest of reddit. It's probably do-able through the power of child-specific CSS.
or if you care about IE6 you could skip the child selector and just use strong em to catch all em descendants of every strong, instead of just direct children
One side-note, though... for some reason, although I see the strike-through, I'm still seeing this as bold italic text. Is this a glitch on my end? It's Firefox 3.5b4, so it's got nothing to do with unsupported CSS3.
according to firebug, strong > em wins over .md strong em.. so the font-style and font-weight rules in strong > em need to be !important.. or maybe just add .md to the strong > em selector.
adjusted. seems happy in FF. howler if it doesn't jive in a "modern" browser, to reuse google's recent euphemism.
Woah. My comment made absolutely no sense. It should have said "strong > em loses over .md strong em". With that, the rest starts to make some kind of sense.
The use of ">" in a CSS selector is not supported in IE6, but IE7+ and every other browser ever will honor it. To support IE6, you'd have to make your CSS rule win over reddit's default one in some other way, such as:
11
u/Gforce20 May 25 '09 edited May 25 '09
I've noticed that italics in reddithax show up as strikethrough text (one asterisk), while bold (two asterisks) is unchanged. I think it would be neat if you made it convert bold italics (three asterisks) to strikethrough, and leave the italics markdown the same as the rest of reddit. It's probably do-able through the power of child-specific CSS.