From 41d4804c1c5d94be263a8e03b4be2afa10257e90 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 23 Mar 2023 11:33:46 +0800 Subject: [PATCH] color --- docusaurus.config.js | 10 +++++----- src/css/custom.css | 5 ++++- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index c471bab..ac7846f 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -81,7 +81,7 @@ module.exports = { ], }, ], - copyright: `Copyright © ${new Date().getFullYear()} 前端周同学~`, + copyright: `©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号`, }, prism: { theme: lightCodeTheme, @@ -110,8 +110,8 @@ module.exports = { }, ], ], - // i18n: { - // defaultLocale: 'zh-cn', - // locales: ['en', 'zh-cn'], - // }, + i18n: { + defaultLocale: 'zh-cn', + locales: ['en', 'zh-cn'], + }, }; diff --git a/src/css/custom.css b/src/css/custom.css index 23789b7..2d0c125 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -25,7 +25,10 @@ .navbar__link{ color: #fff; } -.menu{ +.table-of-contents__link--active{ + color: #466aff; +} +html[data-theme=light] .menu{ background-image:linear-gradient(180deg,#f3f5f8 0%,#ffffff 100%); box-shadow:8px 6px 18px rgba(171, 202, 255, 0.24) inset; margin-bottom: 0px!important;