-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
71 lines (63 loc) · 1.19 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
/* root colors */
:root {
--White: hsl(0, 0%, 100%);
--Light-Gray: hsl(212, 45%, 89%);
--Grayish-blue: hsl(220, 15%, 55%);
--Dark-blue: hsl(218, 44%, 22%);
}
/* resets */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
font-size: 10px;
font-family: 'Outfit', sans-serif;
}
body {
width: 100%;
height: 100vh;
background-color: var(--Light-Gray);
padding: 0 2rem;
display: flex;
align-items: center;
justify-content: center;
}
/* wrapper design */
.wrapper {
width: 30rem;
padding: 1.5rem 1.5rem 3rem;
background-color: var(--White);
border-radius: 1.5rem;
box-shadow: 2px 5px 20px var(--Grayish-blue);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2rem;
}
/* qr image design */
.qr {
width: 100%;
display: block;
border-radius: 1rem;
}
/* info container */
.info {
padding: 0 1rem;
text-align: center;
}
/* heading 2 style */
h2 {
margin-bottom: 1rem;
font-size: 2rem;
font-weight: 700;
color: var(--Dark-blue);
}
/* paragraph style */
p {
font-size: 1.5rem;
font-weight: 400;
color: var(--Grayish-blue);
}