News for hackers. Stuff that matters.
Re:Shell pipes and in-place insanity by dredmorbius on Saturday June 28, 2014 @06:57PM (#7959650)
NB: If you're going to use CSS styling for code examples, choose foreground and background colors, as well as text sizes, which are actually legible.

Monospace fonts, black on white, at default sizes, are your best bets.

Re:Shell pipes and in-place insanity by simoncion on Saturday June 28, 2014 @09:35PM (#7960068)
Counteranecdatum for the author: I find your choice of foreground and background colors, syntax highlighting colors, font style and size, and line length inside your code blocks to be quite legible and pleasant to read.

Please make these sorts of choices again in the future!

Re:Shell pipes and in-place insanity by LukeShu on Saturday June 28, 2014 @10:02PM (#7960123)
Um... I see almost-black Courier New on off-white, at 13px and a slightly increased line-height. That seems fine to me.
Re:Shell pipes and in-place insanity by dredmorbius on Sunday June 29, 2014 @01:34AM (#7960442)
The body text is approximately legible size, but low contrast.

The code examples are all but unreadable.

http://i.imgur.com/ogS9yat.png

Here's a quick improvement for legibility. I'm not claiming a thing of beauty.

http://i.imgur.com/mW880fB.png

My general style guidelines are included here:

https://news.ycombinator.com/item?id=6996064#up_6998399

Re:Shell pipes and in-place insanity by fakedrake on Sunday June 29, 2014 @11:31AM (#7961396)
I see your point about the larger fonts but I have used the sunburn theme for a while in my editor (not anymore thought in favor of slightly customized naquadah[1] ) and I feel quite a bit more comfortable reading code in familiar coloring. I chose this color scheme because sunburn dark is quite popular.

[1] http://rvfblog.wordpress.com/2011/03/07/using-naquadah-theme...

Re:Shell pipes and in-place insanity by dredmorbius on Sunday June 29, 2014 @06:12PM (#7962675)
I still find it very difficult to read. Even expanding the font size isn't sufficient.
Re:Shell pipes and in-place insanity by simoncion on Sunday June 29, 2014 @09:57PM (#7963307)
That's a pity.

Perhaps your color vision is now at the point where you should consider loading an accessibility stylesheet into your browser. I don't look forward to the day when I am required to do this, but I do know that it will inevitably arrive.

Re:Shell pipes and in-place insanity by dredmorbius on Sunday June 29, 2014 @10:56PM (#7963468)
I use Stylebot to modify sites' CSS.

1188 stylesheets and counting.

Re:Shell pipes and in-place insanity by LukeShu on Tuesday July 01, 2014 @08:08PM (#7974304)
Huh, this is what I see: https://i.imgur.com/fcNfpM3.png

It seems that some of the stylesheets are broken for HTTPS. Note that this is not https-everywhere breaking the site; simply switch the URL to https://, and you will see what I see.