-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
103 lines (97 loc) · 2.11 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
<html>
<head>
<HEAD>
<META http-equiv="Content-Script-Type" content="text/javascript">
</HEAD>
<script>
function playRandomSong() {
var songs = ['1.mp3', '2.mp3'];
var randomIndex = Math.floor(Math.random() * songs.length);
var audio = document.getElementById('audioPlayer');
audio.src = "https://jp833.github.io/Songs/" + songs[randomIndex];
audio.play();
}
</script>
<style>
html {
min-height:100%;
background-image: url(https://jp833.github.io/SB Pic/SP.png);
background-size:cover;
background-repeat: no-repeat;
background-repeat:repeat-x;
background-attachment:fixed;
background-position: center;
position:absolute;
height:100%;
width: 100%;
margin:0;
}
body {
overflow: hidden;
}
#mainDiv {
height: 100%;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#textContainer {
background-color: rgba(0,0,0,0);
padding: 20px;
}
#mainDiv p {
font-family: Verdana;
font-size: 40px;
font-style: normal;
font-weight: bold;
text-decoration: none;
text-transform: none;
color: #fff;
}
#company, #comingSoon {
display: flex;
align-items: center;
justify-content: center;
flex-direction: row;
}
#icon {
margin: -5vw;
}
#icon img {
color: white;
height: auto;
width: 25vw;
margin: 3vw;
}
#company p {
font-size: 10vw;
}
#comingSoon p {
font-size: 4vw;
}
#round {
position: absolute;
align-items: center;
z-index: -1;
}
#round img {
}
#song {
background-color: transparent;
border: none;
}
</style>
</head>
<body>
<div id="mainDiv">
<audio controls autoplay>
<source src="https://jp833.github.io/Songs/1.mp3" type="audio/mpeg">
</audio>
<div id="round">
<img src="https://jp833.github.io/SB Pic/SB.png"></img>
</div>
</div>
</body>
</html>