From fa2ea2896f0977253733334199d28e509351e621 Mon Sep 17 00:00:00 2001
From: Silviu LorenČ› <124451350+smilorent@users.noreply.github.com>
Date: Sat, 17 Feb 2024 18:23:45 +0000
Subject: [PATCH] feat: add user-defined config for syntax highlighting plugin (#869)
---
quartz/styles/base.scss | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 7bc799a..f0e7c14 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -7,8 +7,6 @@
text-size-adjust: none;
overflow-x: hidden;
width: 100vw;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
}
body,
@@ -28,7 +26,7 @@
}
::selection {
- background: color-mix(in srgb, var(--tertiary) 60%, transparent);
+ background: color-mix(in srgb, var(--tertiary) 60%, rgba(255, 255, 255, 0));
color: var(--darkgray);
}
@@ -261,11 +259,9 @@
font-weight: revert;
margin-bottom: 0;
- article > & > a {
+ article > & > a[role="anchor"] {
color: var(--dark);
- &.internal {
- background-color: transparent;
- }
+ background-color: transparent;
}
}
--
Gitblit v1.10.0