-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
65 lines (52 loc) · 1.08 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
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');
/* Common styles */
*{
margin: 0;
box-sizing: border-box;
text-decoration: none;
outline: none;
background: hsl(212, 45%, 89%);
font-family: 'Outfit';
}
/* End of common styles */
body{
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.container{
width: 330px;
height: 520px;
background-color: #fff;
border-radius: 1rem;
padding: 1.8rem;
box-shadow: 5px 25px 30px rgba(0, 0, 0, 0.1);
position: relative;
}
.text-heading{
background: #fff;
font-size: 24px;
color: hsl(218, 44%, 22%);
position: absolute;
top: 21rem;
}
.text-body{
background: #fff;
font-size: 18.2px;
color: hsl(220, 15%, 55%);
position: absolute;
bottom: 2rem;
text-align: center;
right: .5rem;
}
.qrcode{
width: 18.5rem;
height: 18.5rem;
position: absolute;
border-radius: .5rem;
right: 1.1rem;
top: 1.2rem;
}