forked from you-dont-need/You-Dont-Need-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
card2.css
100 lines (86 loc) · 1.84 KB
/
card2.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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");
*,
*::after,
*::before {
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
height: 100vh;
justify-content: center;
align-items: center;
background-color: #600b28;
}
.profile-card {
width: 300px;
position: absolute;
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem;
background-color: white;
border-radius: 1rem;
box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.6);
}
.profile-image {
position: relative;
top: -60px;
border-radius: 1rem;
background-image: url(https://media.licdn.com/dms/image/v2/D5603AQGwb2f1ONSERg/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1725645542177?e=1733356800&v=beta&t=XYdQMpjBTvDOp8SQs-FWnMkguXuV0OU4psWkOEtXv94);
width: 11rem;
height: 11rem;
background-position: center;
background-size: cover;
box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.4);
}
.profile-info {
text-align: center;
margin-top: -3rem;
margin-bottom: 1rem;
}
.profile-info > .profile-name {
color: #212121;
}
.profile-info > .profile-desc {
color: #666666;
font-size: 0.9rem;
}
.status {
list-style: none;
display: flex;
justify-content: space-between;
text-align: center;
line-height: 1rem;
margin-bottom: 1.3rem;
}
.status-value {
color: #212121;
font-weight: 700;
}
.status-text {
font-size: 0.8rem;
color: #7c7c7d;
}
.action {
display: flex;
justify-content: space-between;
}
.btn {
border: none;
padding: 0.8em 1.9em;
border-radius: 0.35rem;
cursor: pointer;
font-weight: 600;
}
.btn-pink {
background: #b82151;
color: white;
}
.btn-gray-outline {
border: 1px solid;
background: transparent;
color: #b82151;
}