|
12 | 12 | <meta http-equiv="Content-Language" content="zh-CN"> |
13 | 13 | <meta name="robots" content="noindex, nofollow"> |
14 | 14 | <title>404 - 红蓝灯的个人网站</title> |
| 15 | + <script> |
| 16 | + function random_err() { |
| 17 | + let cn_errs = ["404 找不到页面", "404 你的页面去玩蛋仔派对了,我找不到他", "404 你的页面去玩MC了,我找不到他"] |
| 18 | + let en_errs = ["404 No Page Found", "404 Your Page Went To The Eggy Party, I Can't Find him", "404 Your Page Went To The Minecraft, I Can't Find him"] |
| 19 | + let random_index = Math.floor(Math.random() * cn_errs.length); |
| 20 | + let random_word_cn = cn_errs[random_index]; |
| 21 | + let random_word_en = en_errs[random_index]; |
| 22 | + document.getElementById("cn_err").innerHTML = cn_errs[random_index]; |
| 23 | + document.getElementById("en_err").innerHTML = en_errs[random_index]; |
| 24 | + } |
| 25 | + window.onload = random_err; |
| 26 | + </script> |
15 | 27 | <style> |
16 | 28 | @font-face { |
17 | 29 | font-family: "JetBrains Mono"; |
|
46 | 58 | } |
47 | 59 | </style> |
48 | 60 | </head> |
49 | | -<body class="line-numbers"> |
50 | | -<div id="main" style="margin-left: 15%;margin-right: 15%;padding: 1% 2% 2%;border-radius: 25px;background: rgba(0, 0, 0, 0.25);backdrop-filter: blur(5px);"> |
51 | | - <p class="chinese">404 找不到页面</p> |
52 | | - <p class="english">404 No Page Found</p> |
53 | | -</div> |
54 | | -<div id="copyright" style="margin-left: 15%;margin-right: 15%;margin-top: 2.5%;padding: 1% 2% 3.5%;border-radius: 25px;background: rgba(0, 0, 0, 0.45);backdrop-filter: blur(5px);"> |
55 | | - <p class="chinese" style="text-align: center;">© 2025 红蓝灯 保留所有权利</p> |
56 | | - <p class="english" style="text-align: center;">© 2025 RBL All Rights Reserved</p> |
57 | | -</div> |
| 61 | +<body> |
| 62 | + <div id="main" style="margin-left: 15%;margin-right: 15%;padding: 1% 2% 2%;border-radius: 25px;background: rgba(0, 0, 0, 0.5);backdrop-filter: blur(5px);"> |
| 63 | + <p class="chinese" id="cn_err">404 找不到页面</p> |
| 64 | + <p class="english" id="en_err">404 No Page Found</p> |
| 65 | + </div> |
| 66 | + <div id="copyright" style="margin-left: 15%;margin-right: 15%;margin-top: 2.5%;padding: 1% 2% 2.5%;border-radius: 25px;background: rgba(0, 0, 0, 0.5);backdrop-filter: blur(5px);"> |
| 67 | + <p class="chinese" style="text-align: center;">© 2025 红蓝灯 保留所有权利</p> |
| 68 | + <p class="english" style="text-align: center;">© 2025 RBL All Rights Reserved</p> |
| 69 | + </div> |
58 | 70 | </body> |
59 | 71 | </html> |
0 commit comments