-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
54 lines (46 loc) · 883 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
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');
/* Global */
html {
font-size: 15px;
}
body {
background-color: hsl(212, 45%, 89%);
margin: 0;
height: 100vh;
font-family: 'Outfit', sans-serif;
display: flex;
align-items: center;
justify-content: center;
}
/* Card */
.card {
background-color: hsl(0, 0%, 100%);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
max-width: 25rem;
padding: 1.5rem;
text-align: center;
}
.card,
.card-image {
border-radius: 1.3rem;
}
/* Card image */
.card-image {
max-width: 100%;
aspect-ratio: 1 / 1;
}
/* Card text */
.text-wrapper {
margin: 1rem;
}
.card-title {
color: hsl(218, 44%, 22%);
font-size: 2rem;
}
.card-text {
font-size: 1.3rem;
color: hsl(220, 15%, 55%)
}