diff --git a/public/css/pages.css b/public/css/pages.css index ad99572..02f14a5 100644 --- a/public/css/pages.css +++ b/public/css/pages.css @@ -4,9 +4,9 @@ line-height: 2.5rem; margin-bottom: 1rem; margin-top: 2rem; - font-family: Inter, sans-serif; + font-family: Outfit, Inter, sans-serif; opacity: 0.9; - font-weight: 900; + font-weight: 700; color: var(--c-text-2); } @@ -16,23 +16,41 @@ line-height: 2rem; margin-bottom: 1rem; margin-top: 2.5rem; - font-family: Inter, sans-serif; + font-family: Outfit, Inter, sans-serif; opacity: 0.9; - font-weight: 700; + font-weight: 600; color: var(--c-text-2); } +.markdown h2::before { + content: "#"; + display: block; + height: 0; + position: relative; + right: 1.5rem; + opacity: 0.2; +} + .markdown h3 { font-size: 1.35rem; line-height: 1.75rem; margin-bottom: 1rem; margin-top: 1.75rem; - font-family: Inter, sans-serif; + font-family: Outfit, Inter, sans-serif; opacity: 0.9; - font-weight: 600; + font-weight: 400; color: var(--c-text-2); } +.markdown h3::before { + content: "##"; + display: block; + height: 0; + position: relative; + right: 2.25rem; + opacity: 0.1; +} + .markdown ul { list-style-type: disc; list-style-position: inside; diff --git a/public/favicon.png b/public/favicon.png index a96195c..cfbe51a 100644 Binary files a/public/favicon.png and b/public/favicon.png differ diff --git a/public/img/thp_logo_exp.svg b/public/img/thp_logo_exp.svg index 3a9e989..7f1730c 100644 --- a/public/img/thp_logo_exp.svg +++ b/public/img/thp_logo_exp.svg @@ -2,31 +2,52 @@ + - - - - + + clip-path="none" + style="fill:#f472b6;fill-opacity:1;stroke:#f472b6;stroke-width:0;stroke-dasharray:none;stroke-opacity:1" + d="M 5.3045858 0.012402344 C 2.3730055 0.012402344 0.012919108 2.3724887 0.012919108 5.304069 L 0.012919108 71.043726 C 0.012919108 73.975306 2.3730055 76.335392 5.3045858 76.335392 L 71.044242 76.335392 C 73.975823 76.335392 76.335909 73.975306 76.335909 71.043726 L 76.335909 5.304069 C 76.335909 2.3724887 73.975823 0.012402344 71.044242 0.012402344 L 5.3045858 0.012402344 z M 33.009355 39.365039 L 38.94646 39.365039 L 38.94646 50.102368 C 39.321997 49.768449 39.728897 49.467499 40.188245 49.221802 C 41.300671 48.600912 42.581646 48.290592 44.030387 48.290592 C 45.504999 48.290592 46.798344 48.600912 47.910771 49.221802 C 49.023196 49.81682 49.876836 50.657573 50.471855 51.744128 C 51.092743 52.804813 51.403064 54.046612 51.403064 55.469482 L 51.403064 67.537996 L 45.465959 67.537996 L 45.465959 56.788782 C 45.465959 55.805707 45.155639 55.01702 44.534749 54.422001 C 43.939731 53.801112 43.1763 53.490275 42.244967 53.490275 C 41.598207 53.490275 41.029114 53.632549 40.537577 53.917122 C 40.04604 54.175826 39.657881 54.563985 39.373307 55.081392 C 39.088733 55.57293 38.94646 56.142022 38.94646 56.788782 L 38.94646 67.537996 L 33.009355 67.537996 L 33.009355 39.365039 z M 20.203418 40.878642 L 26.14104 40.878642 L 26.14104 48.678682 L 30.409513 48.678682 L 30.409513 53.723336 L 26.14104 53.723336 L 26.14104 67.537996 L 20.203418 67.537996 L 20.203418 53.723336 L 15.934945 53.723336 L 15.934945 48.678682 L 20.203418 48.678682 L 20.203418 40.878642 z M 66.071936 48.290592 C 67.856992 48.290592 69.434885 48.717412 70.806014 49.571134 C 72.203015 50.424857 73.289652 51.588817 74.065763 53.063428 C 74.867745 54.538039 75.268791 56.219544 75.268791 58.108081 C 75.268791 59.996618 74.867745 61.67864 74.065763 63.153251 C 73.289652 64.627862 72.203015 65.791822 70.806014 66.645544 C 69.434885 67.499267 67.856992 67.926086 66.071936 67.926086 C 64.804288 67.926086 63.639812 67.680201 62.579126 67.188664 C 62.019518 66.929333 61.517632 66.616566 61.06604 66.256421 L 61.06604 75.493066 L 55.206449 75.493066 L 55.206449 48.678682 L 61.143555 48.678682 L 61.143555 49.980929 C 61.574458 49.628464 62.0526 49.323615 62.579126 49.066772 C 63.639812 48.549365 64.804288 48.290592 66.071936 48.290592 z M 65.023938 53.645821 C 64.196086 53.645821 63.458946 53.839642 62.812187 54.227698 C 62.191298 54.589883 61.699527 55.107428 61.337341 55.780058 C 60.975156 56.452688 60.794222 57.228489 60.794222 58.108081 C 60.794222 58.961804 60.962269 59.725234 61.298584 60.397864 C 61.660769 61.070494 62.165427 61.600926 62.812187 61.988981 C 63.458946 62.377037 64.183199 62.570858 64.985181 62.570858 C 65.838902 62.570858 66.576043 62.377037 67.196932 61.988981 C 67.843691 61.600926 68.34835 61.070494 68.710535 60.397864 C 69.07272 59.725234 69.253654 58.961804 69.253654 58.108081 C 69.253654 57.228489 69.07272 56.452688 68.710535 55.780058 C 68.34835 55.107428 67.843691 54.589883 67.196932 54.227698 C 66.576043 53.839642 65.85179 53.645821 65.023938 53.645821 z " /> diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro index 9885af9..86b5766 100644 --- a/src/components/HeroSection.astro +++ b/src/components/HeroSection.astro @@ -18,7 +18,7 @@ if (!title) {
-

+

{subtitle} {title}

diff --git a/src/components/TOC.astro b/src/components/TOC.astro index d7be99f..8f358e5 100644 --- a/src/components/TOC.astro +++ b/src/components/TOC.astro @@ -16,9 +16,12 @@ function buildHierarchy(headings: any) { const heading = { ...h, subheadings: [] }; parentHeadings.set(heading.depth, heading); // Change 2 to 1 if your markdown includes your

- if (heading.depth === 1) { + if (heading.depth === 2) { toc.push(heading); - } else { + } else if (heading.depth === 1) { + /** empty */ + } + else { parentHeadings.get(heading.depth - 1).subheadings.push(heading); } }); diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 80039dc..47e355d 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -24,11 +24,7 @@ const { title } = Astro.props; - diff --git a/tailwind.config.mjs b/tailwind.config.mjs index 8100db5..937fda6 100644 --- a/tailwind.config.mjs +++ b/tailwind.config.mjs @@ -21,7 +21,7 @@ export default { }, fontFamily: { "mono": ["'Iosevka Fixed Web'", "Iosevka", "'Iosevka Nerd Font'", "monospace"], - "display": ["Inter", "'Josefin Sans'", "'Fugaz One'", "sans-serif"], + "display": ["Outfit", "Inter", "sans-serif"], "body": ["Inter", "sans-serif"], }, },