diff --git a/index.html b/index.html index 71cd88e..09bbed7 100644 --- a/index.html +++ b/index.html @@ -192,7 +192,7 @@ border-left: 4px solid #757575; } .article-preview { - white-space: pre-line; + white-space: pre-wrap; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; @@ -200,13 +200,24 @@ -webkit-box-orient: vertical; } .blog-preview { - white-space: pre-line; + white-space: pre-wrap; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; } + .article-content { + white-space: pre-wrap; + } + .article-link { + color: #212121; + text-decoration: underline; + cursor: pointer; + } + .dark-mode .article-link { + color: #E0E0E0; + } /* 响应式设计调整 */ @media (max-width: 768px) { @@ -278,7 +289,7 @@
${isEnglish ? "A blog is an informational website consisting of discrete, often informal diary-style text entries (posts).It is a website or online diary managed by an individual to post new articles, pictures or videos, used to record, express emotions or share information." : "博客是一个信息网站,由离散的、通常是非正式的日记式文本条目(帖子)组成。它是由个人管理的网站或在线日记,用于发布新的文章、图片或视频,用于记录、表达情感或分享信息。"}
-${isEnglish ? 'Email: ' : '邮箱:'}guangyinzhong@outlook.com