diff --git a/quartz.config.ts b/quartz.config.ts index c99f434..929f1ee 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -15,6 +15,7 @@ const config: QuartzConfig = { ignorePatterns: ["private", "templates", ".obsidian", "obsidian_templates_"], defaultDateType: "modified", theme: { + cdnCaching: true, typography: { header: "Noto Serif JP", body: "Noto Serif JP", diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index 2fae353..be1c1f0 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -1,12 +1,16 @@ @use "./base.scss"; -$default-font-size: 0.8rem; +$root-font-size: 18px; +$default-font-size: 1rem; $default-line-height: 1.3rem; $header-font-size-base : $default-font-size * 1.2; $header-font-size-h6 : $default-font-size * 1.2; $header-line-height : 120%; $header_font: sans-serif; // put your custom CSS here! +html { + font-size: $root-font-size !important; +} h1 { font-size: 1.75rem !important; @@ -29,9 +33,6 @@ div.left.sidebar { - - - h2 { font-size: 1rem !important; font-family: $header_font !important; @@ -72,9 +73,9 @@ h6 { p { - font-size: 0.8rem; + font-size: 1rem; line-height: $default-line-height; - letter-spacing: .05rem !important; + letter-spacing: .025rem !important; margin-left: 1rem !important; }