-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
68 lines (59 loc) · 1015 Bytes
/
styles.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
:root {
--white: hsl(0, 0%, 100%);
--light-gray: hsl(212, 45%, 89%);
--grayish-blue: hsl(220, 15%, 55%);
--dark-blue: hsl(218, 44%, 22%);
font-family: "Outfit", sans-serif;
background-color: var(--light-gray);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
}
.page {
min-height: 100vh;
min-width: 100vw;
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
}
main {
flex: 1;
height: 100%;
display: grid;
place-items: center;
}
article {
width: 100%;
max-width: 320px;
padding: 16px;
text-align: center;
background-color: var(--white);
border-radius: 20px;
box-shadow: 0 4px 8px -4px var(--grayish-blue);
}
article img {
width: 100%;
border-radius: 12px;
}
article h1 {
color: var(--dark-blue);
padding: 0 12px;
font-size: 22px;
}
article p {
color: var(--grayish-blue);
padding: 0 16px;
font-size: 15px;
}
.attribution {
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}