diff --git a/src/assets/style.css b/src/assets/style.css index daf933d..bb78c96 100644 --- a/src/assets/style.css +++ b/src/assets/style.css @@ -16,6 +16,12 @@ --color-blue: light-dark(oklch(40% 0.2 270), oklch(80% 0.2 270)); --color-green: light-dark(oklch(50% 0.1 150), oklch(80% 0.15 150)); --color-link: var(--color-blue); + + --size-nav: 3rem; + + @media (width < 768px) { + --size-nav: 4rem; + } } /* == 页面设置 == */ @@ -32,6 +38,8 @@ body { color: var(--color-fg-0); font-family: var(--font-sans); + + /* writing-mode: vertical-rl; */ } /* == 配置默认字体 == */ diff --git a/src/layout/FullLayoutV1.astro b/src/layout/FullLayoutV1.astro index d3fa422..6b4a3fe 100644 --- a/src/layout/FullLayoutV1.astro +++ b/src/layout/FullLayoutV1.astro @@ -4,9 +4,10 @@ import { Icon } from 'astro-icon/components' interface Props { title?: string + withGap?: boolean } -const { title = '小帕的小窝' } = Astro.props +const { title = '小帕的小窝', withGap = false } = Astro.props --- @@ -28,11 +29,6 @@ const { title = '小帕的小窝' } = Astro.props -
  • - 旧博客系统* -
  • 文章
  • @@ -42,7 +38,13 @@ const { title = '小帕的小窝' } = Astro.props > - +
    + {withGap &&
    @@ -116,15 +119,15 @@ const { title = '小帕的小窝' } = Astro.props diff --git a/src/pages/blogs.astro b/src/pages/blogs.astro index 270b42d..d87fac9 100644 --- a/src/pages/blogs.astro +++ b/src/pages/blogs.astro @@ -10,11 +10,11 @@ const page = isNaN(_page) ? 1 : Math.max(1, _page) const blogs = await listBlogs({ page }) --- - -
    + + +
      { blogs.map((blog) => ( @@ -24,7 +24,7 @@ const blogs = await listBlogs({ page }) )) }
    - +
    diff --git a/src/pages/index.astro b/src/pages/index.astro index 29d6260..8db1db1 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -175,6 +175,11 @@ try { 'https://r1kka.one/', "Rikka's Blog", ], + [ + 'https://shimizukaede.top/vite.svg', + 'https://shimizukaede.top', + 'Kaede 的博客', + ], [ 'https://nonerd.tech/assets/apple-touch-icon.png', 'https://nonerd.tech/', @@ -189,7 +194,7 @@ try { 'https://legacy.passthem.top/assets/lfxdxy-BogfTZvz.png', 'https://qm.qq.com/q/QOpCVZcvyS', '六方相的新月 (QQ)' - ] + ], ].map(b =>
    `网站「${b[2]}」的图标`