-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
60 lines (57 loc) · 1.02 KB
/
styles.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
*{
box-sizing: border-box;
}
body{
background: #7cddfaa9;
font-family: sans-serif;
font-weight: bold;
max-width: 500px;
height: 100vh;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
}
h1{
display: flex;
font-weight: bold;
color: #000000;
justify-content: center;
font-size: 70px;
}
.qr-text{
padding: 1rem;
display: block;
background: #ffffff;
border: 1px solid #4e5b96;
border-radius: 5px;
width: 100%;
margin: 0.5rem 0 1rem 0;
color: #000000;
outline: none;
}
.qr-text::placeholder{
color: #000000ad;
font-weight: 500;
}
#qr-code{
height: 500px;
width: 500px;
display: flex;
justify-content: center;
}
@media (max-width: 512px){
body{
max-width: 100%;
padding: 10px;
}
#qr-code{
width: 95vw;
height: 95vw;
}
#qr-code img, #qr-code canvas{
max-width: 95vw !important;
max-height: 95vw !important;
}
}