diff --git a/themes/Ying/layouts/404.html b/themes/Ying/layouts/404.html
index eb341cfc..9c4177f6 100644
--- a/themes/Ying/layouts/404.html
+++ b/themes/Ying/layouts/404.html
@@ -10,19 +10,7 @@
返回首页
-
- 返回上一页
-
-
@@ -95,6 +83,7 @@
align-items: center;
gap: 8px;
border: 1px solid transparent;
+ box-sizing: border-box;
}
.error-btn.primary {
@@ -114,22 +103,6 @@
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
- .error-btn.secondary {
- background-color: transparent;
- color: var(--text-content-color);
- border-color: var(--frame-color);
- }
-
- [data-theme="dark"] .error-btn.secondary {
- color: var(--text-content-dark-color);
- border-color: var(--frame-dark-color);
- }
-
- .error-btn.secondary:hover {
- background-color: var(--bankuai-color);
- transform: translateY(-2px);
- }
-
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
@@ -142,9 +115,13 @@
.error-actions {
flex-direction: column;
gap: 15px;
+ width: 100%;
+ padding: 0 20px;
+ box-sizing: border-box;
}
.error-btn {
width: 100%;
+ max-width: 100%;
justify-content: center;
}
}