-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
92 lines (81 loc) · 1.45 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
90
91
92
@import url("https://fonts.googleapis.com/css2?family=Outfit:[email protected]&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Outfit:[email protected]&display=swap");
html {
font-size: 100%;
box-sizing: border-box;
}
*, *::before, *::after {
box-sizing: border-box;
}
body {
height: 100vh;
margin: 0;
padding: 0;
line-height: 1.2;
font-family: "Outfit", sans-serif;
background-color: hsl(212, 45%, 89%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
main {
width: 100%;
min-height: 95%;
display: flex;
justify-content: center;
align-items: center;
}
.content-box {
background-color: hsl(0, 0%, 100%);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border-radius: 20px;
padding-top: 15px;
padding-bottom: 15px;
}
.qr-code {
width: 90%;
}
img {
border-radius: 10px;
width: 100%;
height: auto;
-o-object-fit: cover;
object-fit: cover;
}
.text-content-box {
width: 80%;
}
.normal-text {
color: hsl(220, 15%, 55%);
font-weight: 400;
font-size: 15px;
}
.text-content {
text-align: center;
}
.bolder-text {
color: hsl(218, 44%, 22%);
font-weight: 700;
font-size: 20px;
}
@media (width < 310px) {
body {
display: none;
}
}
@media (width < 400px) {
.content-box {
width: 80%;
min-height: 200px;
}
}
@media (width > 400px) {
.content-box {
width: 330px;
min-height: 300px;
}
}