3 ms·
The problem comes from this: code { font-family: "Lucida Sans", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; } Which is simply
by demetris 14y ago
The problem comes from this:
code {
font-family: "Lucida Sans", Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
}
Which is simply a poorly made rule, regardless of browser and OS. If you don’t have any of the specified fonts, your browser will use its general default font, which is usually either “serif” or “sans-serif”.
- mikegirouard 14y agoI always try to have a simple "..., mono" suffix to my CODE and PRE rules for this reason alone. For BODY or HTML (whichever contains my global font-family rule) I finish off the list with "..., sans-serif". I've never had amazing luck w/typography outside of Mac/Win, but like you point out, its poor style to leave everyone else without even a base style to work with.
- evmar 14y agoYou are correct. I sent them a pull request for one of the other themes that has this problem but got no response. https://github.com/mattgraham/Midnight/pull/1 https://github.com/mattgraham/Midnight/pull/1