diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..7ed3be2 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,13 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# Rider 忽略的文件 +/projectSettingsUpdater.xml +/contentModel.xml +/.idea.TH1_WebSite.iml +/modules.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/indexLayout.xml b/.idea/indexLayout.xml new file mode 100644 index 0000000..f5a863a --- /dev/null +++ b/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..c8397c9 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/css/styles.css b/css/styles.css index c8e3da9..d4d86ad 100644 --- a/css/styles.css +++ b/css/styles.css @@ -137,9 +137,14 @@ body { } .posts-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); - gap: 25px; + display: flex; + flex-direction: column; + gap: 40px; /* 可根据需要设置间距 */ +} + +.post-card { + max-width: 100%; + width: 100%; } /* --- Post Card Styles (Corrected and Improved) --- */ @@ -372,7 +377,7 @@ footer .footer-column ul li a:hover { justify-content: center; align-items: center; font-size: 1.2em; - margin: 8px; + margin: 20px 20px; transition: background-color 0.3s ease; } diff --git a/index.html b/index.html index 10ce90a..beb272a 100644 --- a/index.html +++ b/index.html @@ -51,50 +51,40 @@