-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
125 lines (107 loc) · 1.99 KB
/
Copy pathstyles.css
File metadata and controls
125 lines (107 loc) · 1.99 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
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
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&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');
/* Reset some default styles */
body,
h1,
h2,
h3,
p,
ul,
li {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: inherit;
}
* {
box-sizing: border-box;
}
/* Add some styles */
html,
body {
height: 100%;
}
body {
display: flex;
justify-content: center;
background-color: #f2f5f9;
font-family: 'Lato', sans-serif;
}
.card {
margin-top: 124px;
background-color: #ffff;
border-radius: 12px;
position: relative;
max-width: 420px;
height: fit-content;
overflow: hidden;
}
.card__hero {
background: url('./images/hero-image-business-card.png');
background-size: cover;
width: 100%;
height: 280px;
position: relative;
padding-bottom: 1rem;
}
.card__hero__overlay {
position: absolute;
left: 0;
bottom: -1px;
width: 100%;
}
.card__content {
color: #6c727f;
padding-inline: 2rem;
padding-bottom: 1.5rem;
}
.card__headline {
color: #000;
margin-bottom: 0.75rem;
font-size: 1.5rem;
font-family: 'Poppins', sans-serif;
font-weight: 500;
letter-spacing: -0.09rem;
}
.card__text {
letter-spacing: -0.01rem;
position: relative;
margin-bottom: 1.5rem;
line-height: 1.7;
}
.card__line {
border-top: 1px solid #e5eaf0;
position: absolute;
left: 0;
width: 100%;
}
.card__author {
padding-top: 1.5rem;
display: flex;
font-size: 0.75rem;
}
.card__author__avatar {
height: 42px;
width: 42px;
background-color: #f2f5f9;
padding: 3px;
border-radius: 100%;
margin-right: 0.75rem;
}
.card__author__info {
display: flex;
flex-direction: column;
justify-content: center;
gap: 2px;
font-size: 1rem;
}
.card__author__name {
font-weight: 600;
color: #000;
}
.card__author__role {
font-size: 0.75rem;
}
@media screen and (min-width: 720px) {
}