From 6d9ffd6da508743407b3b88a89ed831b53321d59 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 13 Aug 2023 04:16:43 +0000
Subject: [PATCH] 404 page styling on local

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

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 5a6b5db..fc23b3a 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -11,12 +11,13 @@
   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 +43,6 @@
   hyphens: auto;
 }
 
-
 .math {
   font-size: 1.1rem;
   &.math-display {
@@ -270,24 +270,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