-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProfile Card.css
126 lines (123 loc) · 2.3 KB
/
Profile Card.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
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "poppins", "segoe ui";
}
body {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: white;
}
.profile-card {
display: flex;
flex-direction: column;
align-items: center;
max-width: 370px;
width: 100%;
background-color: white;
padding: 25px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
margin-bottom: 10px;
position: relative;
}
.profile-card::before{
content: '';
position: absolute;
top: 0;
left: 0;
height: 36%;
width: 100%;
border-radius: 24px 24px 0 0;
background-color: #4070f4;
}
.image-container {
position: relative;
height: 150px;
width: 150px;
border-radius: 50%;
background-color: #4070f4;
padding: 3px;
}
.img {
height: 100%;
width: 100%;
border-radius: 50%;
object-fit: cover;
border: 3px solid white;
}
.profile-card .text-data{
display: flex;
flex-direction: column;
align-items: center;
margin-top: 15px;
}
.text-data .name{
font-size: 22px;
font-weight: 500;
}
.text-data .job{
font-size: 15px;
font-weight: 400;
}
.profile-card .media-btns{
display: flex;
align-items: center;
justify-content: center;
margin-top: 10px;
}
.media-btns .link{
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 18px;
height: 34px;
width: 34px;
border-radius: 50%;
margin: 0 8px;
background-color: dodgerblue;
text-decoration: none;
}
.profile-card .buttons{
display: flex;
align-items: center;
margin-top: 25px;
}
.buttons .button{
color: white;
font-size: 14px;
font-weight: 400px;
border: none;
border-radius: 24px;
margin: 0 10px;
padding: 8px 24px;
background-color: #4070f4;
cursor: pointer;
transition: all 0.3s ease;
}
.buttons .button:hover{
background-color: #0e4bf1;
}
.profile-card .analytics{
display: flex;
align-items: center;
margin-top: 25px;
}
.analytics .data{
display: flex;
align-items: center;
color: gray;
padding: 0 20px;
border-right: 2px solid #e7e7e7;
}
.data i{
font-size: 18px;
margin-right: 6px;
}
.data:last-child{
border-right: none;
}