-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
107 lines (89 loc) · 1.39 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="./theme.css" rel="stylesheet" type="text/css" media="all" />
<style>
html, body, #main {
margin: 0;
width: 100%;
height: 100%;
}
.player {
z-index: -20;
position: fixed;
}
.debug {
font-size: 24px;
font-weight: 800;
background: linear-gradient(rgb(100, 156, 255), rgb(214, 102, 251));
-webkit-background-clip: text;
color: transparent;
}
#status, #ass, #danmaku, #ipc-video {
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -10;
width: 100%;
height: 100%;
position: fixed;
}
#status {
z-index: -8;
}
#ass {
z-index: -9;
}
#danmaku {
z-index: -10;
}
#ipc-video {
z-index: -11;
}
.controls {
display: flex;
width: 100%;
height: 40px;
padding: 20px;
background-color: rgba(0, 0, 0, 0.8);
}
.controls {
opacity: 0;
transition: opacity 1s linear;
}
.controls:hover {
opacity: 1;
}
.control {
border-radius: 4px;
width: 50px;
height: 40px;
font-size: 23px;
border: none;
outline: none;
cursor: pointer;
background-color: rgba(255, 255, 255, 0.4);
margin-right: 5px;
}
.control:last-child {
margin: 0 0 0 5px;
}
.control:hover {
background: #fff;
}
.seek {
flex: 1;
height: 40px;
margin: 0 10px;
cursor: pointer;
outline: none;
}
</style>
</head>
<body>
<div id="main"></div>
<script src="./dist/renderer.js"></script>
</body>
</html>