-
Notifications
You must be signed in to change notification settings - Fork 25
/
index.html
110 lines (98 loc) · 1.69 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon"
href="/favicon.ico">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<style>
/* 部分标签 css 重置 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td,
section,
p,
span,
font,
div {
margin: 0;
padding: 0;
font-family: "Microsoft yahei";
}
html,
body {
margin: 0;
padding: 0;
width: 100%;
/* height: 100%; */
background-color: #f5f5f5;
overflow-x: hidden;
/* overflow-x: hidden; */
}
a,
a:visited {
color: #A9A9A9;
text-decoration: none;
}
ul,
ol,
li {
list-style: none;
}
.fa-mars {
color: #1E90FF;
}
.fa-venus {
color: #FF69B4;
}
/* 设置滚动条的样式 */
/* ::-webkit-scrollbar { */
/* width: 6px; */
/* display: none; */
/* } */
/* 滚动槽 */
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
border-radius: 10px;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #bbb;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
background: rgba(255, 0, 0, 0.2);
}
</style>
</head>
<body>
<div id="app"></div>
<script type="module"
src="/src/main.ts"></script>
</body>
</html>