-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
157 lines (143 loc) · 3.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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/* Reset Styles */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
/* Body Styling */
body {
background-color: #111; /* Subtle dark background */
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
color: #fff;
}
/* Container Styling */
.container {
width: 400px;
padding: 30px;
background: rgba(30, 60, 90, 0.8); /* Sleek semi-transparent background */
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
border-radius: 12px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.container:hover {
transform: translateY(-5px) scale(1.02);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
/* Header Styling */
.qr-header {
font-size: 28px;
font-weight: bold;
color: #00e0ff; /* Bright color accent */
text-align: center;
}
/* Input Styling */
input {
width: 90%;
padding: 12px;
border: 2px solid transparent;
border-radius: 8px;
font-size: 16px;
color: #111;
background-color: #f8f3f3; /* Clean input background */
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus {
border-color: #00ff11; /* Green focus border */
box-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
}
#btn_div{
display: flex;
justify-content: center;
align-items: center;
width: 300px;
}
#btn_div.mov{
justify-content: space-between;
}
/* Button Styling */
#btn {
width: 50%;
padding: 12px;
border: none;
border-radius: 8px;
background-color: #ffb74d; /* Accent button color */
color: #fff;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
#btn:hover {
background-color: #673ab7; /* Stylish hover effect */
box-shadow: 0 6px 15px rgba(103, 58, 183, 0.5);
transform: translateY(-3px);
}
#btn:active {
transform: translateY(1px);
box-shadow: none;
}
#btnd{
display: none;
width: 50%;
padding: 12px;
border: none;
border-radius: 8px;
background-color: green; /* Accent button color */
color: #fff;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
#btnd:hover {
background-color: #b73a4d; /* Stylish hover effect */
box-shadow: 0 6px 15px rgba(103, 58, 183, 0.5);
transform: translateY(-3px);
}
#btnd:active {
transform: translateY(1px);
box-shadow: none;
}
#btn.mov{
width: 45%;
}
#btnd.mov{
display: block;
width: 45%;
}
/* Image Styling */
img {
display: none;
width: 200px;
height: auto;
margin-top: 15px;
transition: opacity 0.3s ease;
}
img.dis {
display: block;
opacity: 1;
}
/* Responsive Design */
@media (max-width: 480px) {
.container {
width: 95%;
padding: 20px;
}
.qr-header {
font-size: 24px;
}
input {
width: 100%;
}
button {
width: 60%;
}
}