404.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>404 页面未找到</title>
  7. <style>
  8. body {
  9. font-family: 'Microsoft YaHei', Arial, sans-serif;
  10. background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  11. margin: 0;
  12. padding: 0;
  13. display: flex;
  14. justify-content: center;
  15. align-items: center;
  16. min-height: 100vh;
  17. color: white;
  18. text-align: center;
  19. }
  20. .error-container {
  21. background: rgba(255, 255, 255, 0.1);
  22. padding: 50px;
  23. border-radius: 20px;
  24. backdrop-filter: blur(10px);
  25. box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  26. }
  27. .error-code {
  28. font-size: 120px;
  29. font-weight: bold;
  30. margin: 0;
  31. text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
  32. }
  33. .error-message {
  34. font-size: 24px;
  35. margin: 20px 0;
  36. }
  37. .error-description {
  38. font-size: 16px;
  39. margin: 20px 0;
  40. opacity: 0.9;
  41. }
  42. .home-btn {
  43. display: inline-block;
  44. padding: 12px 30px;
  45. background: white;
  46. color: #f5576c;
  47. text-decoration: none;
  48. border-radius: 25px;
  49. font-weight: bold;
  50. margin-top: 20px;
  51. transition: transform 0.3s ease;
  52. }
  53. .home-btn:hover {
  54. transform: translateY(-2px);
  55. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  56. }
  57. .search-box {
  58. margin: 20px 0;
  59. }
  60. .search-input {
  61. padding: 10px 15px;
  62. border: none;
  63. border-radius: 25px;
  64. width: 250px;
  65. font-size: 14px;
  66. }
  67. </style>
  68. </head>
  69. <body>
  70. <div class="error-container">
  71. <h1 class="error-code">404</h1>
  72. <h2 class="error-message">页面未找到</h2>
  73. <p class="error-description">抱歉,您访问的页面不存在或已被移动。</p>
  74. <a href="/" class="home-btn">返回首页</a>
  75. </div>
  76. </body>
  77. </html>