增加前端格式检查配置

This commit is contained in:
yml2213
2026-06-08 06:40:33 +08:00
parent 79ea3a476c
commit 500f511185
150 changed files with 7254 additions and 4013 deletions
+22 -7
View File
@@ -61,7 +61,9 @@
font-size: 15px;
font-weight: 800;
letter-spacing: 0.5px;
transition: opacity 0.2s, width 0.3s;
transition:
opacity 0.2s,
width 0.3s;
overflow: hidden;
white-space: nowrap;
}
@@ -168,7 +170,9 @@
}
.nav-text {
transition: opacity 0.2s, width 0.3s;
transition:
opacity 0.2s,
width 0.3s;
overflow: hidden;
white-space: nowrap;
}
@@ -256,8 +260,13 @@
}
@keyframes loginPulse {
0%, 100% { transform: translate(0, 0); }
50% { transform: translate(5%, 5%); }
0%,
100% {
transform: translate(0, 0);
}
50% {
transform: translate(5%, 5%);
}
}
.admin-login-panel {
@@ -408,7 +417,9 @@ h1 {
background: #ffffff;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
transition: transform 0.2s, box-shadow 0.2s;
transition:
transform 0.2s,
box-shadow 0.2s;
}
.metric-card:hover {
@@ -1054,7 +1065,9 @@ h1 {
background: #ffffff;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
transition: transform 0.2s, box-shadow 0.2s;
transition:
transform 0.2s,
box-shadow 0.2s;
}
.notification-item:hover {
@@ -1115,7 +1128,9 @@ h1 {
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
text-decoration: none;
transition: transform 0.2s, box-shadow 0.2s;
transition:
transform 0.2s,
box-shadow 0.2s;
}
.listing-card:hover {
+9 -2
View File
@@ -1,8 +1,15 @@
:root {
color: #1f2933;
background: #f6f8fb;
font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
BlinkMacSystemFont, "Segoe UI", sans-serif;
font-family:
Inter,
'PingFang SC',
'Microsoft YaHei',
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
sans-serif;
font-synthesis: none;
text-rendering: optimizeLegibility;
}
+6 -8
View File
@@ -649,13 +649,9 @@ h1 {
.pc-hero-content {
min-height: 360px;
border-radius: 28px;
background: linear-gradient(
135deg,
rgba(17, 24, 39, 0.82),
rgba(120, 53, 15, 0.72)
),
radial-gradient(circle at 82% 20%, rgba(251, 191, 36, 0.9), transparent 24%),
#111827;
background:
linear-gradient(135deg, rgba(17, 24, 39, 0.82), rgba(120, 53, 15, 0.72)),
radial-gradient(circle at 82% 20%, rgba(251, 191, 36, 0.9), transparent 24%), #111827;
padding: 48px;
color: #ffffff;
overflow: hidden;
@@ -882,7 +878,9 @@ h1 {
align-items: center;
border-radius: 22px;
padding: 14px;
transition: transform 0.18s ease, box-shadow 0.18s ease;
transition:
transform 0.18s ease,
box-shadow 0.18s ease;
}
.resource-card:hover {