diff --git a/components/feature-guide-tabs.tsx b/components/feature-guide-tabs.tsx index ab03ec1a..aa6bfa0a 100644 --- a/components/feature-guide-tabs.tsx +++ b/components/feature-guide-tabs.tsx @@ -35,7 +35,7 @@ export const GuideBox = ({ > {content.title} -

+

{content.description}

diff --git a/components/landing.module.css b/components/landing.module.css index a66f388f..20d7a643 100644 --- a/components/landing.module.css +++ b/components/landing.module.css @@ -5,17 +5,20 @@ .mainTitle { color: #000d3d; - font-size: 48px; + font-size: 32px; + font-style: normal; font-weight: 400; line-height: 120%; + padding-bottom: 12px; } .subTitle { color: #000d3d; - font-size: 28px; + font-size: 24px; + font-style: normal; font-weight: 400; line-height: 140%; - letter-spacing: -0.28px; + letter-spacing: -0.24px; } @media (max-width: 767px) { @@ -32,13 +35,17 @@ .subTitle { color: #000d3d; font-size: 24px; + font-style: normal; font-weight: 400; + line-height: 140%; + letter-spacing: -0.24px; + margin-bottom: 12px; } } .description { color: #73879e; - font-size: 22px; + font-size: 18px; font-style: normal; font-weight: 400; line-height: 160%; @@ -46,10 +53,10 @@ .subDescription { color: #73879e; - font-size: 20px; + font-size: 16px; font-style: normal; font-weight: 400; - line-height: 160%; /* 32px */ + line-height: 160%; } .guideBox { @@ -84,16 +91,16 @@ .startGuides { display: flex; flex-grow: 1; - margin-top: 48px; + margin-top: 24px; margin-bottom: 48px; } .startGuideText { color: #000d3d; - font-size: 18px; + font-size: 16px; font-weight: 400; - line-height: 150%; - letter-spacing: -0.18px; + line-height: 160%; + letter-spacing: -0.16px; max-width: 254px; } @@ -120,7 +127,6 @@ flex-direction: column; align-items: flex-start; justify-content: center; - gap: 12px; } .welcomeText { @@ -129,6 +135,7 @@ font-style: normal; font-weight: 400; line-height: 160%; + padding-bottom: 8px; } .horizontalLine { @@ -145,7 +152,7 @@ .systemDescripton { color: #3e4c5c; - font-size: 1.1rem; + font-size: 1rem; font-style: normal; font-weight: 400; line-height: 180%; @@ -185,11 +192,11 @@ .stackHeading { color: #000d3d; text-align: center; - font-size: 32px; + font-size: 28px; font-style: normal; font-weight: 500; - line-height: 160%; - letter-spacing: -0.32px; + line-height: 140%; + letter-spacing: -0.28px; text-align: center; max-width: 207px; height: 90px; @@ -213,7 +220,7 @@ .coursesHeading { color: #fff; - font-size: 28px; + font-size: 24px; font-weight: 400; line-height: 140%; letter-spacing: -0.28px; @@ -225,7 +232,7 @@ .coursesSubtitle { color: #dce2ea; - font-size: 20px; + font-size: 16px; font-style: normal; font-weight: 400; line-height: 160%; @@ -248,10 +255,10 @@ .introduction { color: #8a9fb8; text-align: center; - font-size: 14px; + font-size: 12px; font-weight: 500; line-height: 160%; - letter-spacing: 1.4px; + letter-spacing: 1.2px; text-transform: uppercase; } @@ -311,7 +318,7 @@ .comingSomewhereTitle { color: #000d3d; font-family: Lexend; - font-size: 16px; + font-size: 14px; font-style: normal; font-weight: 400; line-height: normal; diff --git a/components/products.tsx b/components/products.tsx index 6f9801b3..4eb4dc4c 100644 --- a/components/products.tsx +++ b/components/products.tsx @@ -70,8 +70,8 @@ const Item = ({

{item.title} diff --git a/components/tab.module.css b/components/tab.module.css index 5f258a95..44dbe38c 100644 --- a/components/tab.module.css +++ b/components/tab.module.css @@ -53,16 +53,18 @@ .productsHeading { color: rgba(0, 13, 61, 0.8); font-family: Lexend; - font-size: 18px; + font-size: 16px; font-style: normal; font-weight: 500; line-height: normal; - letter-spacing: -0.36px; + letter-spacing: -0.32px; text-transform: uppercase; } .productDescripton { color: #73879e; + font-size: 14px; + font-style: normal; font-weight: 400; line-height: 160%; } diff --git a/styles/globals.css b/styles/globals.css index 294ca8bc..9fe4e755 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -1729,14 +1729,14 @@ video { } .nx-text-base { - font-size: 1.1rem; + font-size: 1rem; } .nx-text-paragraph { - font-size: 16px; + font-size: 1rem; } .nx-text-toc { - font-size: 13px; + font-size: 0.75rem; } .nx-text-lg { @@ -1755,6 +1755,10 @@ video { font-size: 0.75rem; } +.nx-text-32 { + font-size: 2rem; +} + .nx-font-bold { font-weight: 700; } @@ -2617,7 +2621,14 @@ span:target + .subheading-anchor:after { :is(html[class~="dark"] .nextra-scrollbar-bg) { background-color: #20222c; - border-right: 1px solid var(--Dark-Mode-White-10, #363841); +} + +.border-body-left { + border-left: 1px solid var(--Cold-Grey-Grey200, #dce2ea); +} + +:is(html[class~="dark"] .border-body-left) { + border-left: 1px solid var(--Dark-Mode-White-10, #363841); } .nextra-active-route { @@ -4838,7 +4849,7 @@ div:hover > .\[div\:hover\>\&\]\:nx-opacity-100 { .link-text { color: #5f38fb; font-weight: 400; - font-size: 1.1rem; + font-size: 0.875rem; } :is(html[class~="dark"] .link-text) { diff --git a/theme/fetch-ai-docs/components/navbar.tsx b/theme/fetch-ai-docs/components/navbar.tsx index 0d24ee0c..ef6517a0 100644 --- a/theme/fetch-ai-docs/components/navbar.tsx +++ b/theme/fetch-ai-docs/components/navbar.tsx @@ -190,12 +190,12 @@ export function Navbar({ flatDirectories, items }: NavBarProps): ReactElement { > {page.title} - + {page.title} diff --git a/theme/fetch-ai-docs/components/not-found.tsx b/theme/fetch-ai-docs/components/not-found.tsx index af63211e..70464794 100644 --- a/theme/fetch-ai-docs/components/not-found.tsx +++ b/theme/fetch-ai-docs/components/not-found.tsx @@ -24,7 +24,7 @@ export function NotFoundPage(): ReactElement | null { labels, })} newWindow - className="nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]" + className="nx-text-primary-600 nx-underline nx-decoration-from-font nx-text-paragraph [text-underline-position:from-font]" > {renderComponent(content)} diff --git a/theme/fetch-ai-docs/components/server-side-error.tsx b/theme/fetch-ai-docs/components/server-side-error.tsx index 81e1fe1d..8322edfb 100644 --- a/theme/fetch-ai-docs/components/server-side-error.tsx +++ b/theme/fetch-ai-docs/components/server-side-error.tsx @@ -26,7 +26,7 @@ export function ServerSideErrorPage(): ReactElement | null { labels, })} newWindow - className="nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]" + className="nx-text-primary-600 nx-underline nx-decoration-from-font nx-text-paragraph [text-underline-position:from-font]" > {renderComponent(content)} diff --git a/theme/fetch-ai-docs/components/sidebar.tsx b/theme/fetch-ai-docs/components/sidebar.tsx index fdca4fad..70c8682c 100644 --- a/theme/fetch-ai-docs/components/sidebar.tsx +++ b/theme/fetch-ai-docs/components/sidebar.tsx @@ -428,7 +428,7 @@ export function Sidebar({ )} onClick={() => setMenu(false)} /> -
+