-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqr.css
97 lines (84 loc) · 1.61 KB
/
qr.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
93
94
95
96
97
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.contain {
background: rgba(255, 255, 255, 0.95);
padding: 2rem;
border-radius: 16px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
width: 90%;
max-width: 400px;
text-align: center;
display: flex;
flex-direction: column;
gap: 15px;
}
#txt {
width: 100%;
padding: 12px 15px;
border: 2px solid #e0e0e0;
border-radius: 8px;
font-size: 16px;
transition: border-color 0.3s ease;
outline: none;
}
#txt:focus {
border-color: #667eea;
}
#txt::placeholder {
color: #999;
}
#image {
max-width: 150px;
margin: 0 auto;
display: none;
}
#image[src] {
display: block;
}
button {
background: #667eea;
color: white;
border: none;
padding: 12px 30px;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background: #764ba2;
}
#downloadLink {
display: none;
text-decoration: none;
color: #667eea;
font-weight: 500;
padding: 10px 20px;
border: 2px solid #667eea;
border-radius: 8px;
transition: all 0.3s ease;
}
#downloadLink:hover {
background: #667eea;
color: white;
}
@media (max-width: 480px) {
.contain {
width: 95%;
padding: 1.5rem;
}
button, #downloadLink {
width: 100%;
}
}