diff --git a/styles/globals.css b/styles/globals.css index ad85a3a3..fac5bcc0 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -201,8 +201,8 @@ nav { } .next #announcement-content *{ - font-size:12px !important; - line-height:1.5 !important; + font-size:13px !important; + line-height:1.7 !important; } /* twikoo 评论区超链接样式 */ diff --git a/styles/notion.css b/styles/notion.css index f530543a..c309b68b 100644 --- a/styles/notion.css +++ b/styles/notion.css @@ -36,7 +36,7 @@ --notion-yellow_background: rgb(251, 243, 219); --notion-orange_background: rgb(250, 235, 221); --notion-brown_background: rgb(233, 229, 227); - --notion-gray_background: rgb(235, 236, 237); + --notion-gray_background: rgb(241 241 239); --notion-green_background: rgb(219, 237, 219); --notion-default_background: rgba(227, 226, 224); @@ -48,7 +48,7 @@ --notion-yellow_background_co: rgba(251, 243, 219, 0.3); --notion-orange_background_co: rgba(250, 235, 221, 0.3); --notion-brown_background_co: rgba(233, 229, 227, 0.3); - --notion-gray_background_co: rgba(235, 236, 237, 0.3); + --notion-gray_background_co: rgba(241, 241, 239, 0.3); --notion-green_background_co: rgba(219, 237, 219, 0.3); --notion-default_background_co: rgba(227, 226, 224, 0.3); diff --git a/themes/next/components/Announcement.js b/themes/next/components/Announcement.js index 6e7cfc45..4d9afc4a 100644 --- a/themes/next/components/Announcement.js +++ b/themes/next/components/Announcement.js @@ -14,7 +14,11 @@ const Announcement = ({ post, className }) => { {locale.COMMON.ANNOUNCEMENT} - {post && (
+ {post && (
)} diff --git a/themes/next/components/BlogPostCard.js b/themes/next/components/BlogPostCard.js index 97fe08ad..2fb0c279 100644 --- a/themes/next/components/BlogPostCard.js +++ b/themes/next/components/BlogPostCard.js @@ -23,6 +23,10 @@ const BlogPostCard = ({ post, showSummary }) => { @@ -30,10 +34,13 @@ const BlogPostCard = ({ post, showSummary }) => { -
+
+
{post.category && ( <> @@ -57,6 +64,7 @@ const BlogPostCard = ({ post, showSummary }) => {
+
{post.tagItems?.map(tag => ( @@ -65,7 +73,12 @@ const BlogPostCard = ({ post, showSummary }) => {
{(!showPreview || showSummary) && !post.results && ( -

+

{post.summary}

)} @@ -80,7 +93,11 @@ const BlogPostCard = ({ post, showSummary }) => { )} {showPreview && post?.blockMap && ( -
+
)} diff --git a/themes/next/components/Card.js b/themes/next/components/Card.js index d33586b6..a1c507b6 100644 --- a/themes/next/components/Card.js +++ b/themes/next/components/Card.js @@ -1,10 +1,6 @@ -const Card = ({ children, headerSlot, className }) => { - return
+const Card = (props) => { + const { children, headerSlot } = props + return
<>{headerSlot}
{children} diff --git a/themes/next/components/Logo.js b/themes/next/components/Logo.js index d78e523c..dd8caed2 100644 --- a/themes/next/components/Logo.js +++ b/themes/next/components/Logo.js @@ -4,12 +4,21 @@ import React from 'react' const Logo = props => { const { siteInfo, className } = props return ( - -
-
{siteInfo?.title}
-
{siteInfo?.description}
-
- - ); + +
+
{siteInfo?.title}
+
{siteInfo?.description}
+
+ + ) } export default Logo diff --git a/themes/next/components/MenuList.js b/themes/next/components/MenuList.js index 2607fd26..29611728 100644 --- a/themes/next/components/MenuList.js +++ b/themes/next/components/MenuList.js @@ -34,7 +34,12 @@ export const MenuList = (props) => { return ( <> {/* 大屏模式菜单 */} -