GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||
GeezerVison is showing github.com — doc: improve header styling for API docs by Fishrock123 · Pull Request #8811 · nodejs/node Conversation
|
|
I actually prefer the old version, but I'm fine with this as well. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note: currently some of the header sizes are smaller than the surrounding text. I could reduce the scaling if necessary but I'm not sure how this could possibly be a step backwards. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
h3 headers are of the same size of the paragraphs which I agree is bad but everything looks so HUGE on the screenshots especially on mobile. Maybe the screenshots are misleading or is just me, don't worry. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The mobile screenshots scale up because of how GitHub displays them. My phone is an iPhone 6s with a screen size of something like 4.5 inches. Your best bet would be to try it locally. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
(Actually, currently |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Tested on iPhone 5, looks good. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
maybe @nodejs/website would prefer to review? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
tested on oneplus 3 and mbp retina 2014, looks good |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@nodejs/collaborators anyone with some CSS knowledge, could you please review? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Few CSS comments, didn't test the changes yet.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary leading zeroes. Can you fix them here and everywhere in this file?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
this rule seems superfluous (see rule above).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Care to investigate if we can reduce this selector to tt, code? It's a bit hackish having to specify all the different ancestors.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
9d98a62 to
9779210
Compare
|
Updated, ptal @silverwind The one ruleset is now for all |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
ping again @silverwind |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
LGTM, but one more suggestion: Can you increase the font size of the TOC by a notch? The difference between TOC entries and body/headings seems a bit too much. Or reduce the sizes of those slightly. Your call. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@silverwind which TOC do you mean? The sidebar? The "index" page, or what comes at the top of every page? If you mean the one on every page, did you just mean the "table of Contents" Header, or the actual entries? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I've put this up at https://fishrock123.github.io/api/ so others can view what it's like to scroll etc with it |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Now I can cruise through examples I like the increased font sizes and the clarity of the difference between header sizes makes a lot of difference too. lgtm @nodejs/website last chance to pop in and give an opinion here |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
LGTM |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
c133999 to
83c7a88
Compare
Sizes were mostly decided by using http://type-scale.com/ with the 1.250 "Major Third" scaling. PR-URL: nodejs#8811 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Prince John Wesley <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Phillip Johnsen <[email protected]>
9779210 to
f1a3755
Compare
|
Thanks, landed in f1a3755 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sizes were mostly decided by using http://type-scale.com/ with the 1.250 "Major Third" scaling. PR-URL: #8811 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Prince John Wesley <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Phillip Johnsen <[email protected]>
Sizes were mostly decided by using http://type-scale.com/ with the 1.250 "Major Third" scaling. PR-URL: #8811 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Prince John Wesley <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Phillip Johnsen <[email protected]>
Sizes were mostly decided by using http://type-scale.com/ with the 1.250 "Major Third" scaling. PR-URL: #8811 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Prince John Wesley <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Phillip Johnsen <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.