dlang.org icon indicating copy to clipboard operation
dlang.org copied to clipboard

[discuss] Use full width for the documentation pages

Open wilzbach opened this issue 6 years ago • 2 comments

So I don't expect that everyone likes this idea, but I just accidentally saw this and imho it looks more structured. This is entirely subjective, so just "up" or "down" vote to show your personal opinion.

Having the menu aligned to the right isn't too uncommon:

  • readthedocs (e.g. http://docs.readthedocs.io/en/latest/getting_started.html)
  • Python (e.g. https://docs.python.org/3/library/shutil.html)
  • scod (http://martinnowak.github.io/bloom/bloom.html)
  • Git Book (https://doc.rust-lang.org/book/second-edition/)
  • devdocs.io (http://devdocs.io/d/ ...

This is just a quick CSS trick to roughly show how it would look. If there's interest, it would probably be done, s.t. there's no padding between the navigation menu and the browsers' right side and s.t. there's a fixed width (e.g. like currently) for the main content.

Current 76em width:

image

Full-width:

image

wilzbach avatar Mar 31 '18 04:03 wilzbach

Thanks for your pull request, @wilzbach!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

dlang-bot avatar Mar 31 '18 04:03 dlang-bot

We definitely do not want any text long enough to wrap to be full-width. It's bad usability.

CyberShadow avatar Mar 31 '18 04:03 CyberShadow