-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathnewpage.html
99 lines (86 loc) · 1.85 KB
/
newpage.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Blank Tab</title>
<style>
body, html {
height: 100%;
margin: 0;
}
#bgimg {
height: 100%;
background-position: center;
background-size: cover;
position: relative;
color: white;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.topleft {
position: absolute;
top: 0;
left: 16px;
}
.middle {
width: 100%;
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
.bottom{
top: 95%;
font-size: "20px";
}
.orignal_image{
position: absolute;
top: 95%;
}
#myVideo {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
}
/* Add some content at the bottom of the video/page */
.content {
position: fixed;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
color: #f1f1f1;
width: 100%;
padding: 20px;
}
/* Style the button used to pause/play the video */
#myBtn {
width: 200px;
font-size: 18px;
padding: 10px;
border: none;
background: #000;
color: #fff;
cursor: pointer;
}
#myBtn:hover {
background: #ddd;
color: black;
}
</style>
</head>
<body>
<script defer src="index.js"></script>
<div id="bgimg">
<video muted loop id="myVideo"></video>
<div class="middle">
<span style="font-size: 20vh;font-weight: 100;text-shadow: 0 0 2px gray;" id="time"></span><br>
<span style=" font-size: 5vh;font-weight: 200;text-shadow: 0 0 2px gray;" id="date"></span><br><br>
<span style="font-size: 3vh;text-shadow: 0 0 2px gray;" id="battery"></span>
</div>
<div class="middle bottom" id="device">
</div>
</div>
</body>
</html>