From 89fab0ed08496c8b368bd485b6c4cf2f625f2112 Mon Sep 17 00:00:00 2001
From: HouTeng Chan <ht-chen21@mails.tsinghua.edu.cn>
Date: Mon, 30 Sep 2024 03:36:24 +0000
Subject: [PATCH] Update file home.html

---
 wiki/pages/home.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/wiki/pages/home.html b/wiki/pages/home.html
index 3fd6ae9e..7fa78f9f 100644
--- a/wiki/pages/home.html
+++ b/wiki/pages/home.html
@@ -35,7 +35,7 @@
       position: relative;
     }
     .content-block {
-      background-color: rgba(255, 255, 255, 0.95);
+      background-color: rgba(255, 255, 255, 0.85); /* 将背景颜色设置为有透明度 */
       border-radius: 20px;
       padding: 20px;
       margin: 40px auto;
@@ -43,11 +43,11 @@
       box-shadow: 0 4px 8px rgba(0,0,0,0.1);
       transition: all 0.3s ease;
     }
-    /* 鼠标悬停效果 */
+
     .content-block:hover {
-      background-color: rgba(255, 255, 255, 1);
-      box-shadow: 0 8px 16px rgba(0,0,0,0.2);
-      transform: scale(1.02);
+      background-color: rgba(255, 255, 255, 0.95); /* 鼠标悬停时稍微提高透明度 */
+     box-shadow: 0 8px 16px rgba(0,0,0,0.2);
+     transform: scale(1.02);
     }
     .content {
       display: flex;
-- 
GitLab