From 78f4cdbe109308fa33cb87387952aef5a528ebbe Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 19 Aug 2023 23:40:02 +0000
Subject: [PATCH] avoid 404 on icon for spa navigations with anchors
---
quartz/styles/base.scss | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 5a6b5db..b5e6b27 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -11,12 +11,14 @@
width: 100vw;
}
-body {
+body,
+section {
margin: 0;
max-width: 100%;
box-sizing: border-box;
background-color: var(--light);
font-family: var(--bodyFont);
+ color: var(--darkgray);
}
.text-highlight {
@@ -42,7 +44,6 @@
hyphens: auto;
}
-
.math {
font-size: 1.1rem;
&.math-display {
@@ -270,24 +271,28 @@
// typography improvements
h1 {
font-size: 1.75rem;
- margin-top: 2.75rem;
+ margin-top: 2.25rem;
+ margin-bottom: 1rem;
}
h2 {
font-size: 1.4rem;
- margin-top: 2.4rem;
+ margin-top: 1.9rem;
+ margin-bottom: 1rem;
}
h3 {
font-size: 1.12rem;
- margin-top: 2.12rem;
+ margin-top: 1.62rem;
+ margin-bottom: 1rem;
}
h4,
h5,
h6 {
font-size: 1rem;
- margin-top: 2rem;
+ margin-top: 1.5rem;
+ margin-bottom: 1rem;
}
div[data-rehype-pretty-code-fragment] {
--
Gitblit v1.10.0