diff --git a/app/components/layouts/DefaultLayout.tsx b/app/components/layouts/DefaultLayout.tsx index ecf1e648c..a73e97513 100644 --- a/app/components/layouts/DefaultLayout.tsx +++ b/app/components/layouts/DefaultLayout.tsx @@ -62,15 +62,15 @@ export function HeroHead({
-
+
-
-

{heroData.heroHeader}

+
+

{heroData.heroHeader}

{heroData.heroSubheader && (
{heroData.heroSubheader}
)} diff --git a/styles/_base.scss b/styles/_base.scss index 2020127b1..d11fff872 100644 --- a/styles/_base.scss +++ b/styles/_base.scss @@ -163,10 +163,6 @@ ul { } } -.prose h1 { - // text-align: center; -} - .prose h1 > small::before { content: '\a'; white-space: pre; @@ -177,7 +173,6 @@ ul { } .prose h3 { - font-size: 1.5rem; font-weight: 600; margin: 1.5rem 0 0.5rem 0; } @@ -217,7 +212,6 @@ ul { } .resources-section .prose h2 { - font-size: 3rem; font-weight: 900; line-height: 1.2; margin-bottom: 1rem; @@ -225,17 +219,11 @@ ul { .resources-section .prose h3 { margin: 1.5rem 0 1.5rem 0; - font-size: 2rem; } .resources-section .prose h4 { margin: 1.5rem 0 1rem 0; font-weight: 500; - font-size: 1.25rem; -} - -.resources-section .prose h5 { - font-size: 1rem; } .resources-section .prose .header-anchor-wrapper-h2 { diff --git a/styles/_variables.scss b/styles/_variables.scss index 8fd4166b7..c848abb4a 100644 --- a/styles/_variables.scss +++ b/styles/_variables.scss @@ -73,6 +73,7 @@ $font-family-sans-serif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, $font-family-base: 'Inter var', $font-family-sans-serif; $headings-font-weight: 700; +$headings-line-height: 1; $display1-weight: 900; $display2-weight: 900;