-
Notifications
You must be signed in to change notification settings - Fork 1
/
style_profile.css
461 lines (396 loc) · 8.91 KB
/
style_profile.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
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
/* ===== ===== Poppins Google Font ===== ===== */
@import url("https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i");
/* ===== =====>> Universal Selector <<===== ===== */
* {
padding: 0;
margin: 0;
font-size: 14px;
font-family: sans-serif;
list-style: none;
text-decoration: none;
font-family: "Poppins", sans-serif;
}
/* ===== =====>> Body Font Size <<===== ===== */
html {
font-size: 10px;
}
/* ===== =====>> Css Variables <<===== ===== */
:root {
/* =====>> Font Color <<===== */
--f1-color: #fff;
--f2-color: #000;
--f3-color: rgba(0, 0, 0, 0.8);
--f4-color: rgba(0, 0, 0, 0.6);
--f5-color: #0099cc;
--f6-color: #88cee6;
/* =====>> Background Color <<===== */
--bg1-color: #fff;
--bg2-color: #000;
--bg3-color: #33ccff;
--bg4-color: #33cc33;
--bg5-color: #0099cc;
--bg6-color: rgba(0, 0, 0, 0.4);
--bg7-color: rgba(0, 0, 0, 0.2);
--glass-bg: linear-gradient(
to right bottom,
rgba(255, 255, 255, 0.5),
rgba(255, 255, 255, 0.3)
);
--C-lg-bg: linear-gradient(45deg, #ff3399, #ff9933);
/* ===== =====>> Font Size <<===== ===== */
--xxxl-fs: 2.2rem;
--xxl-fs: 1.8rem;
--xl-fs: 1.6rem;
--l-fs: 1.4rem;
--m-fs: 1.2rem;
--s-fs: 1.1rem;
--xs-fs: 1rem;
/* =====>> Margin <<===== */
--m-2-5: 2.5rem;
--m-1-8: 1.8rem;
--m-1-5: 1.5rem;
--m-0-6: 0.6rem;
--m-0-5: 0.5rem;
--m-0-3: 0.3rem;
/* =====>> Padding <<===== */
--p-2-5: 2.5rem;
--p-1-5: 1.5rem;
--p-1-0: 1rem;
--p-0-8: 0.8rem;
--p-0-5: 0.5rem;
--p-0-4: 0.4rem;
--p-0-3: 0.3rem;
}
/* ===== =====>> Body Css <<===== ===== */
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
/* ===== =====>> Body Main-Background Css <<===== ===== */
.main_bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url(bg.png);
background-position: left;
z-index: -1;
filter: blur(10px);
}
/* ===== =====>> Main-Container Css <<===== ===== */
.container {
position: relative;
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-areas:
"header header"
"userProfile userDetails"
"work_skills timeline_about"
"work_skills timeline_about";
width: 85%;
height: 90vh;
background: var(--glass-bg);
padding: var(--p-1-5);
box-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 25px rgba(0, 0, 0, 0.08);
}
/* ===== =====>> Container Cards Grid-Area Css Start <<===== ===== */
header {
grid-area: header;
}
.userProfile {
grid-area: userProfile;
}
.work_skills {
grid-area: work_skills;
}
.userDetails {
grid-area: userDetails;
}
.timeline_about {
grid-area: timeline_about;
}
/* ===== =====>> Container Cards Css <<===== ===== */
.container .card {
background: var(--glass-bg);
backdrop-filter: blur(3rem);
border-radius: 0.5rem;
box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
padding: var(--p-1-5);
}
/* ===== =====>> Container Header/Navbar Css <<===== ===== */
.container header {
padding: 0 var(--p-2-5);
}
.container header .brandLogo {
display: flex;
align-items: center;
}
.container header .brandLogo figure img {
width: 3.5rem;
height: 3.5rem;
}
.container header .brandLogo span {
font-size: var(--xl-fs);
font-weight: 700;
margin-left: var(--m-0-5);
}
/* ===== =====>> User Main-Profile Css Start <<===== ===== */
.container .userProfile {
position: relative;
display: flex;
justify-content: center;
align-items: center;
padding: 0;
background: none;
backdrop-filter: none;
box-shadow: none;
}
.container .userProfile .profile figure img {
width: 18rem;
height: 18rem;
border-radius: 50%;
}
/* ===== =====>> Work & Skills Css Start <<===== ===== */
.container .work_skills {
padding: var(--p-1-5);
}
.work_skills .work .heading,
.work_skills .skills .heading {
position: relative;
font-size: var(--xs-fs);
color: rgba(0, 0, 0, 0.6);
text-transform: uppercase;
margin-bottom: var(--m-1-5);
}
.work_skills .work .heading::before,
.work_skills .skills .heading::before {
content: "";
position: absolute;
bottom: 0;
right: 0;
height: 0.1rem;
width: 88%;
background: var(--bg6-color);
}
.work_skills .work .primary,
.work_skills .work .secondary {
position: relative;
}
.work_skills .work .primary h1,
.work_skills .work .secondary h1 {
font-size: var(--l-fs);
color: var(--f3-color);
margin-bottom: var(--m-0-6);
}
.work_skills .work .primary span,
.work_skills .work .secondary span {
position: absolute;
top: 0;
right: 3rem;
font-weight: 700;
font-size: var(--s-fs);
color: var(--f5-color);
background: #e6f2ff;
padding: var(--p-0-4) var(--p-1-0);
border-radius: 0.4rem;
}
.work_skills .work .primary p,
.work_skills .work .secondary p {
margin-bottom: var(--m-1-8);
font-size: var(--m-fs);
color: rgba(0, 0, 0, 0.6);
line-height: 1.6rem;
}
/* =====>> Skills Bars Css <<===== */
.work_skills .skills ul li {
position: relative;
font-size: var(--m-fs);
line-height: 1.8rem;
margin: var(--m-0-5);
color: var(--f2-color);
font-weight: 500;
}
.work_skills .skills ul li::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 0;
margin: auto;
height: 0.2rem;
background: var(--bg3-color);
animation: skills 8s linear infinite;
animation-delay: calc(-2s * var(--i));
}
@keyframes skills {
0% {
width: 50%;
filter: hue-rotate(180deg);
}
50% {
width: 0;
}
100% {
width: 50%;
filter: hue-rotate(0);
}
}
/* ===== =====>> User Details Css Start <<===== ===== */
.userDetails {
position: relative;
padding: var(--p-1-5) var(--p-2-5);
}
.userDetails .userName h1 {
font-size: var(--xxxl-fs);
}
.userDetails .userName .map {
position: absolute;
top: 2.5rem;
left: 18.5rem;
display: flex;
justify-content: center;
align-items: center;
}
.userDetails .userName .map .ri {
margin-right: var(--m-0-3);
font-size: var(--m-fs);
}
.userDetails .userName .map span {
font-size: var(--s-fs);
color: var(--f3-color);
font-weight: 700;
}
.userDetails .userName p {
font-size: var(--m-fs);
font-weight: 700;
color: var(--f5-color);
margin-bottom: var(--m-1-8);
}
.userDetails .rank {
position: relative;
margin-bottom: var(--m-1-8);
}
.userDetails .rank .heading {
font-size: var(--xs-fs);
color: var(--f4-color);
text-transform: uppercase;
margin-bottom: var(--m-0-6);
}
.userDetails .rank span {
font-size: var(--xxl-fs);
font-weight: 700;
}
.userDetails .rank .rating {
position: absolute;
top: 2.7rem;
left: 3.5rem;
}
.userDetails .rank .rating .rate {
color: var(--f5-color);
font-size: var(--l-fs);
}
.userDetails .rank .rating .underrate {
color: var(--f6-color);
}
.userDetails .btns ul,
.userDetails .btns ul li {
display: flex;
align-items: center;
}
.userDetails .btns ul li {
margin-right: var(--m-2-5);
border-radius: 0.5rem;
}
.userDetails .btns ul li .ri {
margin-right: var(--m-0-5);
font-size: var(--xl-fs);
}
.userDetails .btns ul li a {
font-size: var(--l-fs);
color: var(--f2-color);
font-weight: 500;
}
.userDetails .btns ul .active {
background: #e6f2ff;
padding: var(--p-0-5) var(--p-1-5);
}
.userDetails .btns ul .active a,
.userDetails .btns ul .active .ri {
color: var(--f5-color);
}
/* ===== =====>> Timeline & About Css Start <<===== ===== */
.timeline_about {
padding: var(--p-2-5);
}
.timeline_about .tabs ul {
position: relative;
display: flex;
align-items: center;
margin-bottom: var(--m-2-5);
}
.timeline_about .tabs ul::before {
content: "";
position: absolute;
bottom: 0;
right: 0;
width: 100%;
height: 1px;
background: var(--bg7-color);
}
.timeline_about .tabs ul li {
position: relative;
display: flex;
align-items: center;
margin-right: var(--m-2-5);
padding-bottom: var(--p-0-8);
cursor: pointer;
}
.timeline_about .tabs ul li span {
font-size: var(--l-fs);
font-weight: 500;
}
.timeline_about .tabs ul li .ri {
margin-right: var(--m-0-5);
}
.timeline_about .tabs ul .active::before {
content: "";
position: absolute;
bottom: 0;
width: 100%;
height: 2px;
background: var(--bg5-color);
}
.timeline_about .contact_info .heading,
.timeline_about .basic_info .heading {
font-size: var(--xs-fs);
color: var(--f4-color);
text-transform: uppercase;
margin-bottom: var(--m-1-5);
}
.timeline_about .contact_info ul,
.timeline_about .basic_info ul {
margin-bottom: var(--m-1-5);
}
.timeline_about .contact_info ul li,
.timeline_about .basic_info ul li {
display: flex;
margin: var(--m-0-5) 0;
}
.timeline_about .contact_info ul li h1,
.timeline_about .basic_info ul li h1 {
font-weight: 500;
font-size: var(--m-fs);
min-width: 12rem;
}
.timeline_about .contact_info ul li span,
.timeline_about .basic_info ul li span {
font-size: var(--m-fs);
}
.timeline_about .contact_info ul .phone span,
.timeline_about .contact_info ul .email span,
.timeline_about .contact_info ul .site span {
color: var(--f5-color);
}