-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhonk.html
59 lines (51 loc) · 1.36 KB
/
honk.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Geiru my love</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="shortcut icon" type="image/png" href="favicon.png">
</head>
<body>
<style>
@import url('https://fonts.googleapis.com/css2?family=Short+Stack&display=swap');
body {
background-color: rgb(255, 130, 215);
/* cool thing by https://ne-ne-23.newgrounds.com/ */
background-image: url("assets/hmm/geiru/geiru_heart.png")
}
#geiru {
margin: auto;
position: absolute;
top: 42%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 600px;
}
#text {
/* thingies for it to center and position */
position: absolute; bottom: 0; left: 0; width: 100%; text-align: center;
/* color: white; */
font-family: 'Short Stack';
font-size: 80px;
/* -webkit-text-stroke: 2px whitesmoke; */
}
</style>
<div>
<div id="geiruDiv">
<img id="geiru" src="assets/hmm/geiru/geiru.gif">
</div>
<p id="text">honk honk</p>
</div>
<script>
function PlayAudio(audioURL) {
var audio = new Audio(audioURL);
audio.play();
}
PlayAudio("assets/hmm/geiru/MoKensTef - (s)he's mine.mp3")
</script>
</body>
</html>