From 22de92f6c46fd8aae3e803faaea734f28277cfae Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 31 Jan 2024 18:01:40 +0000
Subject: [PATCH] pkg: bump to 4.1.6
---
quartz/styles/base.scss | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index c0c5712..fc1db95 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -4,7 +4,6 @@
html {
scroll-behavior: smooth;
- -webkit-text-size-adjust: none;
text-size-adjust: none;
overflow-x: hidden;
width: 100vw;
@@ -69,6 +68,7 @@
background-color: var(--highlight);
padding: 0 0.1rem;
border-radius: 5px;
+ line-height: 1.4rem;
&:has(> img) {
background-color: none;
@@ -76,6 +76,15 @@
padding: 0;
}
}
+
+ &.external .external-icon {
+ height: 1ex;
+ margin: 0 0.15em;
+
+ > path {
+ fill: var(--dark);
+ }
+ }
}
.desktop-only {
@@ -162,9 +171,11 @@
& .sidebar.right {
right: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
+ flex-wrap: wrap;
& > * {
@media all and (max-width: $fullPageWidth) {
flex: 1;
+ min-width: 140px;
}
}
}
@@ -267,7 +278,6 @@
opacity: 0;
transition: opacity 0.2s ease;
transform: translateY(-0.1rem);
- display: inline-block;
font-family: var(--codeFont);
user-select: none;
}
@@ -328,12 +338,13 @@
pre {
font-family: var(--codeFont);
- padding: 0.5rem;
+ padding: 0 0.5rem;
border-radius: 5px;
overflow-x: auto;
border: 1px solid var(--lightgray);
+ position: relative;
- &.mermaid {
+ &:has(> code.mermaid) {
border: none;
}
@@ -345,6 +356,7 @@
counter-increment: line 0;
display: grid;
padding: 0.5rem 0;
+ overflow-x: scroll;
& [data-highlighted-chars] {
background-color: var(--highlight);
--
Gitblit v1.10.0