diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index bb01b5c..536c348 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -39,8 +39,14 @@ export default defineConfig({ socialLinks: [ { icon: 'github', link: ' https://github.com/mengning/DevStar' } ], + // footer: [ + // copyright: 'Copyright © 2025-present devstar contributors', + // [Copyright © 2025-present Devstar Contributors](https://github.com/mengning/DevStar) + // { copyright: 'Copyright © 2025-present devstar contributors', link: 'https://github.com/mengning/DevStar' } + // ] as any, footer: { - copyright: 'Copyright © 2025-present devstar contributors', + message: 'Copyright © 2025-present DevStar Contributors', + copyright: '' // 留空避免重复 }, // 设置搜索框的样式 search: { diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index 2407c7a..c4b83d7 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -143,4 +143,29 @@ h2.text:hover { .dark .curtain { background-color: #1b1b1f !important; +} + +/* 底下著作权部分 */ +.VPFooter .message a { + /* 基础状态(非悬浮) */ + text-decoration: none; + color: inherit; + /* 继承父级文字颜色(匹配第一张图的灰色) */ + + /* 悬浮状态 */ + &:hover { + text-decoration: underline; + color: #2563eb; + /* 标准蓝色,色值可调整 */ + transition: all 0.2s ease; + /* 平滑过渡效果 */ + } +} + +/* 实现知识产权部分居中 */ +.vp-doc._copyright_ { + margin-left: 210px !important; + /* 强制右移 */ + width: calc(100% - 120px); + /* 防止溢出 */ } \ No newline at end of file diff --git a/docs/copyright/index.md b/docs/copyright/index.md new file mode 100644 index 0000000..df57835 --- /dev/null +++ b/docs/copyright/index.md @@ -0,0 +1,6 @@ +# 知识产权 + +![alt text](/public/intellectual-property-images1.png) +![alt text](/public/intellectual-property-images2.png) +![alt text](/public/intellectual-property-images3.png) +![alt text](/public/intellectual-property-images4.png) \ No newline at end of file diff --git a/docs/public/intellectual-property-images1.png b/docs/public/intellectual-property-images1.png new file mode 100644 index 0000000..5d47fd9 Binary files /dev/null and b/docs/public/intellectual-property-images1.png differ diff --git a/docs/public/intellectual-property-images2.png b/docs/public/intellectual-property-images2.png new file mode 100644 index 0000000..1a650ea Binary files /dev/null and b/docs/public/intellectual-property-images2.png differ diff --git a/docs/public/intellectual-property-images3.png b/docs/public/intellectual-property-images3.png new file mode 100644 index 0000000..4cfa3cc Binary files /dev/null and b/docs/public/intellectual-property-images3.png differ diff --git a/docs/public/intellectual-property-images4.png b/docs/public/intellectual-property-images4.png new file mode 100644 index 0000000..d01c9b4 Binary files /dev/null and b/docs/public/intellectual-property-images4.png differ