This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
/
style.css
339 lines (293 loc) · 6.59 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
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
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
@import url("https://fonts.googleapis.com/css?family=Lato");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,600;0,700;0,800;1,800&display=swap");
* {
margin: 0px;
padding: 0;
}
#logo {
width: 20vw;
height: 10vh;
position: absolute;
top: 10px;
left: 10px;
}
@media screen and (max-width: 1200px) {
#logo {
width: 20vh;
}
}
#hka {
width: 60px;
}
.same {
display: flex;
justify-content: space-between;
}
.github {
position: absolute;
top: 20px;
right: 40px;
z-index: 9999;
}
.github a {
text-decoration: none;
color: #000;
}
.card {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.centered-links {
display: flex;
gap: 10px;
align-items: center;
}
.viewport {
position: relative;
background: linear-gradient(90deg, #20e6b3, #8e11f3, #4c20d4);
background-size: 500% 500%;
height: 100%;
width: 100%;
-webkit-animation: AnimationName 10s ease infinite;
-moz-animation: AnimationName 10s ease infinite;
animation: AnimationName 10s ease infinite;
}
@-webkit-keyframes AnimationName {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@-moz-keyframes AnimationName {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes AnimationName {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.card p {
font-family: lato;
margin: 0px;
color: black;
font-weight: 400;
font-size: 15px;
line-height: 90%;
padding-left: 8%;
padding-right: 8%;
padding-top: 3%;
padding-bottom: 8%;
border-radius: 20px;
cursor: pointer;
transition: ease 1s;
-webkit-transition: ease 1s;
}
.card h3 {
font-family: lato;
margin: 0px;
color: black;
font-weight: 400;
font-size: 20px;
line-height: 90%;
padding-left: 8%;
padding-top: 8%;
padding-bottom: 3%;
border-radius: 20px;
cursor: pointer;
transition: ease 1s;
-webkit-transition: ease 1s;
}
h1 {
font-family: JetBrains Mono, monospace;
color: white;
font-weight: 400;
font-size: 35px;
line-height: 90%;
padding-bottom: 140px;
padding-top: 150px;
position: relative;
text-align: center;
}
.title {
width: 50%;
margin: auto;
padding-left: 0px;
padding-bottom: 0px;
}
.cards {
min-width: 80%;
position: relative;
margin-left: auto;
margin-right: auto;
padding-bottom: 500px;
display: grid;
grid-template-columns: repeat(4, 1fr);
justify-items: center;
align-items: center;
overflow: hidden;
grid-gap: 70px 10px;
}
@media screen and (max-width: 1200px) {
.cards {
grid-template-columns: 1fr;
}
}
.card {
width: 70%;
position: relative;
background-color: white;
margin: 1.13%;
border-radius: 5px;
transition: 1s;
-webkit-transition: 0.5s;
cursor: pointer;
flex: 1 1 auto;
}
.card:hover {
transform: scale(1.05);
box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 1200px) {
.card {
width: 30%;
margin: 1.6%;
}
}
@media screen and (max-width: 800px) {
.card {
width: 45%;
margin: 2.5%;
}
}
@media screen and (max-width: 500px) {
.card {
width: 80%;
margin: 2%;
}
}
.card_img {
width: 100%;
height: 150px;
position: reltive;
border-radius: 5px 5px 0px 0px;
background-size: cover;
background-position: center center;
background-color: #20e6b3;
transition: 1s;
-webkit-transition: 1s;
}
/* Add your card here */
/* Here make a new class .card(as your number below) and add the same path of url(assets/images/yourimage.png)*/
.card1 {
background-image: url(https://avatars.githubusercontent.com/u/103871719?v=4);
}
.card3 {
background-image: url(https://avatars.githubusercontent.com/u/83155556?v=4);
}
.card4 {
background-image: url(https://avatars.githubusercontent.com/u/145244516?s=400&u=7afb11cfb123b02dc3dd7eec17454c0667edabc5&v=4);
}
.card5 {
background-image: url(https://avatars.githubusercontent.com/u/112561276?s=96&v=4);
}
.card6 {
background-image: url(https://avatars.githubusercontent.com/u/116253210?v=4);
}
.card7 {
background-image: url(https://avatars.githubusercontent.com/u/96646046?v=4);
}
.card8 {
background-image: url(https://avatars.githubusercontent.com/u/100466756?s=80&u=a996c979f143b0b4248bd92919d22d5e75720522&v=4);
}
.card9 {
background-image: url(https://avatars.githubusercontent.com/u/77366500?v=4);
}
.card10 {
background-image: url(https://avatars.githubusercontent.com/u/98453988?s=400&u=330b0e0fff331ed4fca44621e42c66bb4ef81663&v=4);
}
.card11 {
background-image: url(https://avatars.githubusercontent.com/u/101285245?v=4);
}
.card12 {
background-image: url(https://avatars.githubusercontent.com/u/134498717?v=4);
}
.card13 {
background-image: url(https://avatars.githubusercontent.com/u/93820575?s=400&v=4);
}
.card14 {
background-image: url(https://avatars.githubusercontent.com/u/114168134?v=4);
}
.card15 {
background-image: url(https://avatars.githubusercontent.com/u/114892666?v=4);
}
.card16 {
background-image: url(https://avatars.githubusercontent.com/u/79664299?v=4);
}
.card17{
background-image: url(https://avatars.githubusercontent.com/u/96019291?s=400&u=9cdfa66352a6820656faafdef9e4c5deb639f11a&v=4);
}
.card18{
background-image: url(https://avatars.githubusercontent.com/u/137516726?v=4);
}
.card19{
background-image: url(https://avatars.githubusercontent.com/u/80118978?v=4);
}
.card20{
background-image: url(https://avatars.githubusercontent.com/u/114591777?v=4);
}
.card21{
background-image: url(https://avatars.githubusercontent.com/u/78205431?v=4);
}
.card22{
background-image: url(https://avatars.githubusercontent.com/u/125354714?v=4);
}
.line {
height: 2px;
width: 84%;
margin: auto;
background-color: #8e11f3;
}
.title input {
background: transparent;
border: 1px solid white;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 20px;
display: inline;
font-family: lato;
color: white;
font-size: 18px;
line-height: 90%;
border-radius: 30px;
width: 150px;
float: right;
margin-top: 30px;
}
.title textarea:focus,
input:focus {
outline: none;
}
.zoomed {
width: 100%;
}