-
Notifications
You must be signed in to change notification settings - Fork 817
/
boot.html
executable file
·67 lines (60 loc) · 1.87 KB
/
boot.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Windows 12 Web Version</title> <!-- 优化:更具描述性的页面标题 -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- 优化:添加 viewport meta 标签,确保在移动设备上的适配性 -->
<style>
@font-face {
font-family: 'dos';
src: url(./fonts/dos.ttf);
}
html {
background-color: #000000;
}
* {
font-family: 'dos';
margin: 0; /* 优化:合并重复的 CSS 属性 */
padding: 0;
border: 0;
user-select: none;
scrollbar-width: none;
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
}
::-webkit-scrollbar {
display: none;
}
body {
background-color: black;
color: white;
cursor: none; /* 优化:使用 CSS 属性来隐藏鼠标指针 */
}
.loading {
display: flex;
align-items: center;
justify-content: center;
}
#info {
position: absolute;
bottom: 10px;
width: 100%;
}
</style>
</head>
<body id="body" scroll="no">
<div id="info">
<div class="loading">
<p>Starting</p>
<div id="load" style="background-color: #acabac; width: 200px; height: 20px;"></div>
<div id="back" style="background-color: #565656; width: 200px; height: 20px;"></div>
<br>
</div>
<p style="text-align: center;">Press F2 or touch screen to enter SETUP</p>
</div>
<script src="./scripts/jq.min.js"></script>
<script src="./scripts/boot_kernel.js"></script>
</body>
</html>