From ad52d095670f2a08a330d1d4ee5ed4bc784e65aa Mon Sep 17 00:00:00 2001
From: Emile Bangma <ewjbangma@hotmail.com>
Date: Tue, 22 Oct 2024 20:33:54 +0000
Subject: [PATCH] Feat(filters): Support "true" as valid for draft and publish frontmatter values (b3a02909ba74fff08cd3675707d1f4d782a24e98)
---
quartz/styles/callouts.scss | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/quartz/styles/callouts.scss b/quartz/styles/callouts.scss
index d4f7069..d6f65aa 100644
--- a/quartz/styles/callouts.scss
+++ b/quartz/styles/callouts.scss
@@ -10,7 +10,7 @@
transition: max-height 0.3s ease;
box-sizing: border-box;
- & > *:nth-child(2) {
+ & > .callout-content > :first-child {
margin-top: 0;
}
@@ -120,7 +120,7 @@
.callout-title {
display: flex;
- align-items: center;
+ align-items: flex-start;
gap: 5px;
padding: 1rem 0;
color: var(--color);
@@ -131,8 +131,6 @@
transition: transform 0.15s ease;
opacity: 0.8;
cursor: pointer;
- width: var(--icon-size);
- height: var(--icon-size);
--callout-icon: var(--callout-icon-fold);
}
@@ -145,6 +143,7 @@
& .fold-callout-icon {
width: var(--icon-size);
height: var(--icon-size);
+ flex: 0 0 var(--icon-size);
// icon support
background-size: var(--icon-size) var(--icon-size);
@@ -154,9 +153,10 @@
mask-size: var(--icon-size) var(--icon-size);
mask-position: center;
mask-repeat: no-repeat;
+ padding: 0.2rem 0;
}
.callout-title-inner {
- font-weight: $boldWeight;
+ font-weight: $semiBoldWeight;
}
}
--
Gitblit v1.10.0