-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
100 lines (84 loc) · 1.35 KB
/
style.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
@font-face {
font-family: Figtree, sans-serif;
src: url(./assets/fonts/Figtree-VariableFont_wght.ttf) format(ttf);
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: Figtree, sans-serif;
background: hsl(47, 88%, 63%);
height: 100vh;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 48px;
}
html {
font-size: 16px;
}
div p {
font-size: 1rem;
}
.card {
background: white;
padding: 24px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
width: 280px;
border-radius: 12px;
gap: 8px;
margin: 16px;
cursor: pointer;
}
.card:hover {
box-shadow: 8px 8px 0 0 hsl(0, 0%, 7%);
}
.image img {
width: 100%;
border-radius: 12px;
}
.pill {
padding: 6px 12px;
background: hsl(47, 88%, 63%);
border-radius: 4px;
}
.pill p {
font-weight: 800;
font-size: 0.75rem;
}
.date p {
font-weight: 400;
font-size: 0.875rem;
}
.title p {
font-weight: 800;
}
.paragraph {
margin-bottom: 12px;
}
.paragraph p {
color: hsl(0, 0%, 42%);
}
.avatar-n-name {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 12px;
}
.avatar img {
width: 38px;
height: 38px;
border: 2px solid hsl(47, 88%, 63%);
border-radius: 50%;
}
.name p {
font-size: 0.75rem;
font-weight: 800;
}