-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathselection.css
More file actions
126 lines (123 loc) · 2.41 KB
/
selection.css
File metadata and controls
126 lines (123 loc) · 2.41 KB
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
/* CSS for /projects */
body {
font-family: sans-serif;
font-size: 25px;
color: #ffffff;
text-align: left;
background-image: url('Images/mainbg.avif'); /* Update this line */
background-repeat: repeat;
background-size: cover;
}
.logo {
position: absolute;
top: 4px;
left: 10px;
padding: 10px;
}
.logo img {
max-width: 50px;
}
a {
text-decoration: none;
color: #0084ff;
}
.text-center {
text-align: center;
}
.game-link {
height: 400px;
width: 300px;
}
.game-tile {
background: linear-gradient(135deg, #3498db, #9b59b6); /* Blue to Purple gradient */
height: 400px;
width: 300px;
color: #ffffff;
border-radius: 30px;
-webkit-animation: scale-down-center 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
animation: scale-down-center 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.game-tile:hover {
text-decoration: none;
-webkit-animation: scale-up-center 0.3s cubic-bezier(0.39, 0.575, 0.565, 1) both;
animation: scale-up-center 0.3s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@-webkit-keyframes scale-up-center {
0% {
-webkit-transform: scale(1);
transform: scale(1);
}
100% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
}
@keyframes scale-up-center {
0% {
-webkit-transform: scale(1);
transform: scale(1);
}
100% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
}
@-webkit-keyframes scale-down-center {
0% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes scale-down-center {
0% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
.game-icon {
border-radius: 30px;
width: 300px;
height: 300px;
}
.game-title {
font-size: 30px;
color: #ffffff;
text-align: center;
}
.flex-container {
display: flex;
flex-direction: row;
order: 0;
flex-grow: 0;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.container {
padding: 10px;
}
.badge {
background-color: red;
color: white;
padding: 4px 8px;
text-align: center;
border-radius: 5px;
}
#mySearch {
width: 50%;
text-align: center;
font-size: 18px;
padding: 11px;
border: 2px solid #ddd;
border-radius: 30px;
background: linear-gradient(135deg, #8e44ad, #673ab7); /* Cool Purple Gradient */
color: #ffffff; /* White text color */
}