-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
67 lines (55 loc) · 1.27 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
--main-white: hsl(0, 0%, 100%);
--main-light-gray: hsl(212, 45%, 89%);
--main-grayish-blue: hsl(220, 15%, 55%);
--main-dark-blue: hsl(218, 44%, 22%);
}
body{
min-height: 100vh;
display: grid;
place-items: center;
font-family: 'Outfit', sans-serif;
background-color: var(--main-light-gray);
}
.container {
display: flex;
flex-direction: column;
align-items: center;
padding: 16px;
width: 320px;
height: 497px;
background-color: var(--main-white);
border-radius: 20px;
text-align: center;
}
img {
height: 288px;
width: 288px;
border-radius: 10px;
}
h1 {
font-weight: 700;
font-size: 22px;
color: var(--main-dark-blue);
padding-top: 30px;
}
p {
font-weight: 400;
font-size: 15px;
color: var(--main-grayish-blue);
padding: 15px;
}
footer {
position: fixed;
bottom: 0;
}
.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }
@media only screen and (min-width: 400px) {
.container {
box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}
}