50x.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>500 Internal Server Error</title>
  7. <style>
  8. body {
  9. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  10. background-color: #f8f9fa;
  11. color: #212529;
  12. text-align: center;
  13. margin: 0;
  14. padding: 0;
  15. height: 100vh;
  16. display: flex;
  17. flex-direction: column;
  18. justify-content: center;
  19. align-items: center;
  20. }
  21. .error-container {
  22. max-width: 500px;
  23. padding: 2rem;
  24. }
  25. .error-code {
  26. font-size: 4rem;
  27. font-weight: 700;
  28. color: #dc3545;
  29. margin-bottom: 1rem;
  30. }
  31. .error-title {
  32. font-size: 2rem;
  33. font-weight: 600;
  34. margin-bottom: 1rem;
  35. }
  36. .error-message {
  37. font-size: 1.1rem;
  38. margin-bottom: 2rem;
  39. color: #6c757d;
  40. }
  41. .back-link {
  42. display: inline-block;
  43. padding: 0.5rem 1rem;
  44. background-color: #007bff;
  45. color: white;
  46. text-decoration: none;
  47. border-radius: 4px;
  48. transition: background-color 0.15s ease-in-out;
  49. }
  50. .back-link:hover {
  51. background-color: #0056b3;
  52. }
  53. html[data-bs-theme="dark"] body {
  54. background-color: #151521;
  55. color: #ffffff;
  56. }
  57. html[data-bs-theme="dark"] .error-message {
  58. color: #adb5bd;
  59. }
  60. </style>
  61. </head>
  62. <body>
  63. <div class="error-container">
  64. <div class="error-code">500</div>
  65. <div class="error-title">Internal Server Error</div>
  66. <div class="error-message">抱歉,服务器遇到了一个意外情况,无法完成您的请求。</div>
  67. <a href="/" class="back-link">返回首页</a>
  68. </div>
  69. </body>
  70. </html>