4 ms·
This, like other github themes, has bad CSS that makes the monospaced text come out as serif on Linux. I know the github crew uses Macs but it makes me a littl
by evmar 14y ago
This, like other github themes, has bad CSS that makes the monospaced text come out as serif on Linux. I know the github crew uses Macs but it makes me a little sad to see they don't test on the system that spawned their namesake. :(
- jfoucher 14y agoLooks ok on Ubuntu: http://cl.ly/Ge6g http://cl.ly/Ge6g
- taitems 14y agoThe hash links for headings aren't working either. The page doesn't budge.
- dekz 14y agoThat seems to be because the headers don't have their attached anchor links. Not a linux only issue.
- nooooooo 14y agoThe font-family for the monospaced text is "monospace, serif". Any decent Linux system and/or browser would define "monospace" appropriately. Sounds like the problem's on your end.
- readme 14y agoUsing Linux Mint here and it looks fine. Maybe you should install some fonts.
- demetris 14y agoThe 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