Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

mod.css messes with b tag #37

Open
dotandimet opened this Issue · 1 comment

2 participants

@dotandimet

The "b" tag is used in mod.css for the edges and corners of box frames, because it is considered a short, non-semantic tag. However, it is a very familiar and therefore common tag, and occurs in a lot of markup in the wild. When trying to wrap existing HTML in a module-based skin, text which should be bold vanishes, because the declaration on line 13 of mod.css (display: block and font-size: 1% etc) is applied unconditionally.

Maybe a possible fix could be to make the scope more specific, for example
.mod > b, .mod > b > b { .... }
instead of b { ... }

@neonstalwart

to work in browsers where the child selector is not supported (where these elements are most needed) it would need to be something more like:
b.top, b.top b, b.bottom, b.bottom b { ... }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.