-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
60 lines (50 loc) · 1007 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
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap");
:root {
box-sizing: border-box;
--white-color: hsl(0, 0%, 100%);
--light-gray-color: hsl(212, 45%, 89%);
--grayish-blue-color: hsl(220, 15%, 55%);
--dark-blue-color: hsl(218, 44%, 22%);
}
*,
*::before,
*::after {
box-sizing: inherit;
margin: 0;
padding: 0;
}
body {
font-family: "Outfit", sans-serif;
background-color: var(--light-gray-color);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.media {
width: 300px;
margin: 1em;
padding: 1em;
background-color: var(--white-color);
border-radius: 1em;
}
.media-image > img {
display: block;
max-width: 100%;
border-radius: 1em;
}
.media-body {
padding: 1.4em;
text-align: center;
}
.media-body > * + * {
margin-top: 1em;
}
.media-body > h1 {
font-size: 1.3rem;
color: var(--dark-blue-color);
}
.media-body > p {
font-size: 0.9rem;
color: var(--grayish-blue-color);
}