From 563ab4aaaf8e680968a67e02c3659736fbec0cf7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 06 Aug 2024 01:49:20 +0000
Subject: [PATCH] docs: update node version in hosting docs
---
quartz/components/styles/explorer.scss | 45 ++++++++++++++++++++++++++++++---------------
1 files changed, 30 insertions(+), 15 deletions(-)
diff --git a/quartz/components/styles/explorer.scss b/quartz/components/styles/explorer.scss
index 4b25a55..55ea8aa 100644
--- a/quartz/components/styles/explorer.scss
+++ b/quartz/components/styles/explorer.scss
@@ -1,4 +1,7 @@
+@use "../../styles/variables.scss" as *;
+
button#explorer {
+ all: unset;
background-color: transparent;
border: none;
text-align: left;
@@ -8,7 +11,7 @@
display: flex;
align-items: center;
- & h3 {
+ & h1 {
font-size: 1rem;
display: inline-block;
margin: 0;
@@ -58,7 +61,7 @@
max-height 0.35s ease,
transform 0.35s ease,
opacity 0.2s ease;
- & div > li > a {
+ & li > a {
color: var(--dark);
opacity: 0.75;
pointer-events: all;
@@ -80,19 +83,20 @@
align-items: center;
user-select: none;
- & li > a {
- // other selector is more specific, needs important
- color: var(--secondary) !important;
- opacity: 1 !important;
- font-size: 1.05rem !important;
+ & div > a {
+ color: var(--secondary);
+ font-family: var(--headerFont);
+ font-size: 0.95rem;
+ font-weight: $semiBoldWeight;
+ line-height: 1.5rem;
+ display: inline-block;
}
- & li > a:hover {
- // other selector is more specific, needs important
- color: var(--tertiary) !important;
+ & div > a:hover {
+ color: var(--tertiary);
}
- & li > button {
+ & div > button {
color: var(--dark);
background-color: transparent;
border: none;
@@ -102,15 +106,15 @@
padding-right: 0;
display: flex;
align-items: center;
+ font-family: var(--headerFont);
- & h3 {
+ & span {
font-size: 0.95rem;
display: inline-block;
color: var(--secondary);
- font-weight: 600;
+ font-weight: $semiBoldWeight;
margin: 0;
line-height: 1.5rem;
- font-weight: bold;
pointer-events: none;
}
}
@@ -124,10 +128,21 @@
backface-visibility: visible;
}
-div:has(> .folder-outer:not(.open)) > .folder-container > svg {
+li:has(> .folder-outer:not(.open)) > .folder-container > svg {
transform: rotate(-90deg);
}
.folder-icon:hover {
color: var(--tertiary);
}
+
+.no-background::after {
+ background: none !important;
+}
+
+#explorer-end {
+ // needs height so IntersectionObserver gets triggered
+ height: 4px;
+ // remove default margin from li
+ margin: 0;
+}
--
Gitblit v1.10.0