-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (84 loc) · 2.79 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="description" content="影视剧观看、在线追剧" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<meta name="referrer" content="no-referrer" />
<title>首页</title>
<style>
:root {
--background: #ededed;
--foreground: #171717;
--weui-BG-0: #ededed;
--weui-BG-1: #f7f7f7;
--weui-BG-2: #fff;
--weui-BG-3: #f7f7f7;
--weui-BG-4: #4c4c4c;
--weui-BG-5: #fff;
--weui-FG-0: rgba(0, 0, 0, 1);
--weui-FG-HALF: rgba(0, 0, 0, 1);
--weui-FG-1: rgba(0, 0, 0, 0.6);
--weui-FG-2: rgba(0, 0, 0, 0.42);
--weui-FG-3: rgba(0, 0, 0, 0.1);
--weui-FG-4: rgba(0, 0, 0, 0.15);
--weui-FG-5: rgba(0, 0, 0, 0.05);
--weui-BG-COLOR-ACTIVE: #ececec;
--weui-RED: #fa5151;
--weui-BRAND: #07c160;
}
[data-theme="dark"] {
--background: #111;
--foreground: #f3f4f6;
--weui-BG-0: #111;
--weui-BG-1: #1e1e1e;
--weui-BG-2: #191919;
--weui-BG-3: #202020;
--weui-BG-4: #404040;
--weui-BG-5: #2c2c2c;
--weui-FG-0: rgba(255, 255, 255, 0.85);
--weui-FG-HALF: rgba(255, 255, 255, 0.65);
--weui-FG-1: rgba(255, 255, 255, 0.55);
--weui-FG-2: rgba(255, 255, 255, 0.35);
--weui-FG-3: rgba(255, 255, 255, 0.1);
--weui-FG-4: rgba(255, 255, 255, 0.15);
--weui-FG-5: rgba(255, 255, 255, 0.1);
--weui-BG-COLOR-ACTIVE: #373737;
--weui-RED: #fa5151;
--weui-BRAND: #07c160;
}
html,
body {
overscroll-behavior: none;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
margin: 0;
}
body {
width: 100vw;
height: 100vh;
font-family: system-ui, -apple-system, "Helvetica Neue";
}
[data-theme="light"] body {
background-color: #ededed;
}
[data-theme="dark"] body {
background-color: #111111;
}
img {
-webkit-user-drag: none;
}
video {
max-height: 100%;
height: unset;
}
</style>
</head>
<body>
<script>!function () { try { var d = document.documentElement, n = 'data-theme', s = 'setAttribute'; var e = localStorage.getItem('theme'); if ('system' === e || (!e && true)) { var t = '(prefers-color-scheme: dark)', m = window.matchMedia(t); if (m.media !== t || m.matches) { d.style.colorScheme = 'dark'; d[s](n, 'dark') } else { d.style.colorScheme = 'light'; d[s](n, 'light') } } else if (e) { d[s](n, e || '') } if (e === 'light' || e === 'dark') d.style.colorScheme = e } catch (e) { } }()</script>
<div id="root"></div>
<script defer type="module" src="/src/index.tsx"></script>
</body>
</html>