403.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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>403 禁止访问</title>
  7. <style>
  8. body {
  9. font-family: 'Microsoft YaHei', Arial, sans-serif;
  10. background: linear-gradient(135deg, #667eea 0%, #764ba2 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: #667eea;
  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. </style>
  58. </head>
  59. <body>
  60. <div class="error-container">
  61. <h1 class="error-code">403</h1>
  62. <h2 class="error-message">禁止访问</h2>
  63. <p class="error-description">抱歉,您没有权限访问此页面。</p>
  64. <a href="/" class="home-btn">返回首页</a>
  65. </div>
  66. </body>
  67. </html>