-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
110 lines (93 loc) · 1.64 KB
/
index.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Merriweather, sans-serif;
background-color: #efefef;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.card {
width: 300px;
background-color: #ffffff;
display: flex;
flex-direction: column;
border-radius: 10px;
text-align: center;
overflow: hidden;
box-shadow: 0 0 20px #cccccc;
}
.image-container {
width: 100%;
height: 250px;
border-top-left-radius: inherit;
border-top-right-radius: inherit;
overflow: hidden;
}
.image-container img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
}
.content {
padding: 24px 16px;
}
.profile-name {
font-size: 26px;
font-weight: 900;
margin-bottom: 4px;
}
.job-title {
font-family: Lato, serif;
font-size: 12px;
font-weight: 900;
letter-spacing: 1px;
color: #ceac23;
text-transform: uppercase;
margin-bottom: 20px;
}
.description {
font-family: Roboto, sans-serif;
font-size: 14px;
letter-spacing: 1px;
color: #9e9e9e;
}
.social-links {
width: 100%;
display: flex;
height: 0;
border-top: 1px solid #cfcfcf;
transition: height 0.3s ease;
}
.card:hover .social-links {
height: 65px;
}
.social-links .instagram {
--color: #ee5487;
}
.social-links .linkedin {
--color: #0077b5;
}
.social-links .twitter {
--color: #1da1f2;
}
.social-links > a {
font-size: 20px;
padding-block: 20px;
color: var(--color);
flex: 1;
}
.social-links > a:not(:last-child) {
border-right: 1px solid #cfcfcf;
}
.social-links > a:hover {
background-color: var(--color);
}
.social-links > a:hover > i {
color: #ffffff;
}