Skip to content
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

Website Docs Visual Separation #1402

Merged
merged 12 commits into from
Jul 20, 2023
9 changes: 0 additions & 9 deletions apps/website/src/pages/_global.astro
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,6 @@ const { content = {} } = Astro.props;
font-size: var(--type-3);
}

:where(h2:not(.astro-4EWMQMN4):not(left-sidebar)) {
border-top: 1px solid var(--color-line-2);
inline-size: 100%;
border-bottom: 1px solid rgb(245 245 245 / 0%);
border-left: 1px solid rgb(245 245 245 / 0%);
border-right: 1px solid rgb(245 245 245 / 0%);
padding-block-start: var(--space-8);
}

:where(h3) {
font-size: var(--type-2);
}
Expand Down
5 changes: 5 additions & 0 deletions apps/website/src/pages/docs/_layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ const currentPage = new URL(Astro.request.url).pathname;
grid-area: h1;
}

:global(h2:not(left-sidebar)) {
marashad001 marked this conversation as resolved.
Show resolved Hide resolved
border-top: 1px solid var(--color-line-2);
marashad001 marked this conversation as resolved.
Show resolved Hide resolved
padding-block-start: var(--space-8);
}

> :global(.toc-wrapper) {
grid-area: toc;
padding-inline: var(--space-3);
Expand Down