style(css): 优化字体及调整部分元素内边距和高度
- 将全局字体改为“Source Han Sans SC”和“Noto Sans SC”系列,提高中文显示效果 - 更新CSS变量中的字体设置,保持一致性 - 调整下拉菜单内层元素的内边距,增强布局紧凑性 - 缩减下拉链接的内边距,优化空间利用 - 减少下拉详情链接的最小高度,改善视觉比例 - 移除部分标题元素的固定高度,允许更灵活的布局显示
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
:root {
|
:root {
|
||||||
font-family: KaiTi, '楷体', STKaiti, '华文楷体', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
|
font-family: 'Source Han Sans SC', 'Noto Sans SC', '思源黑体', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
|
||||||
color: #2f3239;
|
color: #2f3239;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
font-synthesis: none;
|
font-synthesis: none;
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
--muted: #7e8187;
|
--muted: #7e8187;
|
||||||
--light-bg: #f3f3f5;
|
--light-bg: #f3f3f5;
|
||||||
--card-shadow: 0 18px 50px rgba(38, 44, 58, 0.06);
|
--card-shadow: 0 18px 50px rgba(38, 44, 58, 0.06);
|
||||||
--el-font-family: KaiTi, '楷体', STKaiti, '华文楷体', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
|
--el-font-family: 'Source Han Sans SC', 'Noto Sans SC', '思源黑体', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
@@ -217,7 +217,7 @@ img {
|
|||||||
.dropdown-inner-flat {
|
.dropdown-inner-flat {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 12px 18px;
|
padding: 10px 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-groups {
|
.dropdown-groups {
|
||||||
@@ -259,7 +259,7 @@ img {
|
|||||||
|
|
||||||
.dropdown-links {
|
.dropdown-links {
|
||||||
min-width: 180px;
|
min-width: 180px;
|
||||||
padding: 22px 32px;
|
padding: 4px 32px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
@@ -270,7 +270,7 @@ img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-detail-link {
|
.dropdown-detail-link {
|
||||||
min-height: 52px;
|
min-height: 40px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@@ -2280,7 +2280,6 @@ img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.case-card-large h3 {
|
.case-card-large h3 {
|
||||||
height: calc(22px * 1.45 * 4);
|
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2946,7 +2945,6 @@ img {
|
|||||||
|
|
||||||
.case-card h3,
|
.case-card h3,
|
||||||
.case-card-large h3 {
|
.case-card-large h3 {
|
||||||
height: calc(20px * 1.45 * 4);
|
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user