From 533d68e642ca82b540d57a449d0e2c98ed921d6e Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 08 Aug 2023 06:56:50 +0000
Subject: [PATCH] most of creating components, increase legibility of bold in article and callouts
---
quartz/styles/base.scss | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 2c54527..5a6b5db 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -7,6 +7,8 @@
scroll-behavior: smooth;
-webkit-text-size-adjust: none;
text-size-adjust: none;
+ overflow-x: hidden;
+ width: 100vw;
}
body {
@@ -40,6 +42,7 @@
hyphens: auto;
}
+
.math {
font-size: 1.1rem;
&.math-display {
@@ -83,7 +86,7 @@
@media all and (max-width: $fullPageWidth) {
margin: 0 auto;
padding: 0 1rem;
- // max-width: 800px;
+ max-width: $pageWidth;
}
& article {
@@ -106,6 +109,10 @@
margin-top: 0;
margin-bottom: 0;
}
+
+ p > strong {
+ color: var(--dark);
+ }
}
& > #quartz-body {
@@ -164,9 +171,9 @@
& .center,
& footer {
- width: $pageWidth;
margin-left: auto;
margin-right: auto;
+ width: $pageWidth;
@media all and (max-width: $fullPageWidth) {
width: initial;
margin-left: 0;
@@ -309,10 +316,10 @@
border-radius: 5px;
overflow-x: auto;
border: 1px solid var(--lightgray);
+ position: relative;
&:has(> code.mermaid) {
border: none;
- position: relative;
}
& > code {
@@ -431,7 +438,7 @@
ul.overflow,
ol.overflow {
- height: 400px;
+ height: 300px;
overflow-y: scroll;
// clearfix
--
Gitblit v1.10.0