-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (70 loc) · 1.38 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
@font-face {
font-family: "Figtree";
src: url("assets/fonts/Figtree-VariableFont_wght.ttf");
}
body {
font-family: "Figtree", sans-serif;
background-color: hsl(47, 88%, 63%);
}
main {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background-color: white;
display: flex;
flex-direction: column;
justify-content: center;
width: 85%;
max-width: 400px;
border: 1px solid hsl(0, 0%, 7%);
padding: 1.3rem;
border-radius: 10px;
box-shadow: 5px 5px black;
}
.container * {
margin-bottom: 15px;
}
img {
border-radius: 10px;
}
.tag {
padding: 5px 15px;
margin-bottom: 8px;
background-color: hsl(47, 88%, 63%);
border-radius: 5px;
width: fit-content;
font-size: 0.8rem;
font-weight: 800;
}
.date {
font-size: 0.8rem;
}
.heading {
font-size: 1.1rem;
transition: all 200ms;
}
.heading:hover, .heading:focus {
color: hsl(47, 88%, 63%);
cursor: pointer;
}
.blurb {
color: hsl(0, 0%, 42%);
font-size: clamp(0.75rem, 3.5vw, 0.85rem);
}
.author {
font-size: 0.85rem;
margin-bottom: 0px;
display: flex;
align-items: center;
}
.author::before {
background-image: url('assets/images/image-avatar.webp');
background-size: 30px 30px;
width: 30px;
height: 30px;
content:"";
margin-right: 10px;
}