From 4f408dd83bb0c2f0c67721c577b719af91a501fc Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Thu, 1 Aug 2024 11:51:47 +0000 Subject: [PATCH] chore: update navbar, revert previous style changes --- .vitepress/config.mts | 23 ++++++++++++----------- .vitepress/theme/style.css | 8 ++++---- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 7ad188383..c5d994e06 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -82,26 +82,27 @@ export default defineConfig({ themeConfig: { search, footer: { - message: `${feedback} (rev: ${commitRef})` + message: `${feedback} (rev: ${commitRef})`, + copyright: `© ${new Date().getFullYear()}, nbats, taskylizard and contributors.` }, outline: 'deep', logo: '/fmhy.ico', nav: [ - { text: 'Beginners Guide', link: '/beginners-guide' }, - { text: 'Glossary', link: 'https://rentry.org/The-Piracy-Glossary' }, - { text: 'Guides', link: 'https://rentry.co/fmhy-guides' }, + { text: '📚 Beginners Guide', link: '/beginners-guide' }, + { text: '🔖 Glossary', link: 'https://rentry.org/The-Piracy-Glossary' }, + { text: '📑 Guides', link: 'https://rentry.co/fmhy-guides' }, { - text: 'Backups', + text: '💾 Backups', link: 'https://github.com/fmhy/FMHY/wiki/Backups' }, { - text: 'Ecosystem', + text: '🪅 Ecosystem', items: [ - { text: 'Posts', link: '/posts' }, - { text: 'Feedback', link: '/feedback' }, - { text: 'snowbin', link: 'https://pastes.fmhy.net' }, - { text: 'SearXNG', link: 'https://searx.fmhy.net/' }, - { text: 'Whoogle', link: 'https://whoogle.fmhy.net/' } + { text: '📰 Posts', link: '/posts' }, + { text: '💬 Feedback', link: '/feedback' }, + { text: '📋 snowbin', link: 'https://pastes.fmhy.net' }, + { text: '🔍 SearXNG', link: 'https://searx.fmhy.net/' }, + { text: '🔍 Whoogle', link: 'https://whoogle.fmhy.net/' } ] } ], diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index 0410da8fb..989c2b726 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -68,7 +68,7 @@ } .vp-doc a { - color: var(--vp-c-brand-soft); + color: var(--vp-c-brand-1); text-decoration: underline; text-underline-offset: 4px; text-decoration-style: solid; @@ -78,9 +78,9 @@ } .vp-doc a:hover { - color: var(--vp-c-brand-soft); - text-decoration-color: var(--vp-c-brand-soft); - -webkit-text-decoration-color: var(--vp-c-brand-soft); + color: var(--vp-c-brand-1); + text-decoration-color: var(--vp-c-brand-1); + -webkit-text-decoration-color: var(--vp-c-brand-1); } .vp-doc .custom-block a {