From bebd6320b70fca79c1a1cbdaaaea4f87c92f87fd Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 28 Jan 2024 05:56:51 +0000
Subject: [PATCH] chore(deps-dev): bump tsx from 4.6.2 to 4.7.0 (#743)
---
quartz/styles/base.scss | 25 +++++++++++++++++++------
1 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index d559435..16be6ad 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -69,6 +69,7 @@
background-color: var(--highlight);
padding: 0 0.1rem;
border-radius: 5px;
+ line-height: 1.4rem;
&:has(> img) {
background-color: none;
@@ -76,6 +77,15 @@
padding: 0;
}
}
+
+ &.external .external-icon {
+ height: 1ex;
+ margin: 0 0.15em;
+
+ > path {
+ fill: var(--dark);
+ }
+ }
}
.desktop-only {
@@ -100,8 +110,6 @@
}
& article {
- position: relative;
-
& > h1 {
font-size: 2rem;
}
@@ -306,11 +314,13 @@
margin-bottom: 1rem;
}
-div[data-rehype-pretty-code-fragment] {
+figure[data-rehype-pretty-code-figure] {
+ margin: 0;
+ position: relative;
line-height: 1.6rem;
position: relative;
- & > div[data-rehype-pretty-code-title] {
+ & > [data-rehype-pretty-code-title] {
font-family: var(--codeFont);
font-size: 0.9rem;
padding: 0.1rem 0.5rem;
@@ -322,16 +332,17 @@
}
& > pre {
- padding: 0.5rem 0;
+ padding: 0;
}
}
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;
&:has(> code.mermaid) {
border: none;
@@ -344,6 +355,8 @@
counter-reset: line;
counter-increment: line 0;
display: grid;
+ padding: 0.5rem 0;
+ overflow-x: scroll;
& [data-highlighted-chars] {
background-color: var(--highlight);
--
Gitblit v1.10.0