update. 优化模板结构

This commit is contained in:
2026-04-02 11:01:25 +08:00
parent 66dd4916d1
commit 784c8bbb6e
10 changed files with 241 additions and 128 deletions
+10 -10
View File
@@ -241,7 +241,7 @@ body {
}
.nav-tabs .nav-item {
margin-bottom: -3px; /* 负边距,让 Tab 沉下去盖住强调线 */
/*margin-bottom: -3px; !* 负边距,让 Tab 沉下去盖住强调线 *!*/
margin-right: 5px;
}
@@ -251,7 +251,7 @@ body {
border-top-right-radius: 4px;
/* 4. 字体大小修正 */
font-size: 15px;
/*font-size: 15px;*/
font-weight: 600; /* 加粗 */
color: #555; /* 未选中时的文字颜色 */
@@ -364,16 +364,16 @@ body {
}
/* --- 自定义样式结束 --- */
.ad-banner {
display: flex;
justify-content: space-between;
padding: 30px 0 15px 0;
/* 可选:给图片加点样式,让它更好看 */
.link-image {
border-radius: 8px; /* 圆角 */
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 阴影 */
transition: transform 0.2s; /* 悬停动画 */
}
.ad-item {
width: 280px;
height: 120px;
/* 鼠标悬停时图片微微放大 */
.link-image:hover {
transform: scale(1.02);
}
.grid {