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 @@
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"],
},
},