-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplayer.html
More file actions
125 lines (110 loc) · 3.13 KB
/
Copy pathplayer.html
File metadata and controls
125 lines (110 loc) · 3.13 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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="./css/appui.css">
<script src="resource/v0.0.1/iconfont.js"></script>
<title>播放器</title>
<style>
body {
margin: 0;
padding: 0;
height: 100vh;
overflow: hidden;
}
h1 {
color: black;
text-align: center;
padding: 20px 0;
margin: 0;
text-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}
.container {
display: flex;
height: calc(100vh - 60px);
}
.video,
.music {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
transition: all .5s ease;
}
.video {
background-color: pink;
}
.music {
background-color: skyblue;
}
.video:hover {
background-color: palevioletred;
transform: scale(1.02);
box-shadow: 0 0 30px rgba(0, 0, 0, .2);
z-index: 1;
}
.music:hover {
background-color: dodgerblue;
transform: scale(1.02);
box-shadow: 0 0 30px rgba(0, 0, 0, .2);
z-index: 1;
}
.icon {
width: 1em;
height: 1em;
fill: currentColor;
font-size: 100px;
transition: all .5s ease;
filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3));
}
.video:hover .icon,
.music:hover .icon {
transform: scale(1.1);
}
.panel_title {
font-size: 28px;
margin: 20px 0 10px;
font-weight: bold;
text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.panel_description {
font-size: 16px;
opacity: 0.9;
max-width: 80%;
text-align: center;
}
a {
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
height: 100%;
justify-content: center;
}
</style>
</head>
<body>
<h1>选择一个播放器</h1>
<div class="container">
<div class="video">
<a href="https://www.bilibili.com/" target="_blank">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-bilibili"></use>
</svg>
<div class="panel-title">哔哩哔哩</div>
</a>
</div>
<div class="music">
<a href="https://music.thw.lol/" target="_blank">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-yinle"></use>
</svg>
<div class="panel-title">音乐播放器</div>
</a>
</div>
</div>
</body>
</html>