Newer
Older
/*Modified from (https://www.geeksforgeeks.org/create-a-qr-code-scanner-or-reader-in-html-css-javascript/)*/
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
body {
display: flex;
justify-content: center;
margin: 0;
padding: 0;
height: 100vh;
box-sizing: border-box;
text-align: center;
background: rgb(84 33 128 / 66%);
}
.container {
width: 100%;
max-width: 500px;
margin: 5px;
}
.container h1 {
color: rgb(84 33 128);
}
.section {
background-color: rgb(84 33 128);
padding: 50px 30px;
border: 2px solid #b2b2b2;
border-radius: 0.5em;
box-shadow: 0 20px 25px rgba(0, 0, 0, 30);
}
#qr-code-reader {
padding: 20px !important;
border: 2px solid #b2b2b2 !important;
border-radius: 10px;
}
#qr-code-reader img[alt="Information icon"] {
display: none;
}
#qr-code-reader img[alt="QR Code Scan"] {
width: 100px !important;
height: 100px !important;
}
button {
padding: 15px 25px;
border: 2px solid #b2b2b2;
outline: none;
border-radius: 0.5em;
color: grey;
font-size: 25px;
cursor: default;
margin-top: 20px;
margin-bottom: 15px;
background-color: rgb(84 33 128);
transition: 0.5s background-color;
}
button:hover {
background-color: rgb(84 33 128);
}
#html-qrcode-scan-type-change {
text-decoration: none !important;
color: #1d9bf0;
}
stickers {
width: 100% !important;
border: 2px solid #b2b2b2 !important;
border-radius: 0.5em;
}