4 ms·
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
by thenduks 16y ago
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;
}
- ManuelKiessling 16y agoHi 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.
- thenduks 16y agoSweet, 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! :)
- ManuelKiessling 16y agoYeah, 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 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?
- thenduks 16y agoIndeed I do! Try something like this to get started: -webkit-text-size-adjust: 160%;
- ManuelKiessling 16y agoGreat, I'll give it a try! Thanks so much!