From c538c151c7462ad0395ff2c15c5e11e89e362aa8 Mon Sep 17 00:00:00 2001
From: Striven <sg.striven@cutecat.club>
Date: Sat, 04 Apr 2026 19:47:16 +0000
Subject: [PATCH] Initial commit
---
quartz/styles/base.scss | 26 ++++++++++----------------
1 files changed, 10 insertions(+), 16 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 8bd1123..14e6ae6 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -9,6 +9,10 @@
text-size-adjust: none;
overflow-x: hidden;
width: 100vw;
+
+ @media all and ($mobile) {
+ scroll-padding-top: 4rem;
+ }
}
body {
@@ -41,25 +45,15 @@
.katex,
.math,
.typst-doc,
-.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,
-.typst-doc,
-.typst-doc * {
- 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 {
@@ -225,7 +219,7 @@
}
& .sidebar {
- gap: 2rem;
+ gap: 1.2rem;
top: 0;
box-sizing: border-box;
padding: $topSpacing 2rem 2rem 2rem;
--
Gitblit v1.10.0