From 520acbbf6fe3ef43e9b2b662bfb21e0f9c3bb982 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 29 May 2024 20:04:03 +0000
Subject: [PATCH] docs: inline code syntax highlighting (closes #1162)
---
quartz/styles/base.scss | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index f0e7c14..859bb43 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -53,8 +53,12 @@
}
}
+strong {
+ font-weight: $semiBoldWeight;
+}
+
a {
- font-weight: $boldWeight;
+ font-weight: $semiBoldWeight;
text-decoration: none;
transition: color 0.2s ease;
color: var(--secondary);
@@ -75,6 +79,11 @@
border-radius: 0;
padding: 0;
}
+ &.tag-link {
+ &::before {
+ content: "#";
+ }
+ }
}
&.external .external-icon {
@@ -504,3 +513,8 @@
padding-left: 1rem;
}
}
+
+.katex-display {
+ overflow-x: auto;
+ overflow-y: hidden;
+}
--
Gitblit v1.10.0