Skip to content

Commit ac9d5a3

Browse files
committed
Update 4 file.
(有背景图片喽!芜湖!There is a background picture!)
1 parent 8e40106 commit ac9d5a3

4 files changed

Lines changed: 17 additions & 6 deletions

File tree

include/bg.jpg

232 KB
Loading

include/prism.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pre[class*="language-"] {
1818
text-shadow: 0 -.1em .2em black;
1919
font-size: 1em;
2020
text-align: left;
21-
font-family: "JetBrains Mono";
21+
font-family: "JetBrains Mono",system-ui;
2222
white-space: pre;
2323
word-spacing: normal;
2424
word-break: normal;

index.html

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
<!DOCTYPE html>
1+
<!-- -*- conding: utf-8 -*- -->
22
<!--2025.7.27-->
3+
<!DOCTYPE html>
34
<html lang="zh-CN">
45
<head>
56
<meta charset="UTF-8">
@@ -15,17 +16,27 @@
1516
<style>
1617
@font-face {
1718
font-family: "JetBrains Mono";
18-
src: url("JetBrainsMono.ttf") format("truetype");
19+
src: url("include/JetBrainsMono.ttf") format("truetype");
1920
}
2021

22+
body {
23+
background-image: url("include/bg.jpg");
24+
background-size: cover;
25+
background-repeat: no-repeat;
26+
background-position: center center;
27+
background-attachment: fixed;
28+
min-height: 100%;
29+
background-color: #555555; /*避免无法加载导致出现纯白 Avoid failing to load and resulting in pure white*/
30+
}
31+
2132
.chinese {
22-
font-family: Tahoma;
33+
font-family: Tahoma,system-ui;
2334
}
2435
.english {
25-
font-family: "JetBrains Mono";
36+
font-family: "JetBrains Mono",system-ui;
2637
}
2738
.code {
28-
font-family: "JetBrains Mono";
39+
font-family: "JetBrains Mono",system-ui;
2940
}
3041
</style>
3142
</body>

0 commit comments

Comments
 (0)