diff --git a/.vitepress/config.mts b/.vitepress/config.mts index a481c7e..0109e93 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -36,6 +36,7 @@ export default defineConfig({ outline: { label: 'TOC' }, + returnToTopLabel: 'returnToTopLabel', docFooter: { prev: '上一篇', next: '下一篇' diff --git a/.vitepress/theme/custom.css b/.vitepress/theme/custom.css new file mode 100644 index 0000000..21e2782 --- /dev/null +++ b/.vitepress/theme/custom.css @@ -0,0 +1,7 @@ +* { + scrollbar-width: thin; +} +*::-webkit-scrollbar { + width: 5px; + height: 5px; + } diff --git a/.vitepress/theme/giscusLayout.vue b/.vitepress/theme/giscusLayout.vue index 7b2318f..55575f9 100644 --- a/.vitepress/theme/giscusLayout.vue +++ b/.vitepress/theme/giscusLayout.vue @@ -1,11 +1,27 @@