-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
131 lines (126 loc) · 2.58 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Montserrat", sans-serif;
}
body{
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: rgb(225, 240, 218);
}
.profile-card{
display: flex;
flex-direction:column;
align-items: center;
max-width: 370px;
width: 100%;
background-color: rgb(212, 231, 197);
border-radius: 24px;
padding : 25px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1) ;
position: relative;
}
.profile-card::before{
content: '';
position: absolute;
top: 0;
left: 0;
height: 36%;
width: 100%;
border-radius: 24px 24px 0 0;
background-color:rgb(153, 188, 133);
}
.image{
position: relative;
height: 150px;
width: 150px;
border-radius: 50%;
background-color: rgb(53, 90, 33);
padding: 4px;
margin-bottom: 10px;
}
.image .profile-img{
height: 100%;
width: 100%;
object-fit: cover;
border-radius: 50%;
border: 2px solid rgb(225, 240, 218);
}
.profile-card .text-data{
display: flex;
flex-direction:column;
align-items: center;
color:#333;
}
.text-data .name{
font-size: 22px;
font-weight: 500;
}
.text-data .job{
font-size: 15px;
font-weight: 400;
}
.profile-card .media-buttons{
display: flex;
align-items: center;
margin-top: 15px;
}
.media-buttons .link{
display: flex;
align-items: center;
justify-content: center;
color:rgb(234, 232, 237);
height: 34px;
width: 34px;
border-radius: 60%;
margin: 0 8px;
background-color: rgb(155, 173, 146);
text-decoration: none;
font-size: 20px;
}
.media-buttons .media-button:hover {
background-color: rgb(4, 10, 1);
}
.profile-card .buttons{
display:flex;
align-items: center;
margin-top: 25px;
}
.buttons .button{
background-color: rgb(53, 90, 33);
color:rgb(234, 232, 237);
font-size: 14px;
font-weight: 400;
border: none;
border-radius: 24px;
margin: 0px 10px;
padding: 8px 24px;
cursor: pointer;
transition: all 0.3s ease;
}
.buttons .button:hover {
background-color: rgb(155, 173, 146);
}
.profile-card .analytics{
display: flex;
align-items: center;
margin-top: 25px;
}
.analytics .data{
display: flex;
margin-top: 15px;
padding: 0 20px;
color:#333;
border-right: 2px solid #e7e7e7;
}
.data i{
font-size: 18px;
margin-right:6px ;
}
.data:last-child{
border-right: none;
}