Skip to content

Commit 52628bd

Browse files
authored
Merge pull request #436 from Ridhima10/cards
Cards
2 parents 0b3abda + 6201275 commit 52628bd

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

public/css/gamecard.css

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
}
2525

2626
.game-card {
27+
border-radius: 2rem;
2728
min-width: 100%;
2829
min-height: 450px;
2930
display: flex;
@@ -63,6 +64,7 @@
6364
}
6465

6566
.game-img {
67+
border-radius: 2rem;
6668
width: 96%;
6769
height: 96%;
6870
transition: all 0.3s ease-in-out;
@@ -74,14 +76,16 @@
7476
width: 100%;
7577
position: absolute;
7678
bottom: 10%;
77-
left: 10%;
79+
left: 5%;
7880
z-index: 2;
7981
}
8082

8183
.gradient-text {
82-
background: linear-gradient(#7cffff, #f054f3);
84+
background: linear-gradient(#f054f3, #7cffff);
8385
-webkit-background-clip: text;
8486
-webkit-text-fill-color: transparent;
87+
88+
8589
font-size: 35px;
8690
font-weight: bolder; /* Adjust font weight as needed */
8791
}
@@ -90,8 +94,8 @@
9094
width: 80%;
9195
font-size: 15px;
9296
display: none;
93-
font-weight: bold;
94-
background: linear-gradient(#7cffff, #f054f3);
97+
font-weight: bolder;
98+
background: linear-gradient(#743db8, #c535db);
9599
-webkit-background-clip: text;
96100
-webkit-text-fill-color: transparent;
97101
}
@@ -101,7 +105,8 @@
101105
padding: 10px;
102106
border-radius: 10px;
103107
border: none;
104-
background: linear-gradient(#7cffff, #f054f3);
108+
background: linear-gradient(#743db8, #c535db);
109+
color: white;
105110
font-weight: bold;
106111
bottom: 10%;
107112
right: 10%;
@@ -111,7 +116,7 @@
111116

112117
.game-btn:hover {
113118
cursor: pointer;
114-
background: linear-gradient(#f054f3, #7cffff);
119+
background: linear-gradient(#743db8, #c535db);
115120
}
116121

117122
@media (max-width: 1920px) {

0 commit comments

Comments
 (0)