-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
408 lines (346 loc) · 10.2 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
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
html {
scroll-behavior: smooth;
}
@keyframes bg_change {
from {
background-color: black;
}
to {
background-color: rgb(30, 20, 60);
}
}
#one {
overflow: hidden;
}
#one img {
transition: .5s ease;
}
#one:hover img {
transform: scale(1.3);
}
#two {
overflow: hidden;
}
#two img {
transition: .5s ease;
}
#two:hover img {
transform: scale(1.3);
}
#three {
overflow: hidden;
}
#three img {
transition: .5s ease;
}
#three:hover img {
transform: scale(1.3);
}
#four {
overflow: hidden;
}
#four img {
transition: .5s ease;
}
#four:hover img {
transform: scale(1.3);
}
#five{
overflow: visible;
height: 100%; /* Set the height to the view height */
width: 100%; /* Maintain the aspect ratio */
object-fit: fill; /* Ensure the image covers the container without distortion */
}
.hidden {
opacity: 0;
transition: all 1.5s;
transform: translateX(-70%);
}
.show {
opacity: 1;
transform: translateX(0);
}
@media(prefers-reduced-motion) {
.hidden {
transition: none;
}
}
.skills p {
transition: .25s ease;
}
.skills p:hover {
transform: scale(1.5);
cursor: pointer;
}
.timeline {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.title {
box-shadow: 10px 5px 10px rgba(0, 0, 0, 0.2);
padding: 1rem 0rem 1rem 0.7rem;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
color: #fff;
font-size: 1.3rem;
background-color: #333;
}
.year {
background-color: #fff;
padding: 0.2rem 0.8rem;
border-radius: 10px;
color: #2c3e50;
font-size: 0.9rem;
margin: 0 0.5rem;
}
.gitBtn{
margin-right: 5px;
margin-bottom: 5px;
}
.linkBtn{
margin-left: 5px;
margin-bottom: 5px;
}
#timeline p {
padding: 2rem;
padding-top: 1rem;
color: #000;
}
#timeline ul {
padding: 50px 0;
}
/* create a line */
#timeline ul li {
list-style: none;
position: relative;
width: 7px;
margin: 0 auto;
padding-top: 50px;
background-color: #fff;
}
#timeline ul li .box {
position: relative;
bottom: 0;
width: 450px;
background-color: #fff;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
border-radius: 5px;
transform: translateX(400%);
transition: all 0.5s ease-in-out;
}
/* right side */
#timeline ul li:nth-child(odd) .box {
left: 50px;
}
/* left side */
#timeline ul li:nth-child(even) .box {
left: -500px;
transform: translateX(-400%);
}
#timeline ul li .box.show {
transform: translateX(0%);
transition: all 0.5s ease-in-out;
}
#timeline ul li i {
position: absolute;
left: 50%;
top: 40;
width: 15px;
height: 15px;
background: #fff;
transform: translateX(-50%);
border-radius: 50%;
}
#timeline .fa-brands,
#timeline .fa-solid {
display: flex;
align-items: center;
justify-content: center;
font-size: 1.7rem;
color: #f4d03f;
}
#timeline ul li:nth-child(odd) .box:before {
left: -15px;
border-width: 8px 16px 8px 0;
border-color: transparent #555;
}
#timeline ul li:nth-child(even) .box:before {
right: -15px;
border-width: 8px 0px 8px 16px;
border-color: transparent #555;
}
#text_info_small {
display: none;
}
@media (max-width: 900px) {
#text_info_small {
height: 300px;
display: block;
}
#text_info {
display: none;
}
#timeline ul li .box {
width: 350px;
}
#timeline ul li:nth-child(even) .box:beofre {
left: -15px;
border-width: 8px 16px 8px 0px;
border-color: transparent #555;
}
/* right side */
#timeline ul li:nth-child(odd) .box {
left: 40px;
}
/* left side */
#timeline ul li:nth-child(even) .box {
left: -390px;
}
}
@media (max-width: 768px) {
#timeline ul li {
margin-left: 30px;
}
#timeline ul li .box {
width: calc(100vw -130px);
}
/* left side conte */
#timeline ul li:nth-child(even) .box {
left: 40px;
}
#timeline ul li:nth-child(even) .box:before {
left: -15px;
border-width: 8px 16px 8px 0px;
border-color: transparent #555;
}
}
#ucsc {
padding-top: 0;
margin-top: 0;
}
#linkedinbtn {
margin-top: 15px;
}
body{
background-color: #000;
font-family: 'Moderustic', sans-serif;
}
.backstar {
position: relative;
top: 50%;
left: 50%;
height: 1px;
width: 1px;
background-color: #fff;
border-radius: 50%;
box-shadow: -42vw -4vh 0px 0px #fff,25vw -41vh 0px 0px #fff,-20vw 49vh 0px 1px #fff,5vw 40vh 1px 1px #fff,29vw 19vh 1px 0px #fff,-44vw -13vh 0px 0px #fff,46vw 41vh 0px 1px #fff,-3vw -45vh 0px 1px #fff,47vw 35vh 1px 0px #fff,12vw -8vh 1px 0px #fff,-34vw 48vh 1px 1px #fff,32vw 26vh 1px 1px #fff,32vw -41vh 1px 1px #fff,0vw 37vh 1px 1px #fff,34vw -26vh 1px 0px #fff,-14vw -49vh 1px 0px #fff,-12vw 45vh 0px 1px #fff,-44vw -33vh 0px 1px #fff,-13vw 41vh 0px 0px #fff,-36vw -11vh 0px 1px #fff,-23vw -24vh 1px 0px #fff,-38vw -27vh 0px 1px #fff,16vw -19vh 0px 0px #fff,28vw 33vh 1px 0px #fff,-49vw -4vh 0px 0px #fff,16vw 32vh 0px 1px #fff,36vw -18vh 1px 0px #fff,-25vw -30vh 1px 0px #fff,-23vw 24vh 0px 1px #fff,-2vw -35vh 1px 1px #fff,-25vw 9vh 0px 0px #fff,-15vw -34vh 0px 0px #fff,-8vw -19vh 1px 0px #fff,-20vw -20vh 1px 1px #fff,42vw 50vh 0px 1px #fff,-32vw 10vh 1px 0px #fff,-23vw -17vh 0px 0px #fff,44vw 15vh 1px 0px #fff,-40vw 33vh 1px 1px #fff,-43vw 8vh 0px 0px #fff,-48vw -15vh 1px 1px #fff,-24vw 17vh 0px 0px #fff,-31vw 50vh 1px 0px #fff,36vw -38vh 0px 1px #fff,-7vw 48vh 0px 0px #fff,15vw -32vh 0px 0px #fff,29vw -41vh 0px 0px #fff,2vw 37vh 1px 0px #fff,7vw -40vh 1px 1px #fff,15vw 18vh 0px 0px #fff,25vw -13vh 1px 1px #fff,-46vw -12vh 1px 1px #fff,-18vw 22vh 0px 0px #fff,23vw -9vh 1px 0px #fff,50vw 12vh 0px 1px #fff,45vw 2vh 0px 0px #fff,14vw -48vh 1px 0px #fff,23vw 43vh 0px 1px #fff,-40vw 16vh 1px 1px #fff,20vw -31vh 0px 1px #fff,-17vw 44vh 1px 1px #fff,18vw -45vh 0px 0px #fff,33vw -6vh 0px 0px #fff,0vw 7vh 0px 1px #fff,-10vw -18vh 0px 1px #fff,-19vw 5vh 1px 0px #fff,1vw 42vh 0px 0px #fff,22vw 48vh 0px 1px #fff,39vw -8vh 1px 1px #fff,-6vw -42vh 1px 0px #fff,-47vw 34vh 0px 0px #fff,-46vw 19vh 0px 1px #fff,-12vw -32vh 0px 0px #fff,-45vw -38vh 0px 1px #fff,-28vw 18vh 1px 0px #fff,-38vw -46vh 1px 1px #fff,49vw -6vh 1px 1px #fff,-28vw 18vh 1px 1px #fff,10vw -24vh 0px 1px #fff,-5vw -11vh 1px 1px #fff,33vw -8vh 1px 0px #fff,-16vw 17vh 0px 0px #fff,18vw 27vh 0px 1px #fff,-8vw -10vh 1px 1px #fff;
box-shadow:
-42vw -4vh 0px 0px #FFD700, /* Gold */
25vw -41vh 0px 0px #FF4500, /* OrangeRed */
-20vw 49vh 0px 1px #1E90FF, /* DodgerBlue */
5vw 40vh 1px 1px #32CD32, /* LimeGreen */
29vw 19vh 1px 0px #FF69B4, /* HotPink */
-44vw -13vh 0px 0px #8A2BE2, /* BlueViolet */
46vw 41vh 0px 1px #00CED1, /* DarkTurquoise */
-3vw -45vh 0px 1px #FF6347, /* Tomato */
47vw 35vh 1px 0px #FFD700, /* Gold */
12vw -8vh 1px 0px #FF4500, /* OrangeRed */
-34vw 48vh 1px 1px #1E90FF, /* DodgerBlue */
32vw 26vh 1px 1px #32CD32, /* LimeGreen */
32vw -41vh 1px 1px #FF69B4, /* HotPink */
0vw 37vh 1px 1px #8A2BE2, /* BlueViolet */
34vw -26vh 1px 0px #00CED1, /* DarkTurquoise */
-14vw -49vh 1px 0px #FF6347, /* Tomato */
-12vw 45vh 0px 1px #FFD700, /* Gold */
-44vw -33vh 0px 1px #FF4500, /* OrangeRed */
-13vw 41vh 0px 0px #1E90FF, /* DodgerBlue */
-36vw -11vh 0px 1px #32CD32, /* LimeGreen */
-23vw -24vh 1px 0px #FF69B4, /* HotPink */
-38vw -27vh 0px 1px #8A2BE2, /* BlueViolet */
16vw -19vh 0px 0px #00CED1, /* DarkTurquoise */
28vw 33vh 1px 0px #FF6347, /* Tomato */
-49vw -4vh 0px 0px #FFD700, /* Gold */
16vw 32vh 0px 1px #FF4500, /* OrangeRed */
36vw -18vh 1px 0px #1E90FF, /* DodgerBlue */
-25vw -30vh 1px 0px #32CD32, /* LimeGreen */
-23vw 24vh 0px 1px #FF69B4, /* HotPink */
-2vw -35vh 1px 1px #8A2BE2, /* BlueViolet */
-25vw 9vh 0px 0px #00CED1, /* DarkTurquoise */
-15vw -34vh 0px 0px #FF6347, /* Tomato */
-8vw -19vh 1px 0px #FFD700, /* Gold */
-20vw -20vh 1px 1px #FF4500, /* OrangeRed */
42vw 50vh 0px 1px #1E90FF, /* DodgerBlue */
-32vw 10vh 1px 0px #32CD32, /* LimeGreen */
-23vw -17vh 0px 0px #FF69B4, /* HotPink */
44vw 15vh 1px 0px #8A2BE2, /* BlueViolet */
-40vw 33vh 1px 1px #00CED1, /* DarkTurquoise */
-43vw 8vh 0px 0px #FF6347, /* Tomato */
-48vw -15vh 1px 1px #FFD700, /* Gold */
-24vw 17vh 0px 0px #FF4500, /* OrangeRed */
-31vw 50vh 1px 0px #1E90FF, /* DodgerBlue */
36vw -38vh 0px 1px #32CD32, /* LimeGreen */
-7vw 48vh 0px 0px #FF69B4, /* HotPink */
15vw -32vh 0px 0px #8A2BE2, /* BlueViolet */
29vw -41vh 0px 0px #00CED1, /* DarkTurquoise */
2vw 37vh 1px 0px #FF6347, /* Tomato */
7vw -40vh 1px 1px #FFD700, /* Gold */
15vw 18vh 0px 0px #FF4500, /* OrangeRed */
25vw -13vh 1px 1px #1E90FF, /* DodgerBlue */
-46vw -12vh 1px 1px #32CD32, /* LimeGreen */
-18vw 22vh 0px 0px #FF69B4, /* HotPink */
23vw -9vh 1px 0px #8A2BE2, /* BlueViolet */
50vw 12vh 0px 1px #00CED1, /* DarkTurquoise */
45vw 2vh 0px 0px #FF6347, /* Tomato */
14vw -48vh 1px 0px #FFD700, /* Gold */
23vw 43vh 0px 1px #FF4500, /* OrangeRed */
-40vw 16vh 1px 1px #1E90FF, /* DodgerBlue */
20vw -31vh 0px 1px #32CD32, /* LimeGreen */
-17vw 44vh 1px 1px #FF69B4, /* HotPink */
18vw -45vh 0px 0px #8A2BE2, /* BlueViolet */
33vw -6vh 0px 0px #00CED1, /* DarkTurquoise */
0vw 7vh 0px 1px #FF6347, /* Tomato */
-10vw -18vh 0px 1px #FFD700, /* Gold */
-19vw 5vh 1px 0px #FF4500, /* OrangeRed */
1vw 42vh 0px 0px #1E90FF, /* DodgerBlue */
22vw 48vh 0px 1px #32CD32, /* LimeGreen */
39vw -8vh 1px 1px #FF69B4, /* HotPink */
-6vw -42vh 1px 0px #8A2BE2, /* BlueViolet */
-47vw 34vh 0px 0px #00CED1, /* DarkTurquoise */
-46vw 19vh 0px 1px #FF6347, /* Tomato */
-12vw -32vh 0px 0px #FFD700, /* Gold */
-45vw -38vh 0px 1px #FF4500, /* OrangeRed */
-28vw 18vh 1px 0px #1E90FF, /* DodgerBlue */
-38vw -46vh 1px 1px #32CD32, /* LimeGreen */
49vw -6vh 1px 1px #FF69B4, /* HotPink */
-28vw 18vh 1px 1px #8A2BE2, /* BlueViolet */
10vw -24vh 0px 1px #00CED1, /* DarkTurquoise */
-5vw -11vh 1px 1px #FF6347, /* Tomato */
33vw -8vh 1px 0px #FFD700, /* Gold */
-16vw 17vh 0px 0px #FF4500, /* OrangeRed */
18vw 27vh 0px 1px #1E90FF, /* DodgerBlue */
-8vw -10vh 1px 1px #32CD32; /* LimeGreen */
animation: zoom 16s alternate infinite;
}
@keyframes zoom {
0%{
transform: scale(1);
}
100%{
transform: scale(1.5);
}
}
#hyperspace-text {
font-size: 3em;
animation: hyperspace 1s ease-out forwards;
}
@keyframes hyperspace {
0% {
transform: translateZ(1000px) scale(10);
opacity: 0;
}
100% {
transform: translateZ(0) scale(1);
opacity: 1;
}
}