From dde36fa5589a362b60b7b72eb7793a3f133e159c Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 07 Jun 2023 17:52:53 +0000
Subject: [PATCH] update gh actions

---
 quartz/styles/base.scss |   95 ++++++++++++++++++++++++++++-------------------
 1 files changed, 57 insertions(+), 38 deletions(-)

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index bf89e5b..d7a1891 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -1,4 +1,5 @@
 @import "./syntax.scss";
+@import "./callouts.scss";
 
 html {
   scroll-behavior: smooth;
@@ -23,7 +24,7 @@
   border-radius: 5px;
 }
 
-p, ul, text, a, tr, td, li, ol, ul {
+p, ul, text, a, tr, td, li, ol, ul, .katex {
   color: var(--darkgray);
   fill: var(--darkgray);
 }
@@ -66,8 +67,7 @@
 }
 
 blockquote {
-  font-style: italic;
-  margin-left: 0;
+  margin: 1rem 0;
   border-left: 3px solid var(--secondary);
   padding-left: 1rem;
   transition: border-color 0.2s ease;
@@ -85,12 +85,26 @@
   font-weight: revert;
   margin: 2rem 0 0;
 
-  &:hover > .hanchor {
-    color: var(--secondary);
-  }
-
   article > & > a {
-    color: var(--dark)
+    color: var(--dark);
+    &.internal {
+      background-color: transparent;
+    }
+  }
+}
+
+h1, h2, h3, h4, h5, h6 {
+  &[id] > a {
+    margin: 0 0.5rem;
+    opacity: 0;
+    transition: opacity 0.2s ease;
+    transform: translateY(-0.1rem);
+    display: inline-block;
+    font-family: var(--codeFont);
+    user-select: none;
+  }
+  &[id]:hover > a {
+    opacity: 1;
   }
 }
 
@@ -108,41 +122,41 @@
     margin-bottom: -0.8rem;
     color: var(--darkgray);
   }
+}
 
-  & pre {
-    font-family: var(--codeFont);
-    padding: 0.5rem 0;
-    border-radius: 5px;
-    overflow-x: scroll;
-    border: 1px solid var(--lightgray);
+pre {
+  font-family: var(--codeFont);
+  padding: 0.5rem;
+  border-radius: 5px;
+  overflow-x: scroll;
+  border: 1px solid var(--lightgray);
 
-    & > code {
-      background: none;
-      padding: 0;
-      font-size: 0.9rem;
-      counter-reset: line;
-      counter-increment: line 0;
-      display: grid;
+  & > code {
+    background: none;
+    padding: 0;
+    font-size: 0.85rem;
+    counter-reset: line;
+    counter-increment: line 0;
+    display: grid;
 
-      & .line {
-        padding: 0 0.75rem;
-        box-sizing: border-box;
-        border-left: 3px solid transparent;
+    & .line {
+      padding: 0 0.25rem;
+      box-sizing: border-box;
+      border-left: 3px solid transparent;
 
-        &.highlighted {
-          background-color: var(--highlight);
-          border-left: 3px solid var(--secondary);
-        }
+      &.highlighted {
+        background-color: var(--highlight);
+        border-left: 3px solid var(--secondary);
+      }
 
-        &::before {
-          content: counter(line);
-          counter-increment: line;
-          width: 1rem;
-          margin-right: 1rem;
-          display: inline-block;
-          text-align: right;
-          color: rgba(115, 138, 148, 0.4);
-        }
+      &::before {
+        content: counter(line);
+        counter-increment: line;
+        width: 1rem;
+        margin-right: 1rem;
+        display: inline-block;
+        text-align: right;
+        color: rgba(115, 138, 148, 0.4);
       }
     }
   }
@@ -205,3 +219,8 @@
     padding: 0 1em
   }
 }
+
+audio, video {
+  width: 100%;
+  border-radius: 5px;
+}

--
Gitblit v1.10.0