From e6cc9ba3683897f899cd0b514ba9e54f72d0de8a Mon Sep 17 00:00:00 2001
From: Rithsagea <rithsagea@gmail.com>
Date: Sun, 07 Dec 2025 03:51:37 +0000
Subject: [PATCH] fix: pass mathjax macros to rehype correctly (#2218)

---
 quartz/styles/base.scss |   25 +++++++++----------------
 1 files changed, 9 insertions(+), 16 deletions(-)

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 820b9ab..0d642d6 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -11,8 +11,7 @@
   width: 100vw;
 }
 
-body,
-section {
+body {
   margin: 0;
   box-sizing: border-box;
   background-color: var(--light);
@@ -40,23 +39,17 @@
 ol,
 ul,
 .katex,
-.math {
+.math,
+.typst-doc,
+g[class~="typst-text"] {
   color: var(--darkgray);
   fill: var(--darkgray);
-  hyphens: auto;
+  overflow-wrap: break-word;
+  text-wrap: pretty;
 }
 
-p,
-ul,
-text,
-a,
-li,
-ol,
-ul,
-.katex,
-.math {
-  overflow-wrap: anywhere;
-  /* tr and td removed from list of selectors for overflow-wrap, allowing them to use default 'normal' property value */
+path[class~="typst-shape"] {
+  stroke: var(--darkgray);
 }
 
 .math {
@@ -222,7 +215,7 @@
     }
 
     & .sidebar {
-      gap: 2rem;
+      gap: 1.2rem;
       top: 0;
       box-sizing: border-box;
       padding: $topSpacing 2rem 2rem 2rem;

--
Gitblit v1.10.0