|
3 | 3 | <!DOCTYPE html> |
4 | 4 | <html lang="zh-CN"> |
5 | 5 | <head> |
6 | | - <meta charset="UTF-8"> |
| 6 | + <meta charset="UTF-8"> |
7 | 7 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
8 | 8 | <meta name="renderer" content="webkit"> |
9 | 9 | <meta name="force-rendering" content="webkit"> |
|
17 | 17 | if (isIE()) { |
18 | 18 | window.alert("检测到为IE浏览器,即将跳转到Edge下载界面..."); |
19 | 19 | console.warn("用户使用IE浏览器"); |
20 | | - location.href("https://www.microsoft.com/zh-cn/edge/download"); |
| 20 | + location.href = "https://www.microsoft.com/zh-cn/edge/download"; |
21 | 21 | } else { |
22 | 22 | console.info("用户使用非IE浏览器"); |
23 | 23 | } |
24 | 24 | </script> |
25 | 25 | <meta name="author" content="这里是红蓝灯的个人网站,时不时发点文章"> |
26 | | - <title>首页 - 红蓝灯的个人网站</title> |
27 | | - <script src="include/prism.js"></script> |
28 | | - <link href="include/prism.css" rel="stylesheet"> |
| 26 | + <title>首页 - 红蓝灯的个人网站</title> |
| 27 | + <script src="include/prism.js"></script> |
| 28 | + <link href="include/prism.css" rel="stylesheet"> |
29 | 29 | </head> |
30 | 30 | <body class="line-numbers"> |
31 | | - <p class="chinese">警告!本网站处于测试阶段!</p> |
32 | | - <p class="english">Warning! Page is test!</p> |
33 | | - <script>window.alert("TEST!")</script> |
34 | | - <pre><code class="language-python">print("hi") |
35 | | -import tkinter</code></pre> |
36 | | - <style> |
37 | | - @font-face { |
38 | | - font-family: "JetBrains Mono"; |
39 | | - src: url("include/JetBrainsMono.ttf") format("truetype"); |
40 | | - } |
| 31 | + <p class="chinese">警告!本网站处于测试阶段!</p> |
| 32 | + <p class="english">Warning! Page is test!</p> |
| 33 | + <pre><code class="language-python">print("hi") |
| 34 | +import tkinter as tk |
| 35 | +</code></pre> |
| 36 | + <style> |
| 37 | + @font-face { |
| 38 | + font-family: "JetBrains Mono"; |
| 39 | + src: url("include/JetBrainsMono.ttf") format("truetype"); |
| 40 | + } |
41 | 41 |
|
42 | 42 | body { |
43 | 43 | background-image: url("include/bg.jpg"); |
|
49 | 49 | background-color: #555555; /*避免无法加载导致出现纯白 Avoid failing to load and resulting in pure white*/ |
50 | 50 | } |
51 | 51 |
|
52 | | - .chinese { |
53 | | - font-family: Tahoma,system-ui; |
54 | | - } |
55 | | - .english { |
56 | | - font-family: "JetBrains Mono",system-ui; |
57 | | - } |
58 | | - code { |
59 | | - font-family: "JetBrains Mono",system-ui; |
60 | | - } |
61 | | - </style> |
| 52 | + .chinese { |
| 53 | + font-family: Tahoma,system-ui; |
| 54 | + } |
| 55 | + .english { |
| 56 | + font-family: "JetBrains Mono",system-ui; |
| 57 | + } |
| 58 | + code { |
| 59 | + font-family: "JetBrains Mono",system-ui; |
| 60 | + } |
| 61 | + </style> |
62 | 62 | </body> |
63 | 63 | </html> |
0 commit comments