diff --git a/frontend/site/src/components/SiteNav.astro b/frontend/site/src/components/SiteNav.astro index 05d4b4f..f0c93d4 100644 --- a/frontend/site/src/components/SiteNav.astro +++ b/frontend/site/src/components/SiteNav.astro @@ -3,7 +3,6 @@ const links = [ { href: '/', label: '首页' }, { href: '/archive/', label: '归档' }, { href: '/tags/', label: '标签' }, - { href: '/site-map/', label: '站点地图' }, { href: '/rss.xml', label: 'RSS' } ]; --- diff --git a/frontend/site/src/components/themes/yar/YarArchive.astro b/frontend/site/src/components/themes/yar/YarArchive.astro index 8a3fd35..6a301ac 100644 --- a/frontend/site/src/components/themes/yar/YarArchive.astro +++ b/frontend/site/src/components/themes/yar/YarArchive.astro @@ -66,6 +66,7 @@ const { archiveYears } = Astro.props; @@ -299,6 +300,18 @@ const { archiveYears } = Astro.props; margin: 0; } + .yar-footer a { + color: inherit; + text-decoration: underline; + text-decoration-color: rgb(138 144 137 / 38%); + text-underline-offset: 0.22em; + } + + .yar-footer a:hover { + color: #53605a; + text-decoration-color: rgb(83 96 90 / 70%); + } + @media (max-width: 760px) { .yar-shell { padding-top: 24px; diff --git a/frontend/site/src/components/themes/yar/YarHome.astro b/frontend/site/src/components/themes/yar/YarHome.astro index dc76a9c..7eaac18 100644 --- a/frontend/site/src/components/themes/yar/YarHome.astro +++ b/frontend/site/src/components/themes/yar/YarHome.astro @@ -106,6 +106,7 @@ function formatPublishedAt(date: string): string { @@ -451,6 +452,18 @@ function formatPublishedAt(date: string): string { margin: 0; } + .yar-footer a { + color: inherit; + text-decoration: underline; + text-decoration-color: rgb(138 144 137 / 38%); + text-underline-offset: 0.22em; + } + + .yar-footer a:hover { + color: #53605a; + text-decoration-color: rgb(83 96 90 / 70%); + } + @media (max-width: 760px) { .yar-shell { padding-top: 24px; diff --git a/frontend/site/src/components/themes/yar/YarPost.astro b/frontend/site/src/components/themes/yar/YarPost.astro index d3ca4a7..6956230 100644 --- a/frontend/site/src/components/themes/yar/YarPost.astro +++ b/frontend/site/src/components/themes/yar/YarPost.astro @@ -56,6 +56,7 @@ function formatPublishedAt(value: string): string { @@ -300,6 +301,18 @@ function formatPublishedAt(value: string): string { margin: 0; } + .yar-footer a { + color: inherit; + text-decoration: underline; + text-decoration-color: rgb(138 144 137 / 38%); + text-underline-offset: 0.22em; + } + + .yar-footer a:hover { + color: #53605a; + text-decoration-color: rgb(83 96 90 / 70%); + } + @media (max-width: 760px) { .yar-shell { padding-top: 24px; diff --git a/frontend/site/src/components/themes/yar/YarTagPosts.astro b/frontend/site/src/components/themes/yar/YarTagPosts.astro index 1f3fdd4..10946a1 100644 --- a/frontend/site/src/components/themes/yar/YarTagPosts.astro +++ b/frontend/site/src/components/themes/yar/YarTagPosts.astro @@ -46,6 +46,7 @@ const { tag, posts } = Astro.props; @@ -212,6 +213,18 @@ const { tag, posts } = Astro.props; margin: 0; } + .yar-footer a { + color: inherit; + text-decoration: underline; + text-decoration-color: rgb(138 144 137 / 38%); + text-underline-offset: 0.22em; + } + + .yar-footer a:hover { + color: #53605a; + text-decoration-color: rgb(83 96 90 / 70%); + } + @media (max-width: 760px) { .yar-shell { padding-top: 24px; diff --git a/frontend/site/src/components/themes/yar/YarTags.astro b/frontend/site/src/components/themes/yar/YarTags.astro index b0b6b78..811f1dc 100644 --- a/frontend/site/src/components/themes/yar/YarTags.astro +++ b/frontend/site/src/components/themes/yar/YarTags.astro @@ -40,6 +40,7 @@ const { tags } = Astro.props; @@ -190,6 +191,18 @@ const { tags } = Astro.props; margin: 0; } + .yar-footer a { + color: inherit; + text-decoration: underline; + text-decoration-color: rgb(138 144 137 / 38%); + text-underline-offset: 0.22em; + } + + .yar-footer a:hover { + color: #53605a; + text-decoration-color: rgb(83 96 90 / 70%); + } + @media (max-width: 760px) { .yar-shell { padding-top: 24px;