-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
54 lines (48 loc) · 907 Bytes
/
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
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;700&display=swap");
:root {
--back: hsl(212, 45%, 89%);
--text: hsl(220, 15%, 55%);
--title: hsl(218, 44%, 22%);
--backcard: hsl(0, 0%, 100%);
}
* {
padding: 0;
margin: 0;
border: none;
box-sizing: border-box;
}
html {
font-size: 62.5%;
font-family: "Outfit", sans-serif;
}
main {
background-color: var(--back);
min-height: 100vh;
display: flex;
align-items: center;
}
.container {
max-width: 300px;
margin: 0 auto;
background-color: var(--backcard);
border-radius: 2rem;
padding: 1.5rem;
}
.card img {
width: 100%;
border-radius: 2rem;
}
.card-text {
text-align: center;
padding: 1.5rem;
}
.title {
font-size: 2rem;
font-weight: 700;
color: var(--title);
margin-bottom: 1.5rem;
}
.paragraph {
font-size: 1.5rem;
color: var(--text);
}