Update style

This commit is contained in:
Théo Marchal 2024-05-20 23:37:10 +02:00
parent abd71c4e3e
commit fa650bf623
3 changed files with 15 additions and 4 deletions

View File

@ -1,2 +1,2 @@
docker build -t quartz-jpg .
cd custom && docker-compose up -d --force-recreate
cd custom && docker-compose up -d --force-recreate

View File

@ -8,7 +8,7 @@ import * as Plugin from "./quartz/plugins"
*/
const config: QuartzConfig = {
configuration: {
pageTitle: "[JPG]",
pageTitle: "Japanese",
enableSPA: true,
enablePopovers: true,
analytics: {
@ -66,7 +66,9 @@ const config: QuartzConfig = {
}),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: true, enableYouTubeEmbed: true }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.TableOfContents(),
Plugin.TableOfContents({
maxDepth: 4,
}),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Description(),
],

View File

@ -88,6 +88,10 @@ ul.overflow::after, ol.overflow::after {
font-size: 1.15rem;
}
& h4 {
font-size: 1.3rem;
}
& h3 {
font-size: 1.5rem;
}
@ -143,7 +147,7 @@ footer {
margin-top: 0.5rem;
}
.usage .p {
.usage p {
margin:0;
}
@ -170,4 +174,9 @@ footer {
.usage .right {
padding-left: 1rem;
}
.usage .r {
margin-left: 0.25rem;
margin-right: 0.25rem;
}