From 76fa9bbe00eba4249b12ef7c86ccdac4faa6051f Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 23 Jul 2023 00:39:10 +0000
Subject: [PATCH] run prettier on ci
---
quartz/styles/base.scss | 50 +++++++++++++++++++++++++++++++++++---------------
1 files changed, 35 insertions(+), 15 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 2e56928..c6e343b 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -1,5 +1,6 @@
@use "./syntax.scss";
@use "./callouts.scss";
+@use "./custom.scss";
@use "./variables.scss" as *;
html {
@@ -20,7 +21,17 @@
border-radius: 5px;
}
-p, ul, text, a, tr, td, li, ol, ul, .katex, .math {
+p,
+ul,
+text,
+a,
+tr,
+td,
+li,
+ol,
+ul,
+.katex,
+.math {
color: var(--darkgray);
fill: var(--darkgray);
}
@@ -78,7 +89,7 @@
font-size: 2rem;
}
- & li:has(> input[type='checkbox']) {
+ & li:has(> input[type="checkbox"]) {
list-style-type: none;
padding-left: 0;
margin-left: -1.4rem;
@@ -143,7 +154,8 @@
}
}
- & .center, & footer {
+ & .center,
+ & footer {
width: $pageWidth;
margin-left: auto;
margin-right: auto;
@@ -194,9 +206,12 @@
}
}
-
-
-h1, h2, h3, h4, h5, h6 {
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
&[id] > a[href^="#"] {
margin: 0 0.5rem;
opacity: 0;
@@ -276,11 +291,11 @@
}
}
- &[data-line-numbers-max-digits='2'] > [data-line]::before {
+ &[data-line-numbers-max-digits="2"] > [data-line]::before {
width: 2rem;
}
-
- &[data-line-numbers-max-digits='3'] > [data-line]::before {
+
+ &[data-line-numbers-max-digits="3"] > [data-line]::before {
width: 3rem;
}
}
@@ -295,7 +310,9 @@
background: var(--lightgray);
}
-tbody, li, p {
+tbody,
+li,
+p {
line-height: 1.5rem;
}
@@ -306,7 +323,8 @@
border-collapse: collapse;
}
-td, th {
+td,
+th {
padding: 0.2rem 1rem;
border: 1px solid var(--gray);
}
@@ -330,7 +348,8 @@
background-color: var(--lightgray);
}
-audio, video {
+audio,
+video {
width: 100%;
border-radius: 5px;
}
@@ -339,7 +358,8 @@
flex: 1 1 auto;
}
-ul.overflow, ol.overflow {
+ul.overflow,
+ol.overflow {
height: 400px;
overflow-y: scroll;
@@ -353,9 +373,9 @@
&:after {
pointer-events: none;
- content: '';
+ content: "";
width: 100%;
- height: 50px;
+ height: 50px;
position: absolute;
left: 0;
bottom: 0;
--
Gitblit v1.10.0