-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
270 lines (238 loc) · 6.48 KB
/
styles.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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
/* Disable text selection using the mouse */
* {
user-select: none; /* For most browsers */
-webkit-user-select: none; /* For Safari */
-moz-user-select: none; /* For Firefox */
-ms-user-select: none; /* For Internet Explorer/Edge */
}
/* Root Variables for Colors */
:root {
--main-text-color: #00BFFF; /* Light Sky Blue */
--button-color: #00BFFF; /* Button background color */
--button-hover-color: #1E90FF; /* Dodger Blue for hover */
--event-time-color: #1E90FF; /* Light blue for event time */
--bg-dark: #121212; /* Dark background color */
--bg-muted: rgba(26, 26, 26, 0.9); /* Slightly muted background for elements */
--text-color-light: #f3f3f3; /* Light text color */
--text-shadow-color: rgba(0, 0, 0, 0.3); /* Text shadow for depth */
}
/* Scrollbar Styles */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background-color: #2c2c2c;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background-color: #00BFFF; /* Light Sky Blue */
border-radius: 10px;
border: 3px solid #121212;
transition: box-shadow 0.3s ease-in-out, transform 0.2s ease;
}
/* Hover state for glowing effect */
::-webkit-scrollbar-thumb:hover {
background-color: #00BFFF;
box-shadow: 0 0 10px 4px #00BFFF, 0 0 20px 6px rgba(0, 191, 255, 0.8), 0 0 30px 8px rgba(0, 191, 255, 0.6);
transform: scale(1.1); /* Optional: add a slight scale effect for extra emphasis */
}
/* Body Styles */
body {
font-family: 'Orbitron', sans-serif; /* Using Orbitron for a cyberpunk look */
background-color: var(--bg-dark);
color: var(--text-color-light);
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: stretch;
min-height: 100vh;
padding: 0;
/* background-image: url('your-background-image.jpg');
*/
background-size: cover;
background-position: center;
background-attachment: fixed;
}
/* Container */
.cont {
width: 100%;
max-width: 1200px;
margin: 0 auto;
background-color: var(--bg-muted); /* Slightly darker for more contrast */
padding: 40px;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
backdrop-filter: blur(8px); /* Adding blur effect for background */
}
/* Event List */
.event-list {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.event {
display: flex;
align-items: center;
justify-content: space-between;
background-color: rgba(36, 38, 41, 0.7);
padding: 40px 50px;
border-radius: 8px;
transition: background-color 0.3s, transform 0.3s ease;
border: 1px solid #333;
width: 48%;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5); /* Added subtle shadow */
}
.event:hover {
background-color: #424242;
transform: translateY(-5px);
}
/* Event Time and Name */
.event-time,
.event-name {
color: white;
font-size: 1.1rem;
}
/* Event Time */
.event-time {
font-weight: bold;
color: var(--event-time-color); /* Light blue for event time */
font-size: 1.3rem;
margin-right: 15px;
}
/* Event Name */
.event-name {
flex: 1;
margin-left: 15px;
font-size: 1.1rem;
color: var(--text-color-light);
text-transform: capitalize;
}
/* Button Styling */
.join-btn {
background-color: var(--button-color); /* Light Sky Blue for button */
color: var(--bg-dark); /* Dark text on button */
padding: 8px 18px;
border-radius: 6px;
font-size: 1rem;
border: none;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.join-btn:hover {
background-color: var(--button-hover-color); /* Dodger Blue on hover */
transform: scale(1.1);
}
.join-btn:active {
background-color: var(--button-hover-color);
transform: scale(0.95);
}
/* Action Buttons */
.actions {
display: flex;
justify-content: center;
gap: 30px;
margin-top: 40px;
}
.actions button {
padding: 12px 30px;
background-color: var(--button-color); /* Light Sky Blue for button */
color: white;
font-size: 1rem;
border-radius: 8px;
border: none;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s ease;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}
.actions button:hover {
background-color: var(--button-hover-color);
transform: translateY(-3px);
}
.actions button:active {
background-color: var(--button-hover-color);
transform: translateY(1px);
}
/* Root Variables for Colors */
/* Existing Styles for Vertical CTF Text */
.vertical-ctf {
position: fixed; /* Fixed position ensures it's outside of the document flow */
right: -50px; /* Move it further to the right (adjust value as needed) */
top: 50%; /* Vertically center it */
transform: translateY(-50%); /* Adjust positioning to perfectly center vertically */
z-index: 1000; /* Make sure the text is above other content */
}
/* Styling the "CTF" Text with Glowing Effect */
.ctf-text {
font-family: 'Orbitron', sans-serif; /* You can choose another font too */
font-size: 18rem; /* Adjust text size */
font-weight: bold;
color: transparent; /* Make text transparent */
-webkit-text-stroke: 2px #00BFFF; /* Light Sky Blue color stroke, adjust thickness as needed */
writing-mode: vertical-rl; /* Vertical text orientation */
transform: rotate(180deg); /* Adjust the rotation to make the text readable */
text-shadow: 2px 2px 5px var(--text-shadow-color); /* Optional shadow effect */
position: relative; /* Ensure sparks are positioned relative to this text */
overflow: visible; /* Ensure sparks are visible outside the text */
animation: text-flicker 3s linear infinite; /* Flicker effect */
}
/* Glowing effect for the button */
.ctf-text::before,
.ctf-text::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 6px;
height: 6px;
border-radius: 50%;
background: #1E90FF; /* Dodger Blue color for sparks */
box-shadow: 0 0 8px #1E90FF, 0 0 10px #1E90FF;
opacity: 0;
}
.ctf-text::before {
animation-delay: 0.1s;
}
.ctf-text::after {
animation-delay: 0.2s;
}
@keyframes text-flicker {
0% {
opacity: 0.1;
}
2% {
opacity: 1;
}
8% {
opacity: 0.1;
}
9% {
opacity: 1;
}
12% {
opacity: 0.1;
}
20% {
opacity: 1;
}
25% {
opacity: 0.3;
}
30% {
opacity: 1;
}
70% {
opacity: 0.7;
}
72% {
opacity: 0.2;
}
77% {
opacity: 0.9;
}
100% {
opacity: 0.9;
}
}