-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
65 lines (59 loc) · 1.38 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
:root {
--white: hsl(0, 0%, 100%);
--slate-300: hsl(212, 45%, 89%);
--slate-500: hsl(216, 15%, 48%);
--slate-900: hsl(218, 44%, 22%);
--font-size: 12px;
--font-weight: 400;
--heavy-font-weight: 700;
--gutter-size:16px;
--text-gutter-size: 16px;
--font-family: 'Outfit', sans-serif;
--container-width: 250px;
--card-height: calc(200 * 100vw / 1440);
}
body{
font-size: var(--font-size);
font-weight: 400;
font-family: var(--font-family);
background-color: var(--slate-300);
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
}
main{
width: var(--container-width);
background-color: var(--white);
border-radius: 20px;
padding: var(--gutter-size);
display: flex;
flex-direction: column;
align-items: center;
min-height: fit-content;
height: var(--card-height);
letter-spacing: 0.2px;
min-height: fit-content;
}
p{
font-weight: var(--heavy-font-weight);
font-size: 22px;
letter-spacing: 0px;
}
.qr-container{
height: var(--container-width);
width: var(--container-width);
}
img{
width: 100%;
height: auto;
object-fit: cover;
border-radius: 10px;
}
.text-container{
padding-left: var(--text-gutter-size);
padding-right: var(--text-gutter-size);
}