-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
69 lines (54 loc) · 1.19 KB
/
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
69
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');
:root{
--white: hsl(0, 0%, 100%);
--light-gray: hsl(212, 45%, 89%);
--grayish-blue: hsl(220, 15%, 55%);
--dark-blue: hsl(218, 44%, 22%);
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
img{
max-width: 100%;
}
body{
font-family: "Outfit", sans-serif;
font-size: 15px;
background-color: var(--light-gray);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: calc(100vh-1px);
margin: 10rem;
}
.container{
background-color: var(--white);
padding: 1.25rem;
border-radius: 0.625rem;
box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
margin-bottom: 2rem;
}
.container img{
border-radius: 0.625rem;
margin-bottom: 1rem;
}
.container h2{
color: var(--dark-blue);
text-align: center;
margin-bottom: 1rem;
}
.container p{
color: var(--grayish-blue);
text-align: center;
margin-bottom: 1rem;
}
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
@media (min-width: 300px){
.container{
width: 300px;
}
}