-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
107 lines (94 loc) · 1.86 KB
/
style.css
File metadata and controls
107 lines (94 loc) · 1.86 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
*{
}
@font-face {
font-family: "figtree";
src: url(./assets/fonts/Figtree-VariableFont_wght.ttf);
font-weight: 100-900;
font-style: normal;
}
:root{
/* color */
--bg-yellow :hsl(47, 88%, 63%);
--White: hsl(0, 0%, 100%);
--Gray-500: hsl(0, 0%, 42%);
--Gray-950: hsl(0, 0%, 7%);
/* Typography */
--ff-figtree:"figtree";
--fw-800:800;
--fw-500:500;
}
html,
body {
height: 100%;
}
body{
height: 100%;
width: 100%;
background-color: var(--bg-yellow);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: var(--ff-figtree);
color: var(--Gray-950);
}
.card{
width: 24rem;
border: 1px solid black;
background-color: var(--White);
border-radius: 20px;
display: flex;
flex-direction: column;
padding: 1.5rem;
box-shadow: 8px 8px 0px 1px var(--Gray-950);
}
.feature-image{
background-image: url(./assets/images/illustration-article.svg);
height: 12rem;
border-radius: 10px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.card-content {
margin-top: 2rem;
display: flex;
flex-direction: column;
align-items: flex-start;
flex-wrap: wrap;
}
.category {
background-color: var(--bg-yellow);
font-weight: var(--fw-800);
display: inline;
border-radius: 0.25rem;
padding: 0.5rem 1rem;
}
.author {
display: flex;
flex-direction: row;
align-items: center;
gap: 20px;
}
.author-name{
font-weight: var(--fw-800);
}
.blog-title a{
text-decoration: none;
color: inherit;
}
.blog-title:hover{
color: var(--bg-yellow);
}
.blog-meta-p-date, .blog-title, .descrption, .author{
margin-top: 1rem;
}
.descrption{
color: var(--Gray-500);
font-size: 16px;
font-weight: var(--fw-500);
}
.author-image {
width: 2rem;
height: 2rem;
}