From 54bb55c4b69974ae43e88b85ac15ff421122a52d Mon Sep 17 00:00:00 2001 From: triccsr Date: Fri, 13 Dec 2024 20:18:12 +0800 Subject: [PATCH] decrease toc font-size --- assets/scss/custom.scss | 11 ++++++++++- themes/hugo-theme-stack | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 78d5a7f..35721f4 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -12,7 +12,7 @@ --body-background: #dddddd; --accent-color: #21364b; - --accent-color-darker: #1b2a3a; + --accent-color-darker: #556d88; --body-text-color: #40454a; @@ -30,3 +30,12 @@ a { color: var(--link-text-color); } } +[data-scheme="light"] { + --pre-text-color: #272822; + --pre-background-color: #f5f5f5; +} +.widget--toc{ + #TableOfContents { + font-size: 1.4rem; + } +} \ No newline at end of file diff --git a/themes/hugo-theme-stack b/themes/hugo-theme-stack index 005768b..213ac4d 160000 --- a/themes/hugo-theme-stack +++ b/themes/hugo-theme-stack @@ -1 +1 @@ -Subproject commit 005768b3d4de565369e42cad8626c10533feb2a0 +Subproject commit 213ac4d12cc4e221e8f593b0eb30cee149524db6