-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
172 lines (165 loc) · 5.15 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="A place for Freakybob.">
<meta content="Freakyblog" property="og:title" />
<meta content="The blog for all things freaky!" property="og:description" />
<meta content="https://freakybob-team.github.io/Freakyblog/" property="og:url" />
<meta content="https://wpamelia.com/wp-content/uploads/2019/04/Lipsum.jpg" property="og:image" />
<meta content="#006b79" data-react-helmet="true" name="theme-color" />
<title>Freakyblog</title>
<link rel="icon" type="image/x-icon" href="icon.png">
</head>
<style>
body {
background-color: rgb(3, 102, 102);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
margin: 0;
padding: 0;
font-family: 'Comic Sans MS', sans-serif;
min-height: 100vh;
min-width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
color: rgb(1, 160, 200);
}
h1 {
text-align: center;
color: rgb(218, 203, 3);
font-size: 42px;
margin-top: 30px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
h2 {
text-align: center;
color: rgb(225, 246, 4);
}
h3{
text-align: center;
color: rgb(3, 246, 209);
font-size: 20px;
}
#para1 {
text-align: center;
color: black;
}
#para2 {
text-align: center;
color: rgb(3, 246, 209);
}
button {
margin-top: 12px;
padding: 15px 25px;
font-size: 18px;
cursor: pointer;
background-color: rgb(172, 147, 5);
color: white;
border: none;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
max-width: 220px;
width: 100%;
}
button:hover {
background-color: rgb(8, 111, 126);
transform: translateY(-3px) scale(1.05);
box-shadow: 0 6px 8px rgba(3,102,102,255);
}
.popup {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(3,102,102,255);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
opacity: 1;
transition: opacity 3s ease;
}
.popup.fade-out {
opacity: 0;
}
.popup-content {
background: rgb(101, 255, 247);
padding: 25px;
text-align: center;
border-radius: 12px;
max-width: 90%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
animation: fadeIn 0.9s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
} #popup-text {
color: rgb(255, 34, 34);
}
#home {
background-color: rgb(1, 83, 103);
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
position: absolute;
top: 10px;
left: 10px;
cursor: pointer;
border-radius: 12px;
max-width: 250px;
transition: all 0.2s ease-in-out;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#home:hover {
background-color: rgb(196, 35, 224);
transform: translateY(-3px) scale(1.05);
}
</style>
<div id="sound-popup" class="popup">
<div class="popup-content">
<p id="popup-text"><strong>Welcome to the Freakyblog!</strong></p>
<button id="thanks-button">Thanks!</button>
</div>
</div>
<a href="https://freakybob.site"><button id="home">Go to the main site! (freakybob.site)</button></a>
<h1>Welcome to the Freakyblog!</h1>
<h2>A blog for all things freakybob.site!</h2>
<p id="para1">--------------------------------------------------------------------------</p>
<h3>Hello!</h3>
<p id="para2"> This is our official blog, which will showcase a number of things...</p>
<a href="blogs/helloworld.html"><button>Read more</button></a>
<audio src="audio/19 Transfer Tool Menus.mp3" loop></audio>
<script>
document.addEventListener('DOMContentLoaded', () => {
const popup = document.getElementById('sound-popup');
const thanksButton = document.getElementById('thanks-button');
const music = new Audio('audio/19 Transfer Tool Menus.mp3');
thanksButton.addEventListener('click', () => {
popup.classList.add('fade-out');
setTimeout(() => {
popup.remove();
music.play();
}, 3000);
});
});
</script>
</body>
</html>