-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
111 lines (97 loc) · 1.79 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
101
102
103
104
105
106
107
108
109
110
111
@font-face {
font-family: 'Figtree';
src: url('./assets/fonts/Figtree-VariableFont_wght.ttf');
}
body {
background-color: #f4d04e;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: 'Figtree', sans-serif;
padding: 0rem 1.5rem;
}
.card {
background-color: #ffffff;
display: flex;
flex-direction: column;
gap: 1.5rem;
padding: 1.5rem;
border: 1px solid #111111;
border-radius: 20px;
box-shadow: 8px 8px #111111;
cursor: pointer;
}
.card:hover {
h1 {
color: #f4d04e;
}
}
.background-image {
background-image: url('./assets/images/illustration-article.svg');
background-repeat: no-repeat;
height: 200px;
border-radius: 10px;
}
.card-content {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.75rem;
}
.card-tag {
background-color: #f4d04e;
border-radius: 4px;
color: #111111;
font-size: clamp(0.75rem, 3vw, 0.875rem);
line-height: 150%;
font-weight: 800;
padding: 0.25rem 0.75rem;
}
.card-date {
color: #111111;
font-size: clamp(0.75rem, 3vw, 0.875rem);
line-height: 150%;
font-weight: 500;
}
h1 {
color: #111111;
font-size: clamp(1.25rem, 4vw, 1.5rem);
line-height: 150%;
font-weight: 800;
}
.card-text {
color: #6B6B6B;
font-size: clamp(0.875rem, 2vw, 1rem);
line-height: 150%;
font-weight: 500;
max-width: 336px;
}
.card-author {
display: flex;
align-items: center;
gap: 0.75rem;
img {
width: 32px;
height: 32px;
}
span {
color: #111111;
font-size: 0.875rem;
line-height: 150%;
font-weight: 800;
}
}
footer {
color: #111111;
font-size: clamp(0.75rem, 3vw, 0.875rem);
position: fixed;
bottom: 0;
padding: 1.5rem;
justify-content: center;
gap: 0.25rem;
}
a {
color: #6B6B6B;
}