News for hackers. Stuff that matters.
Re:The Node Beginner Book by thenduks on Tuesday April 19, 2011 @11:06AM (#2462783)
Hi there, thanks for this, I've been looking for something self-contained-ish to point friends to when asking about node.

One thing, the site is really messed up in browsers that aren't super wide. My browser is ~1100px wide and the size/positioning of the main content puts it off the right side of the window forcing me to scroll horizontally. I'm not sure why you have stuff like `margin-left: 160px;` in there. It would be a lot better to use `margin: 0 auto;` so people with small screens or unmaximized browsers wont be assaulted :)

Thanks again!

edit: To be clear, I'm suggesting:

    #book, #disqus_thread, #footer {
      /* your styles */
      margin: 0 auto;
      margin-top: 24px;
    }
Re:The Node Beginner Book by ManuelKiessling on Tuesday April 19, 2011 @11:20AM (#2462835)
Hi thenduks,

thanks for this one! I changed the CSS as you suggested and updated the site, it's now scroll-bar free down to 1000px.

Re:The Node Beginner Book by thenduks on Tuesday April 19, 2011 @11:42AM (#2462927)
Sweet, looks awesome.

Btw, on a positive stylistic note. I love the big container and big text. Too many sites these days have tiny microscopic text -- I couldn't read that stuff if my life depended on it, and my eyes are 20/20! :)

Re:The Node Beginner Book by ManuelKiessling on Tuesday April 19, 2011 @03:59PM (#2463973)
Yeah, I hate that too. The only thing even more evil are sites that present you a tiny font on mobile devices AND don't allow you to zoom.

But saying this, I have to admit while http://nodebeginner.org can be zoomed on the iPhone, the font could still be a bit bigger for my taste (but on the normal site it's ok how it is).

Any idea how to tell CSS that I want an even bigger font on Mobile Safari?

Re:The Node Beginner Book by thenduks on Wednesday April 20, 2011 @02:49PM (#2467858)
Indeed I do!

Try something like this to get started:

    -webkit-text-size-adjust: 160%;
Re:The Node Beginner Book by ManuelKiessling on Thursday April 21, 2011 @04:45AM (#2469836)
Great, I'll give it a try! Thanks so much!