Skip to content

Commit 95dbbd7

Browse files
CopilotTechQuery
andcommitted
Replace all rgba() with rgb() for solid colors and high contrast
Co-authored-by: TechQuery <[email protected]>
1 parent e9f2f7d commit 95dbbd7

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

styles/Hackathon.module.less

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
top: -50%;
1313
left: -50%;
1414
animation: grid-animation 20s linear infinite;
15-
background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
15+
background: radial-gradient(circle, rgb(99, 102, 241) 1px, transparent 1px);
1616
background-size: 50px 50px;
1717
width: 200%;
1818
height: 200%;
@@ -34,7 +34,7 @@
3434
margin-bottom: 1rem;
3535
font-weight: 700;
3636
font-size: 3rem;
37-
text-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
37+
text-shadow: 0 0 20px rgb(99, 102, 241);
3838
}
3939

4040
.description {
@@ -48,15 +48,15 @@
4848
backdrop-filter: blur(10px);
4949
transition: all 0.3s ease;
5050
margin-bottom: 1rem;
51-
border: 1px solid rgba(99, 102, 241, 0.3);
51+
border: 1px solid rgb(99, 102, 241);
5252
border-radius: 12px;
53-
background: rgba(15, 23, 42, 0.45);
53+
background: rgb(15, 23, 42);
5454
padding: 1.5rem;
5555

5656
&:hover {
5757
transform: translateY(-2px);
58-
box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
59-
border-color: rgba(99, 102, 241, 0.5);
58+
box-shadow: 0 0 20px rgb(99, 102, 241);
59+
border-color: rgb(119, 122, 245);
6060
}
6161
}
6262

@@ -80,14 +80,14 @@
8080
transition: all 0.3s ease;
8181
margin-bottom: 1rem;
8282
border-radius: 8px;
83-
background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
83+
background: linear-gradient(135deg, rgb(99, 102, 241), rgb(139, 92, 246));
8484
padding: 1.5rem;
8585
color: #fff;
8686

8787
&:hover {
8888
transform: translateY(-3px);
89-
box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
90-
background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2));
89+
box-shadow: 0 8px 20px rgb(99, 102, 241);
90+
background: linear-gradient(135deg, rgb(119, 122, 245), rgb(159, 112, 250));
9191
}
9292
}
9393

@@ -96,14 +96,14 @@
9696
transition: all 0.3s ease;
9797
margin-bottom: 1rem;
9898
border-radius: 8px;
99-
background: linear-gradient(135deg, rgba(244, 114, 182, 0.15), rgba(236, 72, 153, 0.1));
99+
background: linear-gradient(135deg, rgb(244, 114, 182), rgb(236, 72, 153));
100100
padding: 1.5rem;
101101
color: #1f2937;
102102

103103
&:hover {
104104
transform: translateY(-3px);
105-
box-shadow: 0 8px 20px rgba(244, 114, 182, 0.25);
106-
background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(236, 72, 153, 0.15));
105+
box-shadow: 0 8px 20px rgb(244, 114, 182);
106+
background: linear-gradient(135deg, rgb(248, 134, 196), rgb(240, 92, 167));
107107
}
108108
}
109109

@@ -113,13 +113,13 @@
113113
margin-bottom: 1rem;
114114
border-left: 4px solid;
115115
border-radius: 8px;
116-
background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.15));
116+
background: linear-gradient(135deg, rgb(99, 102, 241), rgb(139, 92, 246));
117117
padding: 1.5rem;
118118

119119
&:hover {
120120
transform: translateX(5px);
121-
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
122-
background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2));
121+
box-shadow: 0 4px 15px rgb(99, 102, 241);
122+
background: linear-gradient(135deg, rgb(119, 122, 245), rgb(159, 112, 250));
123123
}
124124

125125
&.workshop {
@@ -181,24 +181,24 @@
181181
.projectCard {
182182
transition: all 0.3s ease;
183183
margin-bottom: 1.5rem;
184-
border: 1px solid rgba(244, 114, 182, 0.3);
184+
border: 1px solid rgb(244, 114, 182);
185185
border-radius: 12px;
186-
background: linear-gradient(135deg, rgba(244, 114, 182, 0.15), rgba(236, 72, 153, 0.1));
186+
background: linear-gradient(135deg, rgb(244, 114, 182), rgb(236, 72, 153));
187187
padding: 1.5rem;
188188

189189
&:hover {
190190
transform: translateY(-5px);
191-
box-shadow: 0 8px 25px rgba(244, 114, 182, 0.25);
192-
border-color: rgba(244, 114, 182, 0.5);
193-
background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(236, 72, 153, 0.15));
191+
box-shadow: 0 8px 25px rgb(244, 114, 182);
192+
border-color: rgb(248, 134, 196);
193+
background: linear-gradient(135deg, rgb(248, 134, 196), rgb(240, 92, 167));
194194
}
195195
}
196196

197197
.scoreCircle {
198198
display: flex;
199199
justify-content: center;
200200
align-items: center;
201-
box-shadow: 0 0 20px rgba(16, 185, 129, 0.35);
201+
box-shadow: 0 0 20px rgb(16, 185, 129);
202202
border-radius: 50%;
203203
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
204204
width: 60px;
@@ -210,8 +210,8 @@
210210

211211
// Circular avatars only for participants
212212
.avatar {
213-
box-shadow: 0 0 15px rgba(236, 72, 153, 0.25);
214-
border: 3px solid rgba(236, 72, 153, 0.4);
213+
box-shadow: 0 0 15px rgb(236, 72, 153);
214+
border: 3px solid rgb(236, 72, 153);
215215
border-radius: 50%;
216216
width: 80px;
217217
height: 80px;
@@ -220,14 +220,14 @@
220220

221221
&:hover {
222222
transform: scale(1.1);
223-
box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
223+
box-shadow: 0 0 20px rgb(236, 72, 153);
224224
}
225225
}
226226

227227
.skillBadge {
228228
display: inline-block;
229229
margin: 0.25rem;
230-
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
230+
box-shadow: 0 2px 8px rgb(99, 102, 241);
231231
border-radius: 20px;
232232
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
233233
padding: 0.25rem 0.75rem;
@@ -244,7 +244,7 @@
244244
}
245245

246246
.glowText {
247-
text-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
247+
text-shadow: 0 0 10px rgb(99, 102, 241);
248248
}
249249

250250
.participantCloud {

0 commit comments

Comments
 (0)