-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
77 lines (65 loc) · 1.13 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
:root {
--white: hsl(0, 0%, 100%);
--light-gray: hsl(212, 45%, 89%);
--grayish-blue: hsl(220, 15%, 55%);
--dark-blue: hsl(218, 44%, 22%);
}
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
img {
display: block;
max-width: 100%;
}
body {
font-size: 0.9375rem;
font-family: "Outfit", sans-serif;
font-weight: 400;
line-height: 1.2;
background-color: var(--light-gray);
min-height: 100vh;
display: grid;
place-content: center;
}
.container {
width: 100%;
max-width: 72rem;
margin-inline: auto;
padding-inline: 1rem;
}
.card {
max-width: 20rem;
background-color: var(--white);
padding: 0.9375rem;
border-radius: 1rem;
box-shadow: 0 1rem 1.5rem 0 rgba(123, 135, 157, 0.24);
}
.card__img {
border-radius: 0.5rem;
}
.card__content {
text-align: center;
padding: 1.5rem 1rem;
}
.card__title {
font-size: 1.375rem;
color: var(--dark-blue);
margin-block-end: 1rem;
}
.card__text {
color: var(--grayish-blue);
}
.footer {
padding-block-start: 2rem;
text-align: center;
}
.footer__text {
font-size: 0.8125rem;
}
.footer__text a {
color: hsl(228, 45%, 44%);
}