-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (68 loc) · 1.52 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
78
79
80
81
82
83
84
85
86
87
88
89
/* ============== STYLE SHEET FOR QR CODE COMPONENT ============= */
/* COLOR VARIABLES */
:root {
--white: hsl(0, 0%, 100%);
--light-grey: hsl(212, 45%, 89%);
--grayish-blue: hsl(218, 44%, 22%);
--grey: grey;
font-size: 15px;
--font-primary: "Outfit", sans-serif;
--font-wt-body: 400;
--font-wt-bold: 700;
}
/* STYLES */
/* Mobile: 375px; Desktop: 1440px */
body {
background-color: var(--light-grey);
}
.container {
display:flex;
flex-direction: column;
flex-wrap: nowrap;
flex: 0 0 40%;
justify-content: center;
align-items: center;
min-width: 375px;
width: 100%;
max-width: 1440px;
height: 100vh;
}
.card {
background-color: var(--white);
display: flex;
flex-wrap: nowrap;
flex-direction: column;
align-items: center;
min-width: 330px;
max-width: 350px;
padding: 15px;
margin-inline: 4rem;
border-radius: 15px;
}
.card>img {
border-radius: 15px;
width:100%;
}
.card>h1 {
padding: 10px;
margin: 1rem 1rem auto auto;
font-size: 1.5em;
font-family: var(--font-primary);
font-weight: var(--font-wt-bold);
color: var(--grayish-blue);
text-align: center;
}
.card>span {
margin-bottom: 1.5rem;
font-family: var(--font-primary);
font-size: 1.2em;
font-weight:var(--font-wt-body);
text-align: center;
color: var(--grey);
}
footer {
display: flex;
justify-content: center;
margin-inline: auto;
color: var(--grayish-blue);
}