-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
79 lines (70 loc) · 1.61 KB
/
style.css
File metadata and controls
79 lines (70 loc) · 1.61 KB
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
body {
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #f7f7f7;
}
.card {
width: 17em;
min-height: 22em;
background: linear-gradient(to bottom right,
#E5AAC3, #9A52C7);
transition: 1s ease-in-out;
clip-path: polygon(30px 0%, 100% 0, 100% calc(100% - 30px),
calc(100% - 30px) 100%, 0 100%, 0% 30px);
border-top-right-radius: 20px;
border-bottom-left-radius: 20px;
display: flex;
flex-direction: column;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
justify-content: flex-start;
}
.card .img {
width: 4.8em;
height: 4.8em;
margin: 1em auto 0;
overflow: hidden;
border-radius: 50%;
border: 3px solid #f7f7f7;
}
.card .img img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.card span {
font-weight: bold;
color: white;
text-align: center;
font-size: 1.1em;
margin-top: 0.5em;
}
.card .info {
font-weight: 400;
color: white;
text-align: center;
font-size: 0.8em;
margin: 1em 1em 1.5em;
}
.card button {
padding: 0.8em 1.7em;
margin: 0 auto 1.5em;
border-radius: 25px;
border: none;
font-weight: bold;
background: #9A52C7;
color: white;
transition: .4s ease-in-out;
cursor: pointer;
}
.card button:hover {
background: #7F3D9A;
}
.card:hover {
transform: scale(1.05);
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}