angular-docs-cn/aio/content
George Kalpakas 4907d644bb refactor(docs-infra): use more consistent content width on marketing pages (#41051)
Previously, each marketing page used a different limit for its content's
width (if it had a limit at all) and implemented the width limiting in a
different way. Besides resulting in an inconsistent UX, this also made
it difficult to apply site-wide layout changes.

This commit makes the limit for most marketing pages consistent and uses
the same CSS class to make it easier to apply site-wide changes in the
future. The chosen limit is slightly larger than that of docs pages
(62.5em/1000px vs 50em/800px), because marketing pages have a different
type of content and layout (i.e. images, multi-column layout, etc.).
Finally, this commit also removes obsolete wrapper elements, CSS classes
and CSS styles, that are no longer necessary after the changes.

Notably, the homepage (`/`) and the "Contributors" page (`/about`) have
remained unchanged, because the former has its own layout that is
different from other marketing pages and the latter would offer a worse
UX with a small content width limit (as the one used on other marketing
pages).

The content widths of the rest of the marketing pages change slightly as
a result of the changes in this commit, but not in a way that would have
a negative impact on UX. More specifically:

| Page (URL)    | Size before | Size after |
|:--------------|------------:|-----------:|
| `/contribute` |       880px |     1000px |
| `/events`     |   unlimited |     1000px |
| `/features`   |       996px |     1000px |
| `/presskit`   |       800px |     1000px |
| `/resources`  |       800px |     1000px |

PR Close #41051
2021-03-09 08:52:51 -08:00
..
cli docs: update boolean and enumerated CLI section (#40224) 2020-12-23 09:51:29 -08:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
errors fix(docs-infra): use relative URLs for internal links on error pages (#40881) 2021-02-19 09:14:59 -08:00
examples docs: fix some typos in angular.io examples (#41093) 2021-03-05 15:08:11 -08:00
guide docs: fix indentation of code snippets in the "Cheat sheet" guide (#41051) 2021-03-09 08:52:51 -08:00
images docs: remove augury resource (#41107) 2021-03-08 10:00:13 -08:00
marketing refactor(docs-infra): use more consistent content width on marketing pages (#41051) 2021-03-09 08:52:51 -08:00
start docs: remove unnecessary `<hr />` tags in Getting Started sections (#40693) 2021-02-16 08:00:42 -08:00
tutorial docs: improve accessibility of toh2 example (#40575) 2021-02-23 10:41:05 -08:00
file-not-found.md fix(docs-infra): do not create an anchor for the `file-not-found` header (#27250) 2018-12-05 13:26:26 -08:00
license.md docs: update year (#40925) 2021-02-22 12:37:40 -08:00
navigation.json docs: improve accessibility of toh-pt5 example (#40632) 2021-02-23 10:39:13 -08:00