tweak css
Some checks are pending
Build and Test / build-and-test (macos-latest) (push) Waiting to run
Build and Test / build-and-test (ubuntu-latest) (push) Waiting to run
Build and Test / build-and-test (windows-latest) (push) Waiting to run
Build and Test / publish-tag (push) Waiting to run
/ test (push) Waiting to run
Deploy Quartz site to GitHub Pages / build (push) Waiting to run
Deploy Quartz site to GitHub Pages / deploy (push) Blocked by required conditions
Docker build & push image / build (push) Waiting to run

This commit is contained in:
kaz saita 2024-10-24 17:15:20 +09:00
parent b41a2669fe
commit d11f963850
3 changed files with 99 additions and 7 deletions

View file

@ -16,8 +16,7 @@ const config: QuartzConfig = {
baseUrl: "notes.kinoshita-lab.org",
ignorePatterns: ["private", "templates", ".obsidian", "obsidian_templates_"],
defaultDateType: "modified",
theme: {
fontOrigin: "googleFonts",
theme: {
cdnCaching: true,
typography: {
header: "BIZ UDPGothic",

98
quartz.config.ts.orig Normal file
View file

@ -0,0 +1,98 @@
import { QuartzConfig } from "./quartz/cfg"
import * as Plugin from "./quartz/plugins"
/**
* Quartz 4.0 Configuration
*
* See https://quartz.jzhao.xyz/configuration for more information.
*/
const config: QuartzConfig = {
configuration: {
<<<<<<< HEAD
pageTitle: "kazbo public notes",
=======
pageTitle: "🪴 Quartz 4.0",
pageTitleSuffix: "",
>>>>>>> upstream/v4
enableSPA: true,
enablePopovers: true,
locale: "ja-JP",
baseUrl: "notes.kinoshita-lab.org",
ignorePatterns: ["private", "templates", ".obsidian", "obsidian_templates_"],
defaultDateType: "modified",
theme: {
fontOrigin: "googleFonts",
cdnCaching: true,
typography: {
header: "BIZ UDPGothic",
body: "BIZ UDMincho",
code: "Noto Mono",
},
colors: {
lightMode: {
light: "#faf8f8",
lightgray: "#e5e5e5",
gray: "#000000",
darkgray: "#000000",
dark: "#000000",
secondary: "#284b63",
tertiary: "#84a59d",
highlight: "rgba(143, 159, 169, 0.15)",
textHighlight: "#fff23688",
},
darkMode: {
light: "#161618",
lightgray: "#393639",
gray: "#ffffff",
darkgray: "#ffffff",
dark: "#ffffff",
secondary: "#7b97aa",
tertiary: "#84a59d",
highlight: "rgba(143, 159, 169, 0.15)",
textHighlight: "#b3aa0288",
},
},
},
},
plugins: {
transformers: [
Plugin.FrontMatter(),
Plugin.TableOfContents(),
Plugin.CreatedModifiedDate({
// you can add 'git' here for last modified from Git
// if you do rely on git for dates, ensure defaultDateType is 'modified'
priority: ["git"],
}),
Plugin.SyntaxHighlighting({
theme: {
light: "github-light",
dark: "github-dark",
},
keepBackground: false,
}),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Description(),
Plugin.Latex({ renderEngine: "katex" }),
],
filters: [Plugin.RemoveDrafts()],
emitters: [
Plugin.AliasRedirects(),
Plugin.ComponentResources(),
Plugin.ContentPage(),
Plugin.FolderPage(),
Plugin.TagPage(),
Plugin.ContentIndex({
enableSiteMap: false,
enableRSS: true,
}),
Plugin.Assets(),
Plugin.Static(),
Plugin.NotFoundPage(),
],
},
}
export default config

View file

@ -37,11 +37,6 @@ li {
font-size: $default-font-size;
}
div.left.sidebar {
padding-left: 1rem !important;
}
h2 {
font-size: 1rem !important;