-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs now have poor information density #13591
Comments
The lines below headings in the different levels are also indistinguishable now. I'd prefer not to have lines below the non-top-level headings; they can be distinguished with the appropriate amount of spacing. |
The docs were more readable with the previous font. The orange and green text was also more readable on the light grey background than on white. |
From my investigations, this is not an issue with the actual body copy font. Consolas: Inconsolata: Seems like Inconsolata has a quite low xheight, I will see about replacing it (have Anonymous Pro or Source Code Pro in mind). (Note: I had to zoom at 200% to see it and even there it's a tiny difference, so it does not seem too bad to me anyway.)
Right, fixed on my side.
Agreed. I didn't look at such pages while developing the layout, I will fix this.
Because it is a serif font? – If so it is a matter of accomodation, few websites make use of them actually (for instance, blog or newspaper). |
Source Code Pro is looking good? I will add it to #13587. (400% zoom) |
Mainly due to poor information density, but I simply find Consolas to be more readable than Inconsolata because it's "fatter". |
I think I would prefer a sans-serif typeface. The screenshot you gave with source code pro looks good. |
Along these lines: headers within a doc comment now take up a lot of space, and look a lot like they're page layout headings, not just subheadings for a specific function (e.g. the failure heading in http://static.rust-lang.org/doc/master/std/c_str/struct.CString.html#method.with_ref). |
Thanks for the pointer, looks like I only fixed a part of this. |
- Closes #13591. Relevant example: http://adrientetar.legtux.org/cached/rust-docs/struct.CChars.htm (Had to use `!important` to override CSS selector precedence, namely matching over parent class.) - Implement changes from #13780 feedback, namely: * Changed font-size from 18px to 15px * Reintroduced gray background for code samples * Tightened up the margins - Fix point 1 and point 4 of #13804. Samples: - [enum.FileType](http://adrientetar.legtux.org/cached/rust-docs/enum.FileType.htm) - [struct.CChars](http://adrientetar.legtux.org/cached/rust-docs/struct.CChars.htm) - [std](http://adrientetar.legtux.org/cached/rust-docs/std.htm) - [std::io](http://adrientetar.legtux.org/cached/rust-docs/io.htm). r? @brson
I'm really sorry that I didn't bring this up in the earlier reviews I did of the work, but I was on my desktop with a 1080p screen, and also just didn't notice.
Here are two screenshots:
I note a few specific regressions:
inline
with other text is now way larger than the other text.The first two just seem like bugs (references to items should always be monospaced, perhaps?), but the latter is a more nuanced design decision. It seems to me that there is too much whitespace in general, and that the spacing between almost everything ought to be reduced.
Another point, almost more aesthetic than functional, is that the distance between a header and the line underneath it is slightly too large, and makes it more difficult to view them as a "single unit".
The text was updated successfully, but these errors were encountered: