-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (52 loc) · 1.51 KB
/
Copy pathindex.html
File metadata and controls
56 lines (52 loc) · 1.51 KB
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
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MCTier - Minecraft 虚拟局域网联机工具</title>
<style>
/* 确保窗口背景完全透明 */
html, body {
margin: 0;
padding: 0;
background: transparent !important;
overflow: hidden;
}
#root {
background: transparent !important;
}
/* 隐藏浏览器窗口大小改变时的分辨率提示 */
/* 这是WebView在窗口大小改变时显示的提示 */
body::after,
html::after,
body::before,
html::before {
content: none !important;
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
pointer-events: none !important;
}
/* 隐藏所有可能的分辨率提示元素 */
[class*="resize-indicator"],
[class*="dimension-indicator"],
[id*="resize-indicator"],
[id*="dimension-indicator"],
[data-resize],
[data-dimension] {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
}
/* 隐藏WebView的内置提示 */
::-webkit-resizer {
display: none !important;
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>