-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
208 lines (181 loc) · 4 KB
/
style.css
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
/* Global Styles */
body {
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background: url('https://img.freepik.com/free-vector/watercolor-halloween-background_52683-43698.jpg') no-repeat center center fixed;
background-size: cover;
color: #fff;
text-align: center;
cursor: url('https://cdn-icons-png.flaticon.com/512/2838/2838880.png'), auto;
}
/* Header Style */
header {
padding: 20px;
position: relative;
}
h1 {
color: #d1a300;
font-size: 4rem;
font-family: 'Creepster', cursive;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
animation: flicker 1s infinite alternate;
margin-bottom: 10px;
}
@keyframes flicker {
0% { opacity: 1; }
50% { opacity: 0.4; }
100% { opacity: 1; }
}
p {
font-size: 1.2rem;
color: #fff;
margin: 0 20px;
line-height: 1.6;
}
/* Main Content */
main {
flex: 1;
padding: 20px;
}
update-styling-before-launch
/* Submission Section */
.submission-section {
/* padding: 20px; */
text-align: center;
}
/* H2 Styles */
main
h2 {
color: #f8e71c;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
font-size: 2.5rem; /* Increased font size */
font-family: 'Creepster', cursive; /* Keep spooky font for headings */
margin-bottom: 20px;
}
/* Buttons */
button {
update-styling-before-launch
font-size: 3em !important;
padding: 10px 20px;
padding: 15px 30px;
main
background-color: #333;
color: #fff;
font-family: 'Arial', sans-serif; /* Use readable font for buttons */
font-size: 1.2rem;
border: none;
border-radius: 5px;
box-shadow: 0 0 10px #fff;
cursor: pointer;
margin: 10px 0;
transition: background-color 0.3s ease, transform 0.3s ease;
}
button:hover {
background-color: #555;
transform: scale(1.05);
}
/* Boxes Styles */
.rules-box, .info-box {
max-width: 700px;
margin: 20px auto;
padding: 20px;
background-color: rgba(0, 0, 0, 0.7); /* Added semi-transparent background */
color: #fff;
border: 2px solid #fff;
border-radius: 20px; /* More rounded corners */
box-shadow: 0 0 15px #fff;
text-align: left;
font-size: 1.2rem;
line-height: 1.8;
}
.rules-box h2, .info-box h2 {
font-family: 'Creepster', cursive;
font-size: 2rem;
margin-top: 0;
}
.rules-box ol li, .info-box ul li, .info-box ol li {
margin-bottom: 10px;
}
/* Footer */
footer {
padding: 20px;
text-align: center;
background-color: rgba(0, 0, 0, 0.8);
color: #fff;
font-size: 1rem;
}
/* Stickers */
.stickers {
position: absolute;
top: 10px;
left: 0;
right: 0;
display: flex;
justify-content: space-between;
z-index: 10;
}
.sticker {
width: 60px;
height: auto;
}
.left {
margin-left: 20px;
}
.right {
margin-right: 20px;
}
/* Bubble Animation */
.bubble {
position: absolute;
width: 30px;
height: 30px;
background: url('https://static.wikia.nocookie.net/tastyplanet/images/f/f5/Tapioca_Pearl.png') no-repeat center center;
background-size: contain;
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0); opacity: 1; }
50% { transform: translateY(-20px); opacity: 0.7; }
100% { transform: translateY(0); opacity: 1; }
}
/* Overlay Styles */
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.9); /* Dark overlay */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 1000;
font-size: 3rem;
color: #f8e71c;
font-family: 'Creepster', cursive;
text-align: center;
}
/* Countdown Timer */
#countdown {
font-size: 2.5rem;
margin-top: 20px;
}
/* Adjustments for Readability */
ol, ul {
padding-left: 20px;
}
li {
margin-bottom: 10px;
}
a {
color: #f8e71c;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}