diff --git a/aio/src/styles/0-base/_typography.scss b/aio/src/styles/0-base/_typography.scss index 047ffb0efc..4f909fc9dc 100755 --- a/aio/src/styles/0-base/_typography.scss +++ b/aio/src/styles/0-base/_typography.scss @@ -102,13 +102,14 @@ a { @include line-height(32); font-weight: 400; color: $darkgray; + & > em { @include letter-spacing(0.3); } } p { - margin: 14px 0 0; + margin: 1em 0; } p + ul { diff --git a/aio/src/styles/1-layouts/_content-layout.scss b/aio/src/styles/1-layouts/_content-layout.scss index 8455d1a172..75d781edb4 100644 --- a/aio/src/styles/1-layouts/_content-layout.scss +++ b/aio/src/styles/1-layouts/_content-layout.scss @@ -6,6 +6,8 @@ .sidenav-content { min-height: 100vh; padding: 80px 3rem 2rem; + max-width: 50em; + margin: 0 auto; @media screen and (max-width: 600px) { min-height: 450px; @@ -16,9 +18,15 @@ padding: 80px 1rem 1rem; } - aio-shell.page-docs & { - // padding: 6rem 3rem 3rem 3rem; // THIS CAUSES THE TOP NAV TOOLBAR TO JUMP BETWEEN DOCS AND OTHER PAGES - margin: auto; + .page-about &, + .page-contribute &, + .page-events &, + .page-features &, + .page-guide-cheatsheet &, + .page-home &, + .page-presskit &, + .page-resources & { + max-width: none; } button { diff --git a/aio/src/styles/1-layouts/_footer.scss b/aio/src/styles/1-layouts/_footer.scss index b986e31dac..0f180bc104 100644 --- a/aio/src/styles/1-layouts/_footer.scss +++ b/aio/src/styles/1-layouts/_footer.scss @@ -13,6 +13,7 @@ footer { & > * { color: $white; + max-width: 50em; } } @@ -56,7 +57,7 @@ footer { p { text-align: center; - margin: 10px 0px 5px; + margin: 10px auto 5px; @media (max-width: 480px) { text-align: left; @@ -69,7 +70,7 @@ footer { display: flex; justify-content: center; text-align: left; - margin: 0 0 40px; + margin: 0 auto 40px; ul { list-style-position: inside; diff --git a/aio/src/styles/1-layouts/_marketing-layout.scss b/aio/src/styles/1-layouts/_marketing-layout.scss index 34edc086ab..41c27a1b58 100644 --- a/aio/src/styles/1-layouts/_marketing-layout.scss +++ b/aio/src/styles/1-layouts/_marketing-layout.scss @@ -262,13 +262,13 @@ section#intro { aio-shell { &.page-resources, &.page-events, &.page-features, &.page-presskit, &.page-contribute { - main { - padding: 0rem 0rem 3rem; + .sidenav-content { + padding: 0 0 3rem; } } &.page-home { - main { + .sidenav-content { padding: 0; } }