From a12d76afdb51e0de3adf5fdaef63e5f20077ff97 Mon Sep 17 00:00:00 2001
From: Callum Barker <64287849+cbarkr@users.noreply.github.com>
Date: Thu, 13 Jun 2024 19:47:22 +0000
Subject: [PATCH] fix: fix explorer view gradient positioning on mobile (fixes #906) (#1206)
---
quartz/styles/base.scss | 27 +++++++++++++++++++--------
1 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 7bc799a..a7c1b45 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);
}
@@ -55,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);
@@ -77,6 +79,11 @@
border-radius: 0;
padding: 0;
}
+ &.tag-link {
+ &::before {
+ content: "#";
+ }
+ }
}
&.external .external-icon {
@@ -261,11 +268,9 @@
font-weight: revert;
margin-bottom: 0;
- article > & > a {
+ article > & > a[role="anchor"] {
color: var(--dark);
- &.internal {
- background-color: transparent;
- }
+ background-color: transparent;
}
}
@@ -480,6 +485,7 @@
ol.overflow {
max-height: 400;
overflow-y: auto;
+ position: relative;
// clearfix
content: "";
@@ -508,3 +514,8 @@
padding-left: 1rem;
}
}
+
+.katex-display {
+ overflow-x: auto;
+ overflow-y: hidden;
+}
--
Gitblit v1.10.0