Lurker News

Comments (93) 42 threads

Show all comments

Showing thread 21 of 42

cabalamat1 reply#
In general this is pretty good. One mistake that it doesn't make is to use low contrast for everything.

However, the code examples don't look very nice on my box due to the font which comes out as Nimbus Mono L. How about you link to an actual font? (I like Ubuntu Mono, though there are lots of other good programming fonts).
Also with respect to code samples, would black text on a white background be a possibuility?

kelnage1 reply#
On the font issue: you're effectively saying "I don't like the default monospace font my browser is configured to use, please change your website to fix this" (since Nimbus Mono isn't in their CSS font family list). I feel you as a user have some responsibility in that case.
cabalamat1 reply#
> you're effectively saying "I don't like the default monospace font my browser is configured to use, please change your website to fix this"

No, that's not true. I have just changed the monospace font on Firefox to Ubuntu Mono, and it is still showing as Nimbus Mono. This is the website doing this -- for example the change is reflected fine in HN.
> I feel you as a user have some responsibility in that case.
These days when I build websites I normally specify specific web fonts so that I know it won't default to something not good.

kelnage1 reply#
The website's CSS uses the following fonts for code blocks:

> "Inconsolata", "Source Code Pro", "Consolas", "Monaco", "Courier", monospace
So either it is using one of those fonts (Courier and Nimbus Mono L are similar I guess), the site is serving you special CSS that I'm not getting (and I've tested it on Linux and Windows), or Firefox has done some weird font aliasing and one of the above is being treated as Nimbus Mono L.

Continue this thread — 1 reply