-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (87 loc) · 1.83 KB
/
style.css
File metadata and controls
100 lines (87 loc) · 1.83 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
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: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: 0px;
padding: 0px;
box-sizing: border-box;
}
body{
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background: whitesmoke;
font-family: "Poppins", sans-serif;
}
.card-container{
position: relative;
width: 260px;
height: 420px;
background: white;
border-radius: 6px;
border: 1px solid black;
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
}
.img-container{
overflow: hidden;
width: 100%;
height: 100%;
border-radius: 6px 6px 0px 0px;
}
.img-container img{
width: 100%;
height: 65%;
}
.content{
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: flex-end;
padding-bottom: 16px;
}
.card-details{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
}
.card-details h3{
color: #111;
font-weight: 500;
}
.card-details h4{
color: #333;
font-weight: 500;
font-size: 0.9em;
}
.social-media-links-container{
position: relative;
display: flex;
margin-top: 12px;
}
.social-media-links-container li{
list-style: none;
margin: 6px;
}
.social-media-links-container li a{
width: 45px;
height: 45px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
background: transparent;
font-size: 1em;
color: #444;
text-decoration: none;
border: 2px solid black;
transition: all 500ms;
}
.social-media-links-container li a:hover{
background-color: black;
color: #fff;
}