Hacker News new | past | comments | ask | show | jobs | submit login

Well, there are several problems.

First, to address your point. Paper is not pure white, and ink is not pure black. Books are also not backlit. If you want to recreate the experience of reading a book, use a slightly off-white color and a dark colored ink (for example, a very dark blue or brown).

Second, most everything on the page is way too cramped.

Third, you need to constrain text width. It's a lot of work to scan 1000 pixels for each line.

I made some quick changes in CSS to address the basic readability problems, and uploaded a screenshot:

http://new.tinygrab.com/d5ac58cc253b078fa42a97b3c35417d28563...

(I was playing around with the links before I decided I was getting too far into the weeds, but the links in #content should have the underline. The links on the side shouldn't.)

CSS changes:

    html {
      background-color: #FCFCFC;
    }
    
    html, a {
      color: #303C3C;
    }
    
    blockquote {
      font-style: italic;
    }
    
    #header {
      margin-top: 50px;
      margin-bottom: 30px;
    }
    
    #sidebar {
      width: 150px;
      margin-right: 50px;
    }
    
    #content {
      width: 550px;
      margin-left: 200px;
      padding-left: 0;
      line-height: 150%;
    }
    
    #TOC {
      width: 200px;
      margin-right: -235px;
    }
    
    #TOC li {
      margin-top: 0;
    }



> Third, you need to constrain text width. It's a lot of work to scan 1000 pixels for each line.

It's funny you criticize that, because it's one of the only parts of my site design that I actually have A/B tested: http://www.gwern.net/a-b-testing#max-width The smaller widths did not do well.

> Books are also not backlit. If you want to recreate the experience of reading a book, use a slightly off-white color and a dark colored ink (for example, a very dark blue or brown).

Hm, this sounds plausible.

    html {
      background-color: #FCFCFC;
    }
    
    html, a {
      color: #303C3C;
    }
Done.

    blockquote {
      font-style: italic;
    }
No; I use blockquotes too much and they're too long to make them italics. The background shading seems like enough for now.

    #header {
      margin-top: 50px;
      margin-bottom: 30px;
    }
I'll try it.

    #content {
      width: 550px;
      margin-left: 200px;
      padding-left: 0;
      line-height: 150%;
    }
Duly stolen. And the TOC changes look like an improvement too.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: