diff --git a/hugo.toml b/hugo.toml index 0de0f8b7..b842c50d 100644 --- a/hugo.toml +++ b/hugo.toml @@ -96,6 +96,13 @@ hasCJKLanguage = true { title = "Rss订阅", url = "/rss.xml", icon = "ri-rss-fill" } ] + # ---------------------------------------------------------------------------- + # 移动端配置 (Mobile Configuration) + # ---------------------------------------------------------------------------- + [params.mobile] + show_social = false # 移动端是否显示社交图标 + show_hitokoto = false # 移动端是否显示一言 (打字机效果) + # ---------------------------------------------------------------------------- # 关于页面配置 (About Page Configuration) # ---------------------------------------------------------------------------- diff --git a/themes/Ying/assets/css/main.css b/themes/Ying/assets/css/main.css index 1a05a823..ad6e4aba 100644 --- a/themes/Ying/assets/css/main.css +++ b/themes/Ying/assets/css/main.css @@ -1179,6 +1179,10 @@ ul { /* Mobile Adaptation */ @media (max-width: 767px) { + .mobile-hide { + display: none !important; + } + .recent-posts .posts .post:first-of-type { margin-top: -10px; } diff --git a/themes/Ying/layouts/page/circles.html b/themes/Ying/layouts/page/circles.html index 412981de..cfc64145 100644 --- a/themes/Ying/layouts/page/circles.html +++ b/themes/Ying/layouts/page/circles.html @@ -413,10 +413,10 @@ const description = post.description ? post.description.replace(/"/g, '"') : ''; // Calculate delay for staggered animation - const delay = index * 50; + const delay = index * 100; html += ` - +
${post.title}
diff --git a/themes/Ying/layouts/partials/header.html b/themes/Ying/layouts/partials/header.html index 631e0423..abad1cbd 100644 --- a/themes/Ying/layouts/partials/header.html +++ b/themes/Ying/layouts/partials/header.html @@ -11,14 +11,14 @@
-
+ -
{{ .Site.Params.author.description }}
+
{{ .Site.Params.author.description }}