From cee2883c0889a65e2786d70eb81932f5ed017e59 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 26 Jul 2023 04:10:37 +0000
Subject: [PATCH] nested tag support and tag index page
---
quartz/styles/base.scss | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index bfde0f9..fd94a1a 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -1,6 +1,6 @@
+@use "./custom.scss";
@use "./syntax.scss";
@use "./callouts.scss";
-@use "./custom.scss";
@use "./variables.scss" as *;
html {
@@ -36,6 +36,8 @@
.math {
color: var(--darkgray);
fill: var(--darkgray);
+ overflow-wrap: anywhere;
+ hyphens: auto;
}
.math {
@@ -82,10 +84,6 @@
margin: 0 5vw;
}
- & p {
- overflow-wrap: anywhere;
- }
-
& article {
& > h1 {
font-size: 2rem;
@@ -125,14 +123,14 @@
flex-direction: row;
padding: 0;
width: initial;
- margin-top: 4rem;
+ margin-top: 2rem;
}
}
& .sidebar.left {
left: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
@media all and (max-width: $fullPageWidth) {
- gap: 1rem;
+ gap: 0rem;
align-items: center;
}
}
@@ -237,20 +235,19 @@
h2 {
font-size: 1.4rem;
- opacity: 0.95;
margin-top: 2.4rem;
}
h3 {
font-size: 1.12rem;
margin-top: 2.12rem;
- opacity: 0.9;
}
-h4, h5, h6 {
+h4,
+h5,
+h6 {
font-size: 1rem;
margin-top: 2rem;
- opacity: 0.85;
}
div[data-rehype-pretty-code-fragment] {
--
Gitblit v1.10.0